GetProgramAttribIndex Data Member Function

Returns an index for a specific attribute in a <Program>.

Prototype

int32 GetProgramAttribIndex( uint64 p_nHandle, string AttributeName )

Parameters

Parameter Type Parameter Name Documentation
uint64p_nHandleA handle to the <Program> to get an attribute index for, or 0 to use the current <Program> activated in the rendering device.
stringAttributeNameThe name of the attribute to get the index for.

Examples

Copy Text To Clipboard

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