Populates a <TypeInfoArray> with <VariableNode>-derived types such as <Float32Node> or <Float64Node>, that correspond to data types ( <float32>, <float64> ) supported by the specified shading language version.
int32 GetSupportedDataTypes( int32 p_eVersion, int32 p_bHighPrecTypes, int32 p_bLowPrecTypes, TypeInfoArray p_aoTypes )
Parameter Type | Parameter Name | Documentation |
---|---|---|
int32 | p_eVersion | This parameter refers to the ShadingLanguageVersion enum. Please see TYPE_SERVICE_ENUMERATION_UTIL.SSL in the application scripts folder for more information. |
int32 | p_bHighPrecTypes | If true, this query optionally includes high-precision signed/unsigned integer types such as <Int64Node>, <Uint64Node>, and all similar. On most systems these types are supported only by extensions, so you may have to query the rendering system to check for extensions such as gl_nv_gpu_shader5, AMD_gpu_shader_int64, or GL_ARB_gpu_shader_int64. |
int32 | p_bLowPrecTypes | If true, this query optionally includes high-precision signed/unsigned integer types such as <Int8Node>, <Uint8Node>, and all similar. On most systems these types are supported only by extensions. At present only gl_nv_gpu_shader5 and a few others support low-precision signed/unsigned integer types. |
<TypeInfoArray> | p_aoTypes | A pointer to a <TypeInfoArray> that stores Scenome types that correspond to GLSL types supported by the specified shading language version. |
None published. Please look for an example in the Scenome Scripting Language code base.