molecular
|
Information about index data in a buffer. More...
#include <BufferInfo.h>
Public Types | |
enum | Mode : uint32_t { Mode::kPoints = 1, Mode::kTriangles, Mode::kLines, Mode::kTriangleFan, Mode::kTriangleStrip, Mode::kLineStrip, Mode::kLineStripAdjacency, Mode::kTrianglesAdjacency, Mode::kTriangleStripAdjacency } |
enum | Type : uint32_t { Type::kUInt8 = 1, Type::kUInt16, Type::kUInt32 } |
Public Member Functions | |
IndexBufferInfo () | |
Public Attributes | |
Mode | mode |
Type | type |
uint32_t | buffer |
Index of the buffer containing the data. More... | |
uint32_t | offset |
Offset to the first element in the buffer, measured in bytes. More... | |
uint32_t | count |
Number of indices. More... | |
uint32_t | vertexDataSet |
char | material [32] |
Information about index data in a buffer.
This structure is directly serialized to and deserialized from mesh files.
|
strong |
|
strong |
|
inline |
uint32_t molecular::util::IndexBufferInfo::buffer |
Index of the buffer containing the data.
uint32_t molecular::util::IndexBufferInfo::count |
Number of indices.
char molecular::util::IndexBufferInfo::material[32] |
Mode molecular::util::IndexBufferInfo::mode |
uint32_t molecular::util::IndexBufferInfo::offset |
Offset to the first element in the buffer, measured in bytes.
Type molecular::util::IndexBufferInfo::type |
uint32_t molecular::util::IndexBufferInfo::vertexDataSet |