GetDeclarations Data Member Function

Populates a <NodeBuffer> with pointers to all variables declared as part of the <ShaderBufferNode> this <Node> binds.

Prototype

int32 GetDeclarations( NodeBuffer p_apNodes, int32 p_bVariableIndexed )

Parameters

Parameter Type Parameter Name Documentation
<NodeBuffer>p_apNodesA pointer to the <NodeBuffer> that stores the declarations.
int32p_bVariableIndexedIf true, this method considers variably indexed declarations.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Scenome Scripting Language code base.