Package foundry.veil.impl.glsl.grammar
Class GlslSpecifiedType
java.lang.Object
foundry.veil.impl.glsl.grammar.GlslSpecifiedType
- All Implemented Interfaces:
GlslType
Specifies the full operand of something in GLSL in addition to all qualifiers.
-
Constructor Summary
ConstructorsConstructorDescriptionGlslSpecifiedType(GlslTypeSpecifier specifier) GlslSpecifiedType(GlslTypeSpecifier specifier, GlslTypeQualifier... qualifiers) GlslSpecifiedType(GlslTypeSpecifier specifier, Collection<GlslTypeQualifier> qualifiers) -
Method Summary
Modifier and TypeMethodDescriptionsetQualifiers(GlslTypeQualifier... qualifiers) setQualifiers(Collection<GlslTypeQualifier> qualifiers) setSpecifier(GlslTypeSpecifier specifier) Sets the operand of thistoString()
-
Constructor Details
-
GlslSpecifiedType
-
GlslSpecifiedType
-
GlslSpecifiedType
-
-
Method Details
-
getSpecifier
- Returns:
- The operand of the field, method, etc
-
getQualifiers
- Returns:
- The qualifiers applied to it, for example
layout()orflat
-
setSpecifier
Sets the operand of this- Parameters:
specifier-- Returns:
-
setQualifiers
-
setQualifiers
-
getSourceString
-
getPostSourceString
-
toString
-
asSpecifiedType
- Specified by:
asSpecifiedTypein interfaceGlslType
-