Module resource

Source
Expand description

Utilities which holds references to GPU-owned. Usually a resource is a wrapper which makes using buffers or textures simpler.

Modulesยง

buffer ๐Ÿ”’
pipeline ๐Ÿ”’
Utility for creating RenderPipelines
shader ๐Ÿ”’
Utilities for creating shader states.
surface ๐Ÿ”’
Utilities for handling surfaces which can be either headless or headed. A headed surface has a handle to a window. A headless surface renders to a texture.
texture ๐Ÿ”’
Utility for a texture view which can either be created by a TextureView or SurfaceTexture
tile_pipeline ๐Ÿ”’
Utility for declaring pipelines.
tracked_render_pass ๐Ÿ”’
A render pass which allows tracking, for example using a tracing framework.

Structsยง

BackingBufferDescriptor
BufferDimensions
BufferedTextureHead
FragmentState
Describes the fragment process in a render pipeline.
RenderPipelineDescriptor
Surface
Texture
TilePipeline
TrackedRenderPass
A [RenderPass], which tracks the current pipeline state to ensure all draw calls are valid. It is used to set the current [RenderPipeline], BindGroups and buffers. After all requirements are specified, draw calls can be issued.
VertexBufferLayout
Describes how the vertex buffer is interpreted.
VertexState
WindowHead

Enumsยง

Head
TextureView
Describes a TextureView.

Traitsยง

Queue
RenderPipeline