Provides script language access to C++ objects of this type.
Class Hierarchy | Type » Node » Group » LanguageQualifierNode » GlslQualifierNode |
Function members are as follows:
Return Type | Function Name | Documentation |
---|---|---|
int32 | GetAllQualifierStrings | Populates a <StrList> and <Int32Array> with text versions of all qualifier strings and corresponding indices. |
int32 | GetCategory | Returns an <int32> representing the category of the qualifier. These categories loosely correspond to GLSL qualifier categories, such as 'storage' or 'interpolation', but we use a more fine-grained set of qualifier categories. This value refers to the value of the GLSL_QualifierCategory enumeration. Please see TYPE_SERVICE_ENUMERATION_UTIL.SSL in the application scripts folder for more information. |
int32 | GetQualifierIndexByName | Returns the index of the qualifier name provided, which refers to its location in the list of qualifiers. This string should be a GLSL qualifier such as 'location' or 'uniform'. |
string | GetQualifierName | Returns the name of the qualifier represented by the <GlslQualifierNode>. ( Not the <Node> object's name. ) For example: in, out, const, location, buffer. |
int32 | GetQualifierStringsByCategory | Populates a <StrList> and <Int32Array> with all the qualifier names and qualifier indices in the specified category. |
int32 | HasIntegerValue | Returns true if the layout qualifier has an <int32> value. For example: layout( location = 0 ). Returns true if the <GlslQualifierNode> represents the 'location' qualifier. |
int32 | IsLayoutQualifier | Returns true if the <GlslQualifierNode> represents a layout qualifier such as 'location' or 'ccw'. |
int32 | SetName | Sets the name of the <GlslQualifierNode> to the name of the qualifier, which can include any values. For example, this function might set the name of the <GlslQualifierNode> to 'uniform' or 'location = 0' or 'location = someConstInt'. |
Object members are as follows:
Type Name | Accessor Name | Documentation |
---|---|---|
int32 | Qualifier | Gets or sets the GLSL qualifier represented by the <GlslQualifierNode>. This value refers to the GLSL_Qualifier enumeration. Please see TYPE_SERVICE_ENUMERATION_UTIL.SSL in the application scripts folder for more information. |
int32 | Value | Gets or sets the <int32> value stored by a layout qualifier. This value must be greater than zero and less than an implementation defined maximum. For example: 'layout( location = 3 )'. This method sets the value to '3'. |