Uses Glslang to process shader source code into symbol information.
int32 LoadShaderSource( int32 p_eShaderStage, string p_oSource, StrList p_slInfoLog )
Parameter Type | Parameter Name | Documentation |
---|---|---|
int32 | p_eShaderStage | Gets or sets the shader stage for which you wish to load symbol information. This refers to the RenderProgramStageFlag enumeration. Please see TYPE_SERVICE_ENUMERATION_UTIL.SSL in the application scripts folder for more information. |
string | p_oSource | A pointer to a <Str> object that contains the shader source. |
<StrList> | p_slInfoLog | A pointer to a <StrList> that will contain the output of the Glslang shader compiler. For example, error messages generated during source code processing are stored in this <StrList>. |
None published. Please look for an example in the Scenome Scripting Language code base.