Expand description
Shader handling.
Structs§
- Attribute
Var - Vertex information that a shader takes as input.
- Const
Var - A constant in the shader - a bit of data that doesn’t vary
- Constant
Buffer Var - A constant buffer.
- Create
Program Error - An error type for creating programs.
- Output
Var - Target output variable.
- Program
- A program
- Program
Info - Metadata about a program.
- Sampler
Type - A type of the sampler variable.
- Sampler
Var - Sampler shader parameter.
- Texture
Var - Texture shader parameter.
- Unordered
Var - Unordered access shader parameter.
- Usage
- Parameter usage flags.
Enums§
- Base
Type - Base type of this shader parameter.
- Compatibility
Error - Error type for trying to store a UniformValue in a ConstVar.
- Container
Type - Number of components this parameter represents.
- Create
Shader Error - An error type for creating shaders.
- IsArray
- Whether the sampler samples an array texture.
- IsComparison
- Whether the sampler compares the depth value upon sampling.
- IsMulti
Sample - Whether the sampler samples a multisample texture.
- IsRect
- Whether the sampler samples a rectangle texture.
- Matrix
Format - Whether the matrix is column or row major.
- Stage
- Which program stage this shader represents.
- Texture
Type - A type of the texture variable. This has to match the actual data we bind to the shader.
- Uniform
Value - A value that can be uploaded to the device as a uniform.
Constants§
- STAGES
- A constant static array of all shader stages.
Traits§
- Base
Typed - A trait that statically links simple data types to base types of the shader constants.
- Formatted
- A trait that statically links simple data types to constant formats.
Type Aliases§
- Const
Format - Format of a shader constant.
- Dimension
- Number of components in a container type (vectors/matrices)
- Location
- Location of a parameter in the program.