Returns an index for a specific attribute in a <Program>.
int32 GetProgramAttribIndex( uint64 p_nHandle, string AttributeName )
Parameter Type | Parameter Name | Documentation |
---|---|---|
uint64 | p_nHandle | A handle to the <Program> to get an attribute index for, or 0 to use the current <Program> activated in the rendering device. |
string | AttributeName | The name of the attribute to get the index for. |
None published. Please look for an example in the Scenome Scripting Language code base.