ModifyQualifier Data Member Function

Modifies a <QualifierList> object by adding or removing a <GlslQualifierNode> depending on the value of the parameter p_nAddQualifier.

Prototype

int32 ModifyQualifier( QualifierList p_oQualifierList, int32 p_nAddQualifier, int32 p_eGlslQualifier )

Parameters

Parameter Type Parameter Name Documentation
<QualifierList>p_oQualifierListA pointer to the <QualifierList> object you wish to modify.
int32p_nAddQualifierAn <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.
int32p_eGlslQualifierThe 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.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Scenome Scripting Language code base.