<GlslQualifierNode> Data Interface

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

Class HierarchyType » Node » Group » LanguageQualifierNode » GlslQualifierNode

Function Members

Function members are as follows:

Return Type Function Name Documentation
int32GetAllQualifierStringsPopulates a <StrList> and <Int32Array> with text versions of all qualifier strings and corresponding indices.
int32GetCategoryReturns 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.
int32GetQualifierIndexByNameReturns 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'.
stringGetQualifierNameReturns the name of the qualifier represented by the <GlslQualifierNode>. ( Not the <Node> object's name. ) For example: in, out, const, location, buffer.
int32GetQualifierStringsByCategoryPopulates a <StrList> and <Int32Array> with all the qualifier names and qualifier indices in the specified category.
int32HasIntegerValueReturns true if the layout qualifier has an <int32> value. For example: layout( location = 0 ). Returns true if the <GlslQualifierNode> represents the 'location' qualifier.
int32IsLayoutQualifierReturns true if the <GlslQualifierNode> represents a layout qualifier such as 'location' or 'ccw'.
int32SetNameSets 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

Object members are as follows:

Type Name Accessor Name Documentation
int32QualifierGets 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.
int32ValueGets 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'.