GetActiveShaders Data Member Function

Populates a <StrList> with the path and filename of shaders used by this <Program>. Does not return any value for shaders not being used. For example: if this <Program> does not use a geometry shader, then no value will be added to the <StrList> submitted to this function.

Prototype

int32 GetActiveShaders( StrList p_slActiveShaders )

Parameters

Parameter Type Parameter Name Documentation
<StrList>p_slActiveShadersA pointer to a <StrList> that will store the file paths of the active shaders.

Examples

Copy Text To Clipboard

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