[][src]Module rendy::shader

Shader compilation.

Structs

FileShaderInfo

Info necessary to compile a shader from source code stored in the filesystem.

ShaderSet

A ShaderSet object represents a merged collection of ShaderStorage structures, which reflects merged information for all shaders in the set.

ShaderSetBuilder

Builder class which is used to begin the reflection and shader set construction process for a shader set. Provides all the functionality needed to build a shader set with provided shaders and then reflect appropriate gfx-hal and generic shader information.

ShaderStorage

Contains reflection and runtime nformation for a given compiled Shader Module.

SourceCodeShaderInfo

Info necessary to compile a shader from provided source code.

SpecConstantSet

A set of Specialization constants for a certain shader set.

SpirvReflection

Contains intermediate structured data of reflected shader information.

SpirvShader

Spir-V shader.

Enums

ReflectError

A reflection error.

ReflectTypeError

A type reflection error.

RetrievalKind

The item kind that couldn't be retrieved from spirv-reflect.

ShaderCError

Error type returned by shader compiler functionality.

ShaderError

Error type returned by this module.

ShaderKind

Shader kind.

SourceLanguage

Source language.

Traits

Shader

Interface to create shader modules from shaders. Implemented for static shaders via [compile_to_spirv!] macro.

Type Definitions

PathBufShaderInfo

Shader info with a PathBuf for the path and static string for entry

SourceShaderInfo

Shader info with static data.

StaticShaderInfoDeprecated

DEPRECATED. USE PathBufShaderInfo INSTEAD!