Points into a PXM2 blob without copying it, so the blob has to outlive it. For an asset linked in by the build rule that costs nothing.
More...
#include <common/util/psxm.hh>
Points into a PXM2 blob without copying it, so the blob has to outlive it. For an asset linked in by the build rule that costs nothing.
◆ normalCount()
| unsigned psxm::Model::normalCount |
( |
| ) |
const |
|
inline |
◆ normals()
| const Vec3 * psxm::Model::normals |
( |
| ) |
const |
|
inline |
◆ parse()
| bool psxm::Model::parse |
( |
const uint8_t * |
blob | ) |
|
|
inline |
Accepts the blob if it carries the PXM2 magic. The blob has to be four byte aligned.
◆ triangleCount()
| unsigned psxm::Model::triangleCount |
( |
| ) |
const |
|
inline |
◆ triangles()
| const Triangle * psxm::Model::triangles |
( |
| ) |
const |
|
inline |
◆ vertexCount()
| unsigned psxm::Model::vertexCount |
( |
| ) |
const |
|
inline |
◆ vertices()
| const Vec3 * psxm::Model::vertices |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: