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

Public Types

enum  { e_maxVertices = 2 * 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 336 of file draw.cpp.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
e_maxVertices 

Definition at line 449 of file draw.cpp.

Member Function Documentation

◆ Create()

void GLRenderLines::Create ( )
inline

Definition at line 338 of file draw.cpp.

◆ Destroy()

void GLRenderLines::Destroy ( )
inline

Definition at line 392 of file draw.cpp.

◆ Flush()

void GLRenderLines::Flush ( )
inline

Definition at line 418 of file draw.cpp.

◆ Vertex()

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

Definition at line 408 of file draw.cpp.

Member Data Documentation

◆ m_colorAttribute

GLint GLRenderLines::m_colorAttribute

Definition at line 460 of file draw.cpp.

◆ m_colors

b2Color GLRenderLines::m_colors[e_maxVertices]

Definition at line 451 of file draw.cpp.

◆ m_count

int32 GLRenderLines::m_count

Definition at line 453 of file draw.cpp.

◆ m_programId

GLuint GLRenderLines::m_programId

Definition at line 457 of file draw.cpp.

◆ m_projectionUniform

GLint GLRenderLines::m_projectionUniform

Definition at line 458 of file draw.cpp.

◆ m_vaoId

GLuint GLRenderLines::m_vaoId

Definition at line 455 of file draw.cpp.

◆ m_vboIds

GLuint GLRenderLines::m_vboIds[2]

Definition at line 456 of file draw.cpp.

◆ m_vertexAttribute

GLint GLRenderLines::m_vertexAttribute

Definition at line 459 of file draw.cpp.

◆ m_vertices

b2Vec2 GLRenderLines::m_vertices[e_maxVertices]

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