[][src]Crate wgpu_types

Structs

BackendBit
BindGroupLayoutDescriptor

A description of a bind group layout.

BindGroupLayoutEntry

A description of a single binding inside a bind group.

BlendDescriptor
BufferDescriptor
BufferSize
BufferUsage
Capabilities
Color
ColorStateDescriptor
ColorWrite
CommandBufferDescriptor
CommandEncoderDescriptor
DepthStencilStateDescriptor
DeviceDescriptor
Extensions
Extent3d
Limits
Origin3d
RasterizationStateDescriptor
RenderBundleDescriptor
RenderBundleEncoderDescriptor
RenderPassColorAttachmentDescriptorBase
RenderPassDepthStencilAttachmentDescriptorBase
SamplerDescriptor
ShaderStage
StencilStateFaceDescriptor
SwapChainDescriptor
TextureDataLayout
TextureDescriptor
TextureUsage
TextureViewDescriptor
UnsafeExtensions
VertexAttributeDescriptor

Enums

AddressMode
Backend
BindingType

Specific type of a binding. WebGPU spec: https://gpuweb.github.io/gpuweb/#dictdef-gpubindgrouplayoutentry

BlendFactor
BlendOperation
CompareFunction
CullMode
FilterMode
FrontFace
IndexFormat
InputStepMode
LoadOp
PowerPreference
PresentMode
PrimitiveTopology
StencilOperation
StoreOp
SwapChainStatus
TextureAspect
TextureComponentType
TextureDimension
TextureFormat
TextureViewDimension
VertexFormat

Constants

BIND_BUFFER_ALIGNMENT

Bound uniform/storage buffer offsets must be aligned to this number.

COPY_BUFFER_ALIGNMENT

Buffer to buffer copy offsets and sizes must be aligned to this number

COPY_BYTES_PER_ROW_ALIGNMENT

Buffer-Texture copies on command encoders have to have the bytes_per_row aligned to this number.

Type Definitions

BufferAddress
DynamicOffset
NonZeroBufferAddress
ShaderLocation