Single attribute buffer.
More...
#include <Mesh.h>
template<typename T >
const T* molecular::util::Mesh::Attribute::GetData |
( |
| ) |
const |
|
inline |
template<typename T >
T* molecular::util::Mesh::Attribute::GetData |
( |
| ) |
|
|
inline |
unsigned int molecular::util::Mesh::Attribute::GetNumComponents |
( |
| ) |
const |
|
inline |
const void* molecular::util::Mesh::Attribute::GetRawData |
( |
| ) |
const |
|
inline |
Get pointer to raw data.
Use GetData() to get a typed representation.
size_t molecular::util::Mesh::Attribute::GetRawSize |
( |
| ) |
const |
|
inline |
void molecular::util::Mesh::Attribute::SetData |
( |
VertexAttributeInfo::Type |
type, |
|
|
unsigned int |
components, |
|
|
const void * |
data, |
|
|
size_t |
size |
|
) |
| |
|
inline |
Set attribute data from raw data.
The documentation for this class was generated from the following file:
- /home/travis/build/cmdrf/molecular/molecular-util/molecular/util/Mesh.h