Public Types | Public Member Functions | Public Attributes | List of all members
GLRenderPoints Struct Reference

Public Types

enum  { e_maxVertices = 512 }
 

Public Member Functions

void Create ()
 
void Destroy ()
 
void Flush ()
 
void Vertex (const b2Vec2 &v, const b2Color &c, float size)
 

Public Attributes

GLint m_colorAttribute
 
b2Color m_colors [e_maxVertices]
 
int32 m_count
 
GLuint m_programId
 
GLint m_projectionUniform
 
GLint m_sizeAttribute
 
float m_sizes [e_maxVertices]
 
GLuint m_vaoId
 
GLuint m_vboIds [3]
 
GLint m_vertexAttribute
 
b2Vec2 m_vertices [e_maxVertices]
 

Detailed Description

Definition at line 192 of file draw.cpp.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
e_maxVertices 

Definition at line 319 of file draw.cpp.

Member Function Documentation

◆ Create()

void GLRenderPoints::Create ( )
inline

Definition at line 194 of file draw.cpp.

◆ Destroy()

void GLRenderPoints::Destroy ( )
inline

Definition at line 256 of file draw.cpp.

◆ Flush()

void GLRenderPoints::Flush ( )
inline

Definition at line 283 of file draw.cpp.

◆ Vertex()

void GLRenderPoints::Vertex ( const b2Vec2 v,
const b2Color c,
float  size 
)
inline

Definition at line 272 of file draw.cpp.

Member Data Documentation

◆ m_colorAttribute

GLint GLRenderPoints::m_colorAttribute

Definition at line 331 of file draw.cpp.

◆ m_colors

b2Color GLRenderPoints::m_colors[e_maxVertices]

Definition at line 321 of file draw.cpp.

◆ m_count

int32 GLRenderPoints::m_count

Definition at line 324 of file draw.cpp.

◆ m_programId

GLuint GLRenderPoints::m_programId

Definition at line 328 of file draw.cpp.

◆ m_projectionUniform

GLint GLRenderPoints::m_projectionUniform

Definition at line 329 of file draw.cpp.

◆ m_sizeAttribute

GLint GLRenderPoints::m_sizeAttribute

Definition at line 332 of file draw.cpp.

◆ m_sizes

float GLRenderPoints::m_sizes[e_maxVertices]

Definition at line 322 of file draw.cpp.

◆ m_vaoId

GLuint GLRenderPoints::m_vaoId

Definition at line 326 of file draw.cpp.

◆ m_vboIds

GLuint GLRenderPoints::m_vboIds[3]

Definition at line 327 of file draw.cpp.

◆ m_vertexAttribute

GLint GLRenderPoints::m_vertexAttribute

Definition at line 330 of file draw.cpp.

◆ m_vertices

b2Vec2 GLRenderPoints::m_vertices[e_maxVertices]

Definition at line 320 of file draw.cpp.


The documentation for this struct was generated from the following file:


mvsim
Author(s):
autogenerated on Tue Jul 4 2023 03:08:22