Radium Engine  1.5.20
Loading...
Searching...
No Matches
Ra::Engine::Data::VaoIndices Class Reference

Concept class to ensure consistent naming of VaoIndices accross derived classes. More...

#include <Engine/Data/Mesh.hpp>

+ Inheritance diagram for Ra::Engine::Data::VaoIndices:
+ Collaboration diagram for Ra::Engine::Data::VaoIndices:

Classes

class  IndicesObserver
 

Public Member Functions

void setIndicesDirty ()
 Tag the indices as dirty, asking for a update to gpu.
 

Protected Attributes

std::unique_ptr< globjects::Buffer > m_indices { nullptr }
 
bool m_indicesDirty { true }
 
size_t m_numElements { 0 }
 

Detailed Description

Concept class to ensure consistent naming of VaoIndices accross derived classes.

Definition at line 173 of file Mesh.hpp.

Member Function Documentation

◆ setIndicesDirty()

void Ra::Engine::Data::VaoIndices::setIndicesDirty ( )
inline

Tag the indices as dirty, asking for a update to gpu.

Definition at line 551 of file Mesh.hpp.

Member Data Documentation

◆ m_indices

std::unique_ptr<globjects::Buffer> Ra::Engine::Data::VaoIndices::m_indices { nullptr }
protected

Definition at line 193 of file Mesh.hpp.

◆ m_indicesDirty

bool Ra::Engine::Data::VaoIndices::m_indicesDirty { true }
protected

Definition at line 194 of file Mesh.hpp.

◆ m_numElements

size_t Ra::Engine::Data::VaoIndices::m_numElements { 0 }
protected

number of elements to draw (i.e number of indices to use) automatically set by updateGL(), not meaningfull if m_indicesDirty.

Definition at line 197 of file Mesh.hpp.


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