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
Modifier and TypeInterfaceDescriptionstatic final record
static enum
static final record
-
Method Summary
Modifier and TypeMethodDescriptionstatic GlslTypeSpecifier
array
(GlslTypeSpecifier specifier, @Nullable GlslNode size) default GlslSpecifiedType
default String
default boolean
isNamed()
default boolean
isStruct()
static GlslTypeSpecifier
static GlslStructSpecifier
struct
(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:
asSpecifiedType
in interfaceGlslType
-