Expand description
Modules§
- features 🔒
- Contains the features related code and the features querying method
- keywords 🔒
- Contains a constant with a slice of all the reserved keywords RESERVED_KEYWORDS
Structs§
- Binding
MapSerialization 🔒 - Features
- Structure used to encode additions to GLSL that aren’t supported by all versions.
- IdGenerator 🔒
- Helper structure that generates a number
- Options
- Configuration used in the
Writer
. - Pipeline
Options - A subset of options meant to be changed per pipeline.
- Push
Constant Item - All information to bind a single uniform value to the shader.
- Reflection
Info - Reflection info for texture mappings and uniforms.
- Scalar
String 🔒 - Structure returned by
glsl_scalar
- Texture
Mapping - Mapping between a texture and its sampler, if it exists.
- Varying
Location - Varying
Name 🔒 - Helper wrapper used to get a name for a varying
- Varying
Options 🔒 - Assorted options needed for generating varyings.
- Writer
- Writer responsible for all code generation.
- Writer
Flags - Configuration flags for the
Writer
.
Enums§
- Binary
Operation 🔒 - Binary operation with a different logic on the GLSL side.
- Error
- A GLSL compilation error.
- Version
- A GLSL version.
Constants§
- CLAMPED_
LOD_ 🔒SUFFIX - The suffix of the variable that will hold the calculated clamped level
of detail for bounds checking in
ImageLoad
- FIRST_
INSTANCE_ BINDING - FREXP_
FUNCTION 🔒 - MODF_
FUNCTION 🔒 - SUPPORTED_
CORE_ VERSIONS - List of supported
core
GLSL versions. - SUPPORTED_
ES_ VERSIONS - List of supported
es
GLSL versions.
Functions§
- deserialize_
binding_ 🔒map - glsl_
built_ 🔒in - Helper function that returns the glsl variable name for a builtin
- glsl_
dimension 🔒 - Helper function that returns the glsl dimension string of
ImageDimension
- glsl_
interpolation 🔒 - Helper function that returns the string corresponding to the glsl interpolation qualifier
- glsl_
sampling 🔒 - Return the GLSL auxiliary qualifier for the given sampling value.
- glsl_
scalar 🔒 - Helper function that returns scalar related strings
- glsl_
storage_ 🔒format - Helper function that returns the glsl storage format string of
StorageFormat
- glsl_
storage_ 🔒qualifier - Helper function that returns the string corresponding to the address space
- is_
value_ 🔒init_ supported
Type Aliases§
- Backend
Result 🔒 - Shorthand result used internally by the backend
- Binding
Map - Mapping between resources and bindings.