[][src]Module web_glitz::pipeline::resources

Structs

BindGroup

Represents a group of bindable resources that may be bound to a pipeline and are shared by all invocations during the pipeline's execution.

BindGroupDescriptor
BindGroupEncoder
BindGroupEncoding
BindGroupEncodingContext
BindGroupLayoutBuilder

Returned from [ResourceBindingsLayoutDescriptorBuilder::add_bind_group], accumulates the resource slot descriptors for a bind group layout description.

InvalidBindGroupSequence

Error returned when adding bind groups to a [ResourceBindingsLayoutDescriptorBuilder] out of order or when adding multiple bind groups that declare the same bind group index.

InvalidResourceSlotSequence

Error returned when adding resource slots to a BindGroupLayoutBuilder out of order or when adding multiple resource slots that declare the same slot index.

LayoutAllocationHint

Hint for a [ResourceBindingsLayoutDescriptorBuilder] that indicates how much memory is required to accommodate the result.

ResourceBindingsEncoding
ResourceBindingsEncodingContext
ResourceBindingsLayoutBuilder

Builds a ResourceBindingsLayoutDescriptor.

ResourceBindingsLayoutDescriptor

A minimal description of the resource binding slots used by a pipeline.

ResourceSlotDescriptor

Describes a single resource slot in a pipeline.

StaticResourceBindingsEncoder
TypedResourceBindingsLayoutDescriptor

A typed description of the resource binding slots used by a pipeline.

TypedResourceSlotDescriptor

Describes a single resource slot in a pipeline and its type.

Enums

IncompatibleInterface
IncompatibleResources

Error returned when a ResourceBindingsLayoutDescriptor or TypedResourceBindingsLayoutDescriptor does not match resource slots declared in a pipeline's shader stages.

ResourceBindingsLayoutBuilderError

Enumerates the errors that may occur when building a ResourceBindingsLayoutDescriptor.

ResourceSlotIdentifier

Identifies a resource slot in a pipeline.

ResourceSlotKind

Enumerates the different kinds of resource slots a pipeline can define.

ResourceSlotType

Enumerates the slot types for a TypedResourceSlotDescriptor.

SampledTextureType

Enumerates the types available for sampled-texture resource slot.

Traits

EncodeBindableResourceGroup

A group of resources that may be used to encode a BindGroup.

Resource

Trait implemented for types that can be bound to a pipeline as a resource.

ResourceBindings

Encodes a description of how a set of resources is bound to a pipeline, such that the pipeline may access these resources during its execution.

Resources

Provides a group of resources (uniform block buffers, sampled textures) that can initialize a BindGroup.

TypedBindableResourceGroup

Sub-trait of [EncodeBindGroup], where a type statically describes the layout for the bind group.

TypedResourceBindings

Sub-trait of ResourceBindings, where a type statically describes its resource bindings layout.

TypedResourceBindingsLayout

A resource bindings layout description attached to a type.