#include <NvBlastTypes.h>
Public Attributes | |
| float | centroid [3] |
| uint32_t | childIndexStop |
| uint32_t | firstChildIndex |
| uint32_t | parentChunkIndex |
| uint32_t | userData |
| float | volume |
Chunks may form a hierarchical decomposition of the asset. They contain parent and child chunk index information which defines the hierarchy. The parent and child chunk indices are their positions with the NvBlastAsset::chunks array.
Child chunk indices are contiguous, starting at firstChildIndex and ending with childIndexStop - 1.
| float NvBlastChunk::centroid[3] |
Central position for the chunk's volume
| uint32_t NvBlastChunk::childIndexStop |
Stop for child indices
| uint32_t NvBlastChunk::firstChildIndex |
Index of first child
| uint32_t NvBlastChunk::parentChunkIndex |
Index of parent (UINT32_MAX denotes no parent)
| uint32_t NvBlastChunk::userData |
Field for user to associate with external data
| float NvBlastChunk::volume |
Volume of the chunk