Returns a string containing the path to the shader source code for the vertex, control, tessellation, geometry, or fragment shader.
string GetShaderAt( int32 p_nShaderStageIndex )
Parameter Type | Parameter Name | Documentation |
---|---|---|
int32 | p_nShaderStageIndex | An <int32> where 0 = vertex shader, 1 = control shader, 2 = evaluation shader, 3 = geometry shader, and 4 = fragment shader. |
None published. Please look for an example in the Scenome Scripting Language code base.