Provides script language access to C++ objects of this type.
Function members are as follows:
Return Type | Function Name | Documentation |
---|---|---|
string | GetProfileString | Returns a string containing the shader profile. For example: 'core', 'compatibility', or 'es'. |
string | GetVersionString | Returns a string containing the shader version. For example: '#version 320' or '#version 430'. |
Object members are as follows:
Type Name | Accessor Name | Documentation |
---|---|---|
<StrList> | Extensions | Returns a pointer to a <StrList> containing the extensions available for the current hardware. |
int32 | ShadingLanguageIndex | Returns the index of the shading language. For example: returns 0, 1, or 2, which would mean 100, 110, or 120. This refers to the ShadingLanguageIndex enumeration. Please see TYPE_SERVICE_ENUMERATION_UTIL.SSL in the application scripts folder for more information. |
int32 | ShadingLanguageProfile | Returns the index of the shading language profile. For example: returns 0, 1, or 2, which would mean core, compatibility, or es. This refers to the ShadingLanguageProfile enumeration. Please see TYPE_SERVICE_ENUMERATION_UTIL.SSL in the application scripts folder for more information. |
int32 | ShadingLanguageVersion | Gets or sets the shading language version for this <Node>. This refers to the ShadingLanguageVersion enumeration. Please see TYPE_SERVICE_ENUMERATION_UTIL.SSL in the application scripts folder for more information. |
string | ValidateFunction | Gets or sets the validation function, which is a string of the name of the Scenome Scripting Language function used to perform user-defined tests with this <Node>. |
string | ValidateNamespace | Gets or sets the validation function namespace, which is a library name such as "LibGraphicsValidation" defined by a Scenome Scripting Language document. For example the declaration 'library LibGraphicsValidation;' has the library name 'LibGraphicsValidation'. |