[][src]Module bevy_render::shader

Structs

Shader

A shader, as defined by its ShaderSource and ShaderStage

ShaderDefIterator

Iterates over all ShaderDef items in ShaderDefs

ShaderLayout

Defines the memory layout of a shader

ShaderStages

All stages in a shader program

Enums

ShaderSource

The full "source" of a shader

ShaderStage

The stage of a shader

Constants

GL_VERTEX_INDEX

Traits

ShaderDef

Something that can either be "defined" or "not defined". This is used to determine if a "shader def" should be considered "defined"

ShaderDefs

A collection of "shader defs", which define compile time definitions for shaders.

Functions

asset_shader_defs_system

Updates RenderPipelines with the latest ShaderDefs from a given asset type

clear_shader_defs_system

Clears each RenderPipelines' shader defs collection

shader_defs_system

Updates RenderPipelines with the latest ShaderDefs

Derive Macros

ShaderDefs

Derives the ShaderDefs trait. Each field must implement ShaderDef or this will fail. You can ignore fields using #[shader_defs(ignore)].