Package foundry.veil.impl.glsl.grammar
Class GlslParameterDeclaration
java.lang.Object
foundry.veil.impl.glsl.grammar.GlslParameterDeclaration
Represents a single parameter declaration. Includes the name and full data operand of the parameter.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable StringgetName()getType()Sets the name of this parameter.setQualifiers(GlslTypeQualifier... qualifiers) Sets The qualifiers of this parameter operand.setQualifiers(Collection<GlslTypeQualifier> qualifiers) Sets The qualifiers of this parameter operand.Sets the data operand of this parameter.toString()
-
Constructor Details
-
GlslParameterDeclaration
-
-
Method Details
-
getName
- Returns:
- The name of the parameter or
nullif declared likevoid foo(int)
-
getType
- Returns:
- The parameter data operand
-
setName
Sets the name of this parameter.- Parameters:
name- The new name
-
setType
Sets the data operand of this parameter.- Parameters:
type- The new operand
-
setQualifiers
Sets The qualifiers of this parameter operand.- Parameters:
qualifiers- The new qualifiers
-
setQualifiers
Sets The qualifiers of this parameter operand.- Parameters:
qualifiers- The new qualifiers
-
toString
-