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§
- Structure used to encode additions to GLSL that arenβt supported by all versions.
- IdGenerator πHelper structure that generates a number
- Configuration used in the
Writer
. - A subset of options meant to be changed per pipeline.
- All information to bind a single uniform value to the shader.
- Reflection info for texture mappings and uniforms.
- Scalar
String πStructure returned byglsl_scalar
- Mapping between a texture and its sampler, if it exists.
- Varying
Name πHelper wrapper used to get a name for a varying - Varying
Options πAssorted options needed for generating varyings. - Writer responsible for all code generation.
- Configuration flags for the
Writer
.
Enums§
- Binary
Operation πBinary operation with a different logic on the GLSL side. - A GLSL compilation error.
- A GLSL version.
Constants§
- CLAMPED_
LOD_ πSUFFIX The suffix of the variable that will hold the calculated clamped level of detail for bounds checking inImageLoad
- FREXP_
FUNCTION π - MODF_
FUNCTION π - List of supported
core
GLSL versions. - List of supported
es
GLSL versions.
Functions§
- glsl_
built_ πin Helper function that returns the glsl variable name for a builtin - glsl_
dimension πHelper function that returns the glsl dimension string ofImageDimension
- 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 ofStorageFormat
- Helper function that returns the string corresponding to the address space
Type Aliases§
- Backend
Result πShorthand result used internally by the backend - Mapping between resources and bindings.