Expand description
GPU resource wrappers — first-class agpu types for every GPU object.
Each wrapper holds the underlying wgpu object plus metadata for agent
discoverability (label, id, resource kind). Users interact with these
types instead of raw wgpu handles. The .raw() escape hatch exposes
the inner wgpu type for advanced use.
Structs§
- GpuBind
Group - A bind group — a set of resources bound to a shader.
- GpuBind
Group Layout - A bind group layout describing the shape of a bind group.
- GpuBuffer
- A GPU buffer — vertex, index, uniform, storage, or staging memory.
- GpuCompute
Pipeline - A GPU compute pipeline — a compiled compute shader program.
- GpuPipeline
Layout - A pipeline layout describing bind group layouts and push constants.
- GpuQuery
Set - A GPU query set — for occlusion queries or timestamp queries.
- GpuRender
Pipeline - A GPU render pipeline — vertex + fragment shaders, primitive state, blend mode, and depth/stencil configuration.
- GpuSampler
- A GPU sampler — controls how textures are filtered and addressed.
- GpuShader
Module - A compiled GPU shader module (WGSL or SPIR-V).
- GpuTexture
- A GPU texture — 2D, 3D, or cube-map image data on the GPU.
- GpuTexture
View - A view into a GPU texture.
Enums§
- Shader
Source Kind - How the shader was provided.