GetShaderAt Data Member Function

Returns a string containing the path to the shader source code for the vertex, control, tessellation, geometry, or fragment shader.

Prototype

string GetShaderAt( int32 p_nShaderStageIndex )

Parameters

Parameter Type Parameter Name Documentation
int32p_nShaderStageIndexAn <int32> where 0 = vertex shader, 1 = control shader, 2 = evaluation shader, 3 = geometry shader, and 4 = fragment shader.

Examples

Copy Text To Clipboard

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