SuperTuxKart
Loading...
Searching...
No Matches
Static Public Member Functions | Static Private Member Functions | Static Private Attributes | List of all members
SharedGPUObjects Class Reference

Static Public Member Functions

static void init ()
 
static void reset ()
 A simple reset function.
 
static GLuint getSkyTriVBO ()
 
static GLuint getFrustrumVBO ()
 
static GLuint getFrustrumIndices ()
 
static GLuint getViewProjectionMatricesUBO ()
 
static GLuint getLightingDataUBO ()
 
static GLuint getFullScreenQuadVAO ()
 
static GLuint getUI_VAO ()
 
static GLuint getQuadBuffer ()
 
static GLuint getQuadVBO ()
 

Static Private Member Functions

static void initQuadVBO ()
 Initialises m_full_screen_quad_vbo.
 
static void initQuadBuffer ()
 
static void initSkyTriVBO ()
 
static void initFrustrumVBO ()
 
static void initShadowVPMUBO ()
 
static void initLightingDataUBO ()
 

Static Private Attributes

static bool m_has_been_initialised = false
 
static GLuint m_sky_tri_vbo
 
static GLuint m_frustrum_vbo
 
static GLuint m_frustrum_indices
 
static GLuint m_View_projection_matrices_ubo
 
static GLuint m_lighting_data_ubo
 
static GLuint m_full_screen_quad_vao
 
static GLuint m_ui_vao
 
static GLuint m_quad_buffer
 
static GLuint m_quad_vbo
 

Member Function Documentation

◆ reset()

void SharedGPUObjects::reset ( )
static

A simple reset function.

Atm it actually only resets the m_has_been_initialised flag (all opengl data gets reset anyway when this function is called).


The documentation for this class was generated from the following files: