Skip to main content

Module program

Module program 

Source
Expand description

Host-agnostic shader program descriptors and owned Program handles.

Structs§

AttributeDesc
Vertex or instance attribute declared by a program.
BlockDesc
Std140/std430 buffer block layout description.
BlockMember
Field description inside a BlockDesc.
BufferDesc
Descriptor for one uniform, storage, or vertex-data buffer declared by a program.
GlslEsAttributePrecision
GLSL ES precision override for vertex attributes.
GlslEsMemberPrecision
GLSL ES precision override for members of a uniform block.
GlslEsSource
GLSL ES 3.00 shader source strings and precision overrides.
GlslSource
Vulkan GLSL 450 shader source strings.
MslSource
Metal Shading Language source strings.
Program
Owned handle to a validated host shader program.
ProgramDesc
Complete multi-backend shader program descriptor.
TextureDesc
Texture binding slot declared by a program.
WgslSource
WGSL shader source strings.

Enums§

AttributeFormat
Vertex or instance attribute data format.
BlockMemberType
Member type inside a shader uniform or storage block.
BufferKind
Binding kind for a shader buffer.
GlslPrecision
GLSL ES precision qualifier.
ProjectionMode
How a shader program receives its tile/frame projection uniforms.
ShaderStages
Which shader stages read a buffer, paint parameters, or texture.
TextureRead
How a shader samples a texture binding.
Variants
Which compiled shader variants include a buffer, attribute, or texture.