Etterna 0.75.1
Loading...
Searching...
No Matches
RageCompiledGeometryHWOGL Class Reference
Inheritance diagram for RageCompiledGeometryHWOGL:
Collaboration diagram for RageCompiledGeometryHWOGL:

Public Member Functions

void Invalidate () override
void Allocate (const std::vector< msMesh > &vMeshes) override
void Change (const std::vector< msMesh > &vMeshes) override
void Draw (int iMeshIndex) const override
Public Member Functions inherited from RageCompiledGeometrySWOGL
void Allocate (const std::vector< msMesh > &vMeshes) override
void Change (const std::vector< msMesh > &vMeshes) override
void Draw (int iMeshIndex) const override
Public Member Functions inherited from RageCompiledGeometry
void Set (const std::vector< msMesh > &vMeshes, bool bNeedsNormals)

Protected Member Functions

void AllocateBuffers ()
void UploadData ()
Protected Member Functions inherited from RageCompiledGeometry
auto GetTotalVertices () const -> size_t
auto GetTotalTriangles () const -> size_t

Protected Attributes

GLuint m_nPositions
GLuint m_nTextureCoords
GLuint m_nNormals
GLuint m_nTriangles
GLuint m_nTextureMatrixScale
Protected Attributes inherited from RageCompiledGeometrySWOGL
std::vector< RageVector3 > m_vPosition
std::vector< RageVector2 > m_vTexture
std::vector< RageVector3 > m_vNormal
std::vector< msTriangle > m_vTriangles
std::vector< RageVector2 > m_vTexMatrixScale
Protected Attributes inherited from RageCompiledGeometry
std::vector< MeshInfo > m_vMeshInfo
bool m_bNeedsNormals {}
bool m_bAnyNeedsTextureMatrixScale {}

Member Function Documentation

◆ Allocate()

void RageCompiledGeometryHWOGL::Allocate ( const std::vector< msMesh > & vMeshes)
overridevirtual

Implements RageCompiledGeometry.

◆ Change()

void RageCompiledGeometryHWOGL::Change ( const std::vector< msMesh > & vMeshes)
overridevirtual

Implements RageCompiledGeometry.

◆ Draw()

void RageCompiledGeometryHWOGL::Draw ( int iMeshIndex) const
overridevirtual

Implements RageCompiledGeometry.

◆ Invalidate()

void RageCompiledGeometryHWOGL::Invalidate ( )
overridevirtual

Implements InvalidateObject.


The documentation for this class was generated from the following file:
  • /home/runner/work/etterna/etterna/src/RageUtil/Graphics/RageDisplay_OGL.cpp