Modules§
- prelude
- The shader prelude.
Macros§
- load_
shader_ library - Inline shader as an
embedded_asset
and load it permanently.
Structs§
- Shader
- An “unprocessed” shader. It can contain preprocessor directives.
- Shader
Cache - Shader
Id - Shader
Loader - Shader
Settings - Settings for loading shaders.
Enums§
- Pipeline
Cache Error - Type of error returned by a
PipelineCache
when the creation of a GPU pipeline object failed. - Shader
Cache Source - Source of a shader module.
- Shader
DefVal - Shader
Import - Shader
Loader Error - Shader
Ref - A reference to a shader asset.
- Shader
Reflect Error - Source
- Validate
Shader - Describes whether or not to perform runtime checks on shaders. Runtime checks can be enabled for safety at the cost of speed. By default no runtime checks will be performed.