Crate shader

Crate shader 

Source

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.
ShaderCache
ShaderId
ShaderLoader
ShaderSettings
Settings for loading shaders.

Enums§

PipelineCacheError
Type of error returned by a PipelineCache when the creation of a GPU pipeline object failed.
ShaderCacheSource
Source of a shader module.
ShaderDefVal
ShaderImport
ShaderLoaderError
ShaderRef
A reference to a shader asset.
ShaderReflectError
Source
ValidateShader
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.

Type Aliases§

CachedPipelineId