Skip to main content

Module types

Module types 

Source
Expand description

Auto-generated module

🤖 Generated with SplitRS

Structs§

BindGroupLayout
A flexible bind group layout builder.
BytecodeShaderCache
Cache for compiled shader bytecode (mock compiled blobs).
ColorAttachmentDesc
Description of a color attachment in a render pass.
ComputeShaderDesc
Descriptor for a WGSL compute shader.
DepthAttachmentDesc
Description of a depth/stencil attachment.
DescriptorBinding
A single binding entry in a descriptor set layout.
DescriptorSetLayout
A layout describing all bindings in a descriptor set group.
PushConstantRange
A push constant range that can be set per draw/dispatch call.
RenderPassDesc
Description of a full render pass.
SamplerDesc
Sampler descriptor for creating GPU samplers.
ShaderCache
A simple cache for compiled shader sources.
ShaderCompilationPipeline
A pipeline for compiling WGSL shaders with preprocessing steps.
ShaderHotReloadManager
Manages shader source files and detects changes for hot-reloading.
ShaderMetaRegistry
Registry mapping shader names to their ShaderMetadata.
ShaderMetadata
Metadata describing a single compute shader.
ShaderRegistry
A registry of named compute shader descriptors.
ShaderTemplate
A parameterised WGSL shader template.
ShaderTemplateV2
A parameterised shader template that replaces #define KEY tokens.
SpecializationConstant
A specialization constant for shader compilation.
SpecializationMap
A collection of specialization constants for a shader.
SpirVModule
Reflection data extracted from a (mock) SPIR-V module or WGSL source.
StorageBinding
A storage binding entry in a bind group.
UniformBinding
A uniform binding entry in a bind group.
UniformBufferDesc
Description of a uniform buffer binding.

Enums§

AddressMode
Texture address mode.
DescriptorType
Type of a GPU descriptor.
FilterMode
Texture filtering mode.
LoadOp
Load operation for an attachment.
ShaderStage
Shader stage flags.
ShaderVariant
High-level category for a GPU compute shader.
StoreOp
Store operation for an attachment.
TextureFormat
Texture format for attachments.