29 #ifndef NVBLASTACTORSERIALIZATIONBLOCK_H 30 #define NVBLASTACTORSERIALIZATIONBLOCK_H 106 NvBlastBlockArrayData(uint32_t, m_visibleChunkIndicesOffset, getVisibleChunkIndices, m_visibleChunkCount);
116 NvBlastBlockData(
float, m_lowerSupportChunkHealthsOffset, getLowerSupportChunkHealths);
156 const size_t graphNodeIndicesOffset =
align16(visibleChunkIndicesOffset + visibleChunkCount*
sizeof(uint32_t));
157 const size_t lowerSupportHealthsOffset =
align16(graphNodeIndicesOffset + graphNodeCount*
sizeof(uint32_t));
158 const size_t bondHealthsOffset =
align16(lowerSupportHealthsOffset + lowerSupportChunkCount*
sizeof(
float));
159 const size_t fastRouteOffset =
align16(bondHealthsOffset + bondCount*
sizeof(
float));
160 const size_t hopCountsOffset =
align16(fastRouteOffset + graphNodeCount*
sizeof(uint32_t));
161 const size_t edgeRemovedArrayOffset =
align16(hopCountsOffset + graphNodeCount*
sizeof(uint32_t));
169 #endif // ifndef NVBLASTACTORSERIALIZATIONBLOCK_H
Definition: NvBlastFixedBoolArray.h:63
NV_INLINE size_t getActorSerializationSize(uint32_t visibleChunkCount, uint32_t lowerSupportChunkCount, uint32_t graphNodeCount, uint32_t bondCount)
Definition: NvBlastActorSerializationBlock.h:152
#define NvBlastBlockArrayData(_dataType, _name, _accessor, _sizeExpr)
Definition: NvBlastMemory.h:90
static size_t requiredMemorySize(uint32_t size)
Definition: NvBlastFixedBoolArray.h:71
#define NvBlastBlockData(_dataType, _name, _accessor)
Definition: NvBlastMemory.h:81
#define NV_INLINE
Definition: NvPreprocessor.h:350
NV_INLINE T align16(T value)
Definition: NvBlastMemory.h:46
Definition: NvBlastArray.h:37