<GraphicsFeatureNode> Data Interface

Provides script language access to C++ objects of this type.

Class HierarchyType » Node » Group » GraphicsFeatureNode

Function Members

Function members are as follows:

Return Type Function Name Documentation
stringGetProfileStringReturns a string containing the shader profile. For example: 'core', 'compatibility', or 'es'.
stringGetVersionStringReturns a string containing the shader version. For example: '#version 320' or '#version 430'.

Object Members

Object members are as follows:

Type Name Accessor Name Documentation
<StrList>ExtensionsReturns a pointer to a <StrList> containing the extensions available for the current hardware.
int32ShadingLanguageIndexReturns 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.
int32ShadingLanguageProfileReturns 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.
int32ShadingLanguageVersionGets 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.
stringValidateFunctionGets 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>.
stringValidateNamespaceGets 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'.