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

Public Types

enum  { e_maxVertices = 3 * 512 }
 

Public Member Functions

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

Public Attributes

GLint m_colorAttribute
 
b2Color m_colors [e_maxVertices]
 
int32 m_count
 
GLuint m_programId
 
GLint m_projectionUniform
 
GLuint m_vaoId
 
GLuint m_vboIds [2]
 
GLint m_vertexAttribute
 
b2Vec2 m_vertices [e_maxVertices]
 

Detailed Description

Definition at line 464 of file draw.cpp.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
e_maxVertices 

Definition at line 580 of file draw.cpp.

Member Function Documentation

◆ Create()

void GLRenderTriangles::Create ( )
inline

Definition at line 466 of file draw.cpp.

◆ Destroy()

void GLRenderTriangles::Destroy ( )
inline

Definition at line 520 of file draw.cpp.

◆ Flush()

void GLRenderTriangles::Flush ( )
inline

Definition at line 546 of file draw.cpp.

◆ Vertex()

void GLRenderTriangles::Vertex ( const b2Vec2 v,
const b2Color c 
)
inline

Definition at line 536 of file draw.cpp.

Member Data Documentation

◆ m_colorAttribute

GLint GLRenderTriangles::m_colorAttribute

Definition at line 591 of file draw.cpp.

◆ m_colors

b2Color GLRenderTriangles::m_colors[e_maxVertices]

Definition at line 582 of file draw.cpp.

◆ m_count

int32 GLRenderTriangles::m_count

Definition at line 584 of file draw.cpp.

◆ m_programId

GLuint GLRenderTriangles::m_programId

Definition at line 588 of file draw.cpp.

◆ m_projectionUniform

GLint GLRenderTriangles::m_projectionUniform

Definition at line 589 of file draw.cpp.

◆ m_vaoId

GLuint GLRenderTriangles::m_vaoId

Definition at line 586 of file draw.cpp.

◆ m_vboIds

GLuint GLRenderTriangles::m_vboIds[2]

Definition at line 587 of file draw.cpp.

◆ m_vertexAttribute

GLint GLRenderTriangles::m_vertexAttribute

Definition at line 590 of file draw.cpp.

◆ m_vertices

b2Vec2 GLRenderTriangles::m_vertices[e_maxVertices]

Definition at line 581 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