Modifies a <QualifierList> object by adding or removing a <GlslQualifierNode> depending on the value of the parameter p_nAddQualifier.
int32 ModifyQualifier( QualifierList p_oQualifierList, int32 p_nAddQualifier, int32 p_eGlslQualifier )
Parameter Type | Parameter Name | Documentation |
---|---|---|
<QualifierList> | p_oQualifierList | A pointer to the <QualifierList> object you wish to modify. |
int32 | p_nAddQualifier | An <int32> value ( 0 or 1 ). Use 0 to indicate to remove the <GlslQualifierNode> from the <QualifierList> if it is resident. Use 1 to indicate that this function should add a <GlslQualifierNode> to the <QualifierList> if it is not currently resident. |
int32 | p_eGlslQualifier | The GLSL qualifier you wish to add to, or remove from, the <QualifierList>. This value refers to the GLSL_Qualifier enumeration. Please see TYPE_SERVICE_ENUMERATION_UTIL.SSL in the application scripts folder for more information. |
None published. Please look for an example in the Scenome Scripting Language code base.