Inheritance Graph
graph BT
MeshIndexData
click MeshIndexData "classRendering_1_1MeshIndexData"
Description
IndexData-Class . Part of the Mesh implementation containing all index specific data of a mesh.
Public Functions
Documentation
function
Rendering::MeshIndexData::MeshIndexData
Defined in Rendering/Mesh/MeshIndexData.h:27
function
Rendering::MeshIndexData::MeshIndexData
Copy all data fromother
.
Defined in Rendering/Mesh/MeshIndexData.h:29
function
Rendering::MeshIndexData::MeshIndexData
Defined in Rendering/Mesh/MeshIndexData.h:30
function
Rendering::MeshIndexData::~MeshIndexData
Defined in Rendering/Mesh/MeshIndexData.h:32
function
Rendering::MeshIndexData::operator=
Defined in Rendering/Mesh/MeshIndexData.h:34
function
Rendering::MeshIndexData::operator=
Defined in Rendering/Mesh/MeshIndexData.h:35
function
Rendering::MeshIndexData::swap
Defined in Rendering/Mesh/MeshIndexData.h:37
function
Rendering::MeshIndexData::getIndexCount
Defined in Rendering/Mesh/MeshIndexData.h:38
function
Rendering::MeshIndexData::empty
Defined in Rendering/Mesh/MeshIndexData.h:39
function
Rendering::MeshIndexData::allocate
Defined in Rendering/Mesh/MeshIndexData.h:42
function
Rendering::MeshIndexData::releaseLocalData
Defined in Rendering/Mesh/MeshIndexData.h:43
function
Rendering::MeshIndexData::data
|
|
|
|
const uint32_t * data( |
) const |
Defined in Rendering/Mesh/MeshIndexData.h:44
function
Rendering::MeshIndexData::data
Defined in Rendering/Mesh/MeshIndexData.h:45
function
Rendering::MeshIndexData::dataSize
Defined in Rendering/Mesh/MeshIndexData.h:46
function
Rendering::MeshIndexData::markAsChanged
Defined in Rendering/Mesh/MeshIndexData.h:47
function
Rendering::MeshIndexData::hasChanged
Defined in Rendering/Mesh/MeshIndexData.h:48
function
Rendering::MeshIndexData::hasLocalData
Defined in Rendering/Mesh/MeshIndexData.h:49
function
Rendering::MeshIndexData::operator[]
|
|
|
|
|
|
const uint32_t & operator[]( |
uint32_t |
index ) const |
Defined in Rendering/Mesh/MeshIndexData.h:51
function
Rendering::MeshIndexData::operator[]
Defined in Rendering/Mesh/MeshIndexData.h:52
function
Rendering::MeshIndexData::getMinIndex
Defined in Rendering/Mesh/MeshIndexData.h:55
function
Rendering::MeshIndexData::getMaxIndex
Defined in Rendering/Mesh/MeshIndexData.h:56
function
Rendering::MeshIndexData::updateIndexRange
Recalculates the index range of the mesh.
Note: Should be called whenever the vertices are changed.
Defined in Rendering/Mesh/MeshIndexData.h:59
function
Rendering::MeshIndexData::isUploaded
Defined in Rendering/Mesh/MeshIndexData.h:62
function
Rendering::MeshIndexData::upload
Call* upload() *with default usage hint.
Defined in Rendering/Mesh/MeshIndexData.h:65
function
Rendering::MeshIndexData::upload
|
|
|
|
|
|
bool upload( |
uint32_t |
usageHint ) |
(internal) Create or update a VBO if hasChanged is set to true. hasChanged is set to false.
Defined in Rendering/Mesh/MeshIndexData.h:68
function
Rendering::MeshIndexData::download
(internal)
Defined in Rendering/Mesh/MeshIndexData.h:70
function
Rendering::MeshIndexData::downloadTo
|
|
|
|
|
|
void downloadTo( |
std::vector< uint32_t > & |
destination ) const |
Defined in Rendering/Mesh/MeshIndexData.h:71
function
Rendering::MeshIndexData::removeGlBuffer
(internal)
Defined in Rendering/Mesh/MeshIndexData.h:73
function
Rendering::MeshIndexData::drawElements
|
|
|
|
|
|
void drawElements( |
bool |
useVBO, |
|
uint32_t |
drawMode, |
|
uint32_t |
startIndex, |
|
uint32_t |
numberOfIndices |
) |
|
|
(internal) Draw the vertices referenced by the indices using the VBO or a VertexArray. Used by MeshDataStrategy::doDisplay(..)
Defined in Rendering/Mesh/MeshIndexData.h:76
function
Rendering::MeshIndexData::_swapBufferObject
Swap the internal BufferObject .
Note: The local data is not changed!
Note: the size of the new buffer must be equal to that of the old one.
Note: Use only if you know what you are doing!
Defined in Rendering/Mesh/MeshIndexData.h:82