Returns the Image_Pixel_Format value associated with a particular GLSL format layout qualifier such as rg8 or rgba8i. For example, the declarations layout( rg8 ) or layout( rgba8i ) can only bind specific pixel formats. Returns the appropriate format.
int32 GetFormatFromQualifier( int32 p_eQualifier )
Parameter Type | Parameter Name | Documentation |
---|---|---|
int32 | p_eQualifier | A GLSL format qualifier layout enumerated constant from the GLSL_Qualifier enumeration such as GLSL_Qualifier_Rg16i. Please see TYPE_SERVICE_ENUMERATION_UTIL.SSL in the application scripts folder for more information. |
None published. Please look for an example in the Scenome Scripting Language code base.