Package foundry.veil.impl.glsl.grammar
Interface GlslTypeSpecifier
- All Superinterfaces:
GlslType
- All Known Implementing Classes:
GlslStructSpecifier,GlslTypeSpecifier.Array,GlslTypeSpecifier.BuiltinType,GlslTypeSpecifier.Name
public sealed interface GlslTypeSpecifier
extends GlslType
permits GlslStructSpecifier, GlslTypeSpecifier.Array, GlslTypeSpecifier.BuiltinType, GlslTypeSpecifier.Name
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordstatic enumstatic final record -
Method Summary
Modifier and TypeMethodDescriptionstatic GlslTypeSpecifierarray(GlslTypeSpecifier specifier, @Nullable GlslNode size) default GlslSpecifiedTypedefault Stringdefault booleanisNamed()default booleanisStruct()static GlslTypeSpecifierstatic GlslStructSpecifierstruct(String name, Collection<GlslStructField> fields)
-
Method Details
-
getSourceString
String getSourceString() -
getPostSourceString
-
isNamed
default boolean isNamed() -
isStruct
default boolean isStruct() -
named
-
array
-
struct
-
asSpecifiedType
- Specified by:
asSpecifiedTypein interfaceGlslType
-