Skip to main content

Module resource

Module resource 

Source

Structs§

BadMapMode
Blas
Buffer
BufferMapping
Represents a mapped range in the buffer.
ClearViews
Views for clearing a 2D texture with render passes. The contained views must be manually destroyed by calling Self::destroy.
DestroyedBuffer
A buffer that has been marked as destroyed and is staged for actual deletion soon.
DestroyedQuerySet
A query set that has been marked as destroyed and is staged for actual deletion soon
DestroyedResourceError
DestroyedTexture
A texture that has been marked as destroyed and is staged for actual deletion soon.
ExternalTexture
FlushedStagingBuffer
InvalidResourceError
MapModeFlags
Corresponds to WebGPU GPUMapModeFlags.
MissingBufferUsageError
MissingTextureUsageError
QuerySet
ResourceErrorIdent
Sampler
SamplerDescriptor
Describes a Sampler
StagingBuffer
A temporary buffer, consumed by the command that uses it.
Texture
TextureState
TextureView
TextureViewDescriptor
Describes a TextureView.
TextureViewState
Tlas

Enums§

BufferAccessError
CreateBufferError
CreateExternalTextureError
CreateQuerySetError
CreateSamplerError
CreateTextureError
CreateTextureViewError
InvalidOrDestroyedResourceError
ResourceState
SamplerFilterErrorType
TextureBindingViewDimensionError
TextureClearMode
TextureDimensionError
TextureErrorDimension
TextureViewNotRenderableReason

Traits§

Labeled
ParentDevice
RawResourceAccess
Allow access to the hal resource as guarded by the SnatchGuard.
ResourceType

Type Aliases§

BlasCompactCallbacksend_sync
BlasDescriptor
BlasPrepareCompactResult
BufferAccessResult
BufferDescriptor
BufferMapCallbacksend_sync
ExternalTextureDescriptor
QuerySetDescriptor
TextureDescriptor
TlasDescriptor