Package foundry.veil.impl.glsl.grammar
Enum Class GlslTypeSpecifier.BuiltinType
java.lang.Object
java.lang.Enum<GlslTypeSpecifier.BuiltinType>
foundry.veil.impl.glsl.grammar.GlslTypeSpecifier.BuiltinType
- All Implemented Interfaces:
GlslType
,GlslTypeSpecifier
,Serializable
,Comparable<GlslTypeSpecifier.BuiltinType>
,Constable
- Enclosing interface:
GlslTypeSpecifier
public static enum GlslTypeSpecifier.BuiltinType
extends Enum<GlslTypeSpecifier.BuiltinType>
implements GlslTypeSpecifier
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Nested classes/interfaces inherited from interface foundry.veil.impl.glsl.grammar.GlslTypeSpecifier
GlslTypeSpecifier.Array, GlslTypeSpecifier.BuiltinType, GlslTypeSpecifier.Name
-
Enum Constant Summary
Enum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionint
boolean
isBool()
boolean
isDouble()
boolean
isFloat()
boolean
boolean
isMatrix()
boolean
boolean
boolean
isVector()
Returns the enum constant of this class with the specified name.static GlslTypeSpecifier.BuiltinType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface foundry.veil.impl.glsl.grammar.GlslTypeSpecifier
asSpecifiedType, getPostSourceString, isNamed, isStruct
-
Enum Constant Details
-
VOID
-
FLOAT
-
DOUBLE
-
INT
-
UINT
-
BOOL
-
VEC2
-
VEC3
-
VEC4
-
DVEC2
-
DVEC3
-
DVEC4
-
BVEC2
-
BVEC3
-
BVEC4
-
IVEC2
-
IVEC3
-
IVEC4
-
UVEC2
-
UVEC3
-
UVEC4
-
MAT2
-
MAT3
-
MAT4
-
MAT2X2
-
MAT2X3
-
MAT2X4
-
MAT3X2
-
MAT3X3
-
MAT3X4
-
MAT4X2
-
MAT4X3
-
MAT4X4
-
DMAT2
-
DMAT3
-
DMAT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BEARRAY
-
UIMAGECUBEARRAY
-
IMAGE2DMS
-
IIMAGE2DMS
-
UIMAGE2DMS
-
IMAGE2DMSARRAY
-
IIMAGE2DMSARRAY
-
UIMAGE2DMSARRAY
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
isPrimitive
public boolean isPrimitive() -
isFloat
public boolean isFloat() -
isDouble
public boolean isDouble() -
isInteger
public boolean isInteger() -
isUnsignedInteger
public boolean isUnsignedInteger() -
isBool
public boolean isBool() -
isVector
public boolean isVector() -
isMatrix
public boolean isMatrix() -
getComponents
public int getComponents() -
getSourceString
- Specified by:
getSourceString
in interfaceGlslTypeSpecifier
-