NvBlastGraphShaderActor
Defined in lowlevel/NvBlastTypes.h
Variables
actorIndex: Actor's index.
adjacencyPartition: See NvBlastSupportGraph::adjacencyPartition .
adjacentBondIndices: See NvBlastSupportGraph::adjacentBondIndices .
adjacentNodeIndices: See NvBlastSupportGraph::adjacentNodeIndices .
assetBonds: NvBlastBonds geometry in the NvBlastAsset .
assetChunks: NvBlastChunks geometry in the NvBlastAsset .
assetNodeCount: Asset node count.
chunkIndices: Graph's map from node index to support chunk index.
familyBondHealths: Actual bond health values for broken bond detection.
firstGraphNodeIndex: Entry index for graphNodeIndexLinks.
graphNodeCount: Actor's graph node count.
graphNodeIndexLinks: Linked index list of connected nodes. Traversable with nextIndex = graphNodeIndexLinks[currentIndex], terminates with 0xFFFFFFFF.
nodeActorIndices: Family's map from node index to actor index.
supportChunkHealths: Actual chunk health values for dead chunk detection.
-
struct NvBlastGraphShaderActor
A single actor’s representation used by NvBlastGraphShaderFunction.
Public Members
-
uint32_t actorIndex
Actor’s index.
-
uint32_t graphNodeCount
Actor’s graph node count.
-
uint32_t assetNodeCount
Asset node count.
-
uint32_t firstGraphNodeIndex
Entry index for graphNodeIndexLinks.
-
const uint32_t *graphNodeIndexLinks
Linked index list of connected nodes. Traversable with nextIndex = graphNodeIndexLinks[currentIndex], terminates with 0xFFFFFFFF.
-
const uint32_t *chunkIndices
Graph’s map from node index to support chunk index.
-
const uint32_t *adjacencyPartition
-
const uint32_t *adjacentNodeIndices
-
const uint32_t *adjacentBondIndices
-
const NvBlastBond *assetBonds
NvBlastBonds geometry in the NvBlastAsset.
-
const NvBlastChunk *assetChunks
NvBlastChunks geometry in the NvBlastAsset.
-
const float *familyBondHealths
Actual bond health values for broken bond detection.
-
const float *supportChunkHealths
Actual chunk health values for dead chunk detection.
-
const uint32_t *nodeActorIndices
Family’s map from node index to actor index.
-
uint32_t actorIndex