WebGPU::Direct::ChainedStruct

Attributes

next (WebGPU::Direct::ChainedStruct)
sType (WGPUSType)

WebGPU::Direct::ChainedStructOut

Attributes

next (WebGPU::Direct::ChainedStructOut)
sType (WGPUSType)

WebGPU::Direct::AdapterProperties

Attributes

nextInChain (WebGPU::Direct::ChainedStructOut)
vendorID (uint32_t)
vendorName (char)
architecture (char)
deviceID (uint32_t)
name (char)
driverDescription (char)
adapterType (WGPUAdapterType)
backendType (WGPUBackendType)

WebGPU::Direct::BindGroupEntry

Attributes

nextInChain (WebGPU::Direct::ChainedStruct)
binding (uint32_t)
buffer (WebGPU::Direct::Buffer)
offset (uint64_t)
size (uint64_t)
sampler (WebGPU::Direct::Sampler)
textureView (WebGPU::Direct::TextureView)

WebGPU::Direct::BlendComponent

Attributes

operation (WGPUBlendOperation)
srcFactor (WGPUBlendFactor)
dstFactor (WGPUBlendFactor)

WebGPU::Direct::BufferBindingLayout

Attributes

nextInChain (WebGPU::Direct::ChainedStruct)
type (WGPUBufferBindingType)
hasDynamicOffset (WGPUBool)
minBindingSize (uint64_t)

WebGPU::Direct::BufferDescriptor

Attributes

nextInChain (WebGPU::Direct::ChainedStruct)
label (char)
usage (WGPUBufferUsageFlags)
size (uint64_t)
mappedAtCreation (WGPUBool)

WebGPU::Direct::Color

Attributes

r (double)
g (double)
b (double)
a (double)

WebGPU::Direct::CommandBufferDescriptor

Attributes

nextInChain (WebGPU::Direct::ChainedStruct)
label (char)

WebGPU::Direct::CommandEncoderDescriptor

Attributes

nextInChain (WebGPU::Direct::ChainedStruct)
label (char)

WebGPU::Direct::CompilationMessage

Attributes

nextInChain (WebGPU::Direct::ChainedStruct)
message (char)
type (WGPUCompilationMessageType)
lineNum (uint64_t)
linePos (uint64_t)
offset (uint64_t)
length (uint64_t)
utf16LinePos (uint64_t)
utf16Offset (uint64_t)
utf16Length (uint64_t)

WebGPU::Direct::ComputePassTimestampWrites

Attributes

querySet (WebGPU::Direct::QuerySet)
beginningOfPassWriteIndex (uint32_t)
endOfPassWriteIndex (uint32_t)

WebGPU::Direct::ConstantEntry

Attributes

nextInChain (WebGPU::Direct::ChainedStruct)
key (char)
value (double)

WebGPU::Direct::Extent3D

Attributes

width (uint32_t)
height (uint32_t)
depthOrArrayLayers (uint32_t)

WebGPU::Direct::InstanceDescriptor

Attributes

nextInChain (WebGPU::Direct::ChainedStruct)

WebGPU::Direct::Limits

Attributes

maxTextureDimension1D (uint32_t)
maxTextureDimension2D (uint32_t)
maxTextureDimension3D (uint32_t)
maxTextureArrayLayers (uint32_t)
maxBindGroups (uint32_t)
maxBindGroupsPlusVertexBuffers (uint32_t)
maxBindingsPerBindGroup (uint32_t)
maxDynamicUniformBuffersPerPipelineLayout (uint32_t)
maxDynamicStorageBuffersPerPipelineLayout (uint32_t)
maxSampledTexturesPerShaderStage (uint32_t)
maxSamplersPerShaderStage (uint32_t)
maxStorageBuffersPerShaderStage (uint32_t)
maxStorageTexturesPerShaderStage (uint32_t)
maxUniformBuffersPerShaderStage (uint32_t)
maxUniformBufferBindingSize (uint64_t)
maxStorageBufferBindingSize (uint64_t)
minUniformBufferOffsetAlignment (uint32_t)
minStorageBufferOffsetAlignment (uint32_t)
maxVertexBuffers (uint32_t)
maxBufferSize (uint64_t)
maxVertexAttributes (uint32_t)
maxVertexBufferArrayStride (uint32_t)
maxInterStageShaderComponents (uint32_t)
maxInterStageShaderVariables (uint32_t)
maxColorAttachments (uint32_t)
maxColorAttachmentBytesPerSample (uint32_t)
maxComputeWorkgroupStorageSize (uint32_t)
maxComputeInvocationsPerWorkgroup (uint32_t)
maxComputeWorkgroupSizeX (uint32_t)
maxComputeWorkgroupSizeY (uint32_t)
maxComputeWorkgroupSizeZ (uint32_t)
maxComputeWorkgroupsPerDimension (uint32_t)

WebGPU::Direct::MultisampleState

Attributes

nextInChain (WebGPU::Direct::ChainedStruct)
count (uint32_t)
mask (uint32_t)
alphaToCoverageEnabled (WGPUBool)

WebGPU::Direct::Origin3D

Attributes

x (uint32_t)
y (uint32_t)
z (uint32_t)

WebGPU::Direct::PipelineLayoutDescriptor

Attributes

nextInChain (WebGPU::Direct::ChainedStruct)
label (char)
bindGroupLayoutCount (size_t)
bindGroupLayouts (WebGPU::Direct::BindGroupLayout)

WebGPU::Direct::PrimitiveDepthClipControl

Attributes

chain (WebGPU::Direct::ChainedStruct)
unclippedDepth (WGPUBool)

WebGPU::Direct::PrimitiveState

Attributes

nextInChain (WebGPU::Direct::ChainedStruct)
topology (WGPUPrimitiveTopology)
stripIndexFormat (WGPUIndexFormat)
frontFace (WGPUFrontFace)
cullMode (WGPUCullMode)

WebGPU::Direct::QuerySetDescriptor

Attributes

nextInChain (WebGPU::Direct::ChainedStruct)
label (char)
type (WGPUQueryType)
count (uint32_t)

WebGPU::Direct::QueueDescriptor

Attributes

nextInChain (WebGPU::Direct::ChainedStruct)
label (char)

WebGPU::Direct::RenderBundleDescriptor

Attributes

nextInChain (WebGPU::Direct::ChainedStruct)
label (char)

WebGPU::Direct::RenderBundleEncoderDescriptor

Attributes

nextInChain (WebGPU::Direct::ChainedStruct)
label (char)
colorFormatCount (size_t)
colorFormats (WGPUTextureFormat)
depthStencilFormat (WGPUTextureFormat)
sampleCount (uint32_t)
depthReadOnly (WGPUBool)
stencilReadOnly (WGPUBool)

WebGPU::Direct::RenderPassDepthStencilAttachment

Attributes

view (WebGPU::Direct::TextureView)
depthLoadOp (WGPULoadOp)
depthStoreOp (WGPUStoreOp)
depthClearValue (float)
depthReadOnly (WGPUBool)
stencilLoadOp (WGPULoadOp)
stencilStoreOp (WGPUStoreOp)
stencilClearValue (uint32_t)
stencilReadOnly (WGPUBool)

WebGPU::Direct::RenderPassDescriptorMaxDrawCount

Attributes

chain (WebGPU::Direct::ChainedStruct)
maxDrawCount (uint64_t)

WebGPU::Direct::RenderPassTimestampWrites

Attributes

querySet (WebGPU::Direct::QuerySet)
beginningOfPassWriteIndex (uint32_t)
endOfPassWriteIndex (uint32_t)

WebGPU::Direct::RequestAdapterOptions

Attributes

nextInChain (WebGPU::Direct::ChainedStruct)
compatibleSurface (WebGPU::Direct::Surface)
powerPreference (WGPUPowerPreference)
backendType (WGPUBackendType)
forceFallbackAdapter (WGPUBool)

WebGPU::Direct::SamplerBindingLayout

Attributes

nextInChain (WebGPU::Direct::ChainedStruct)
type (WGPUSamplerBindingType)

WebGPU::Direct::SamplerDescriptor

Attributes

nextInChain (WebGPU::Direct::ChainedStruct)
label (char)
addressModeU (WGPUAddressMode)
addressModeV (WGPUAddressMode)
addressModeW (WGPUAddressMode)
magFilter (WGPUFilterMode)
minFilter (WGPUFilterMode)
mipmapFilter (WGPUMipmapFilterMode)
lodMinClamp (float)
lodMaxClamp (float)
compare (WGPUCompareFunction)
maxAnisotropy (uint16_t)

WebGPU::Direct::ShaderModuleCompilationHint

Attributes

nextInChain (WebGPU::Direct::ChainedStruct)
entryPoint (char)
layout (WebGPU::Direct::PipelineLayout)

WebGPU::Direct::ShaderModuleSPIRVDescriptor

Attributes

chain (WebGPU::Direct::ChainedStruct)
codeSize (uint32_t)
code (uint32_t)

WebGPU::Direct::ShaderModuleWGSLDescriptor

Attributes

chain (WebGPU::Direct::ChainedStruct)
code (char)

WebGPU::Direct::StencilFaceState

Attributes

compare (WGPUCompareFunction)
failOp (WGPUStencilOperation)
depthFailOp (WGPUStencilOperation)
passOp (WGPUStencilOperation)

WebGPU::Direct::StorageTextureBindingLayout

Attributes

nextInChain (WebGPU::Direct::ChainedStruct)
access (WGPUStorageTextureAccess)
format (WGPUTextureFormat)
viewDimension (WGPUTextureViewDimension)

WebGPU::Direct::SurfaceCapabilities

Attributes

nextInChain (WebGPU::Direct::ChainedStructOut)
formatCount (size_t)
formats (WGPUTextureFormat)
presentModeCount (size_t)
presentModes (WGPUPresentMode)
alphaModeCount (size_t)
alphaModes (WGPUCompositeAlphaMode)

WebGPU::Direct::SurfaceConfiguration

Attributes

nextInChain (WebGPU::Direct::ChainedStruct)
device (WebGPU::Direct::Device)
format (WGPUTextureFormat)
usage (WGPUTextureUsageFlags)
viewFormatCount (size_t)
viewFormats (WGPUTextureFormat)
alphaMode (WGPUCompositeAlphaMode)
width (uint32_t)
height (uint32_t)
presentMode (WGPUPresentMode)

WebGPU::Direct::SurfaceDescriptor

Attributes

nextInChain (WebGPU::Direct::ChainedStruct)
label (char)

WebGPU::Direct::SurfaceDescriptorFromAndroidNativeWindow

Attributes

chain (WebGPU::Direct::ChainedStruct)
window (void)

WebGPU::Direct::SurfaceDescriptorFromCanvasHTMLSelector

Attributes

chain (WebGPU::Direct::ChainedStruct)
selector (char)

WebGPU::Direct::SurfaceDescriptorFromMetalLayer

Attributes

chain (WebGPU::Direct::ChainedStruct)
layer (void)

WebGPU::Direct::SurfaceDescriptorFromWaylandSurface

Attributes

chain (WebGPU::Direct::ChainedStruct)
display (void)
surface (void)

WebGPU::Direct::SurfaceDescriptorFromWindowsHWND

Attributes

chain (WebGPU::Direct::ChainedStruct)
hinstance (void)
hwnd (void)

WebGPU::Direct::SurfaceDescriptorFromXcbWindow

Attributes

chain (WebGPU::Direct::ChainedStruct)
connection (void)
window (uint32_t)

WebGPU::Direct::SurfaceDescriptorFromXlibWindow

Attributes

chain (WebGPU::Direct::ChainedStruct)
display (void)
window (uint64_t)

WebGPU::Direct::SurfaceTexture

Attributes

texture (WebGPU::Direct::Texture)
suboptimal (WGPUBool)
status (WGPUSurfaceGetCurrentTextureStatus)

WebGPU::Direct::TextureBindingLayout

Attributes

nextInChain (WebGPU::Direct::ChainedStruct)
sampleType (WGPUTextureSampleType)
viewDimension (WGPUTextureViewDimension)
multisampled (WGPUBool)

WebGPU::Direct::TextureDataLayout

Attributes

nextInChain (WebGPU::Direct::ChainedStruct)
offset (uint64_t)
bytesPerRow (uint32_t)
rowsPerImage (uint32_t)

WebGPU::Direct::TextureViewDescriptor

Attributes

nextInChain (WebGPU::Direct::ChainedStruct)
label (char)
format (WGPUTextureFormat)
dimension (WGPUTextureViewDimension)
baseMipLevel (uint32_t)
mipLevelCount (uint32_t)
baseArrayLayer (uint32_t)
arrayLayerCount (uint32_t)
aspect (WGPUTextureAspect)

WebGPU::Direct::VertexAttribute

Attributes

format (WGPUVertexFormat)
offset (uint64_t)
shaderLocation (uint32_t)

WebGPU::Direct::BindGroupDescriptor

Attributes

nextInChain (WebGPU::Direct::ChainedStruct)
label (char)
layout (WebGPU::Direct::BindGroupLayout)
entryCount (size_t)
entries (WebGPU::Direct::BindGroupEntry)

WebGPU::Direct::BindGroupLayoutEntry

Attributes

nextInChain (WebGPU::Direct::ChainedStruct)
binding (uint32_t)
visibility (WGPUShaderStageFlags)
buffer (WebGPU::Direct::BufferBindingLayout)
sampler (WebGPU::Direct::SamplerBindingLayout)
texture (WebGPU::Direct::TextureBindingLayout)
storageTexture (WebGPU::Direct::StorageTextureBindingLayout)

WebGPU::Direct::BlendState

Attributes

color (WebGPU::Direct::BlendComponent)
alpha (WebGPU::Direct::BlendComponent)

WebGPU::Direct::CompilationInfo

Attributes

nextInChain (WebGPU::Direct::ChainedStruct)
messageCount (size_t)
messages (WebGPU::Direct::CompilationMessage)

WebGPU::Direct::ComputePassDescriptor

Attributes

nextInChain (WebGPU::Direct::ChainedStruct)
label (char)
timestampWrites (WebGPU::Direct::ComputePassTimestampWrites)

WebGPU::Direct::DepthStencilState

Attributes

nextInChain (WebGPU::Direct::ChainedStruct)
format (WGPUTextureFormat)
depthWriteEnabled (WGPUBool)
depthCompare (WGPUCompareFunction)
stencilFront (WebGPU::Direct::StencilFaceState)
stencilBack (WebGPU::Direct::StencilFaceState)
stencilReadMask (uint32_t)
stencilWriteMask (uint32_t)
depthBias (int32_t)
depthBiasSlopeScale (float)
depthBiasClamp (float)

WebGPU::Direct::ImageCopyBuffer

Attributes

nextInChain (WebGPU::Direct::ChainedStruct)
layout (WebGPU::Direct::TextureDataLayout)
buffer (WebGPU::Direct::Buffer)

WebGPU::Direct::ImageCopyTexture

Attributes

nextInChain (WebGPU::Direct::ChainedStruct)
texture (WebGPU::Direct::Texture)
mipLevel (uint32_t)
origin (WebGPU::Direct::Origin3D)
aspect (WGPUTextureAspect)

WebGPU::Direct::ProgrammableStageDescriptor

Attributes

nextInChain (WebGPU::Direct::ChainedStruct)
module (WebGPU::Direct::ShaderModule)
entryPoint (char)
constantCount (size_t)
constants (WebGPU::Direct::ConstantEntry)

WebGPU::Direct::RenderPassColorAttachment

Attributes

nextInChain (WebGPU::Direct::ChainedStruct)
view (WebGPU::Direct::TextureView)
resolveTarget (WebGPU::Direct::TextureView)
loadOp (WGPULoadOp)
storeOp (WGPUStoreOp)
clearValue (WebGPU::Direct::Color)

WebGPU::Direct::RequiredLimits

Attributes

nextInChain (WebGPU::Direct::ChainedStruct)
limits (WebGPU::Direct::Limits)

WebGPU::Direct::ShaderModuleDescriptor

Attributes

nextInChain (WebGPU::Direct::ChainedStruct)
label (char)
hintCount (size_t)
hints (WebGPU::Direct::ShaderModuleCompilationHint)

WebGPU::Direct::SupportedLimits

Attributes

nextInChain (WebGPU::Direct::ChainedStructOut)
limits (WebGPU::Direct::Limits)

WebGPU::Direct::TextureDescriptor

Attributes

nextInChain (WebGPU::Direct::ChainedStruct)
label (char)
usage (WGPUTextureUsageFlags)
dimension (WGPUTextureDimension)
size (WebGPU::Direct::Extent3D)
format (WGPUTextureFormat)
mipLevelCount (uint32_t)
sampleCount (uint32_t)
viewFormatCount (size_t)
viewFormats (WGPUTextureFormat)

WebGPU::Direct::VertexBufferLayout

Attributes

arrayStride (uint64_t)
stepMode (WGPUVertexStepMode)
attributeCount (size_t)
attributes (WebGPU::Direct::VertexAttribute)

WebGPU::Direct::BindGroupLayoutDescriptor

Attributes

nextInChain (WebGPU::Direct::ChainedStruct)
label (char)
entryCount (size_t)
entries (WebGPU::Direct::BindGroupLayoutEntry)

WebGPU::Direct::ColorTargetState

Attributes

nextInChain (WebGPU::Direct::ChainedStruct)
format (WGPUTextureFormat)
blend (WebGPU::Direct::BlendState)
writeMask (WGPUColorWriteMaskFlags)

WebGPU::Direct::ComputePipelineDescriptor

Attributes

nextInChain (WebGPU::Direct::ChainedStruct)
label (char)
layout (WebGPU::Direct::PipelineLayout)
compute (WebGPU::Direct::ProgrammableStageDescriptor)

WebGPU::Direct::DeviceDescriptor

Attributes

nextInChain (WebGPU::Direct::ChainedStruct)
label (char)
requiredFeatureCount (size_t)
requiredFeatures (WGPUFeatureName)
requiredLimits (WebGPU::Direct::RequiredLimits)
defaultQueue (WebGPU::Direct::QueueDescriptor)
deviceLostCallback (void)
deviceLostUserdata (void)

WebGPU::Direct::RenderPassDescriptor

Attributes

nextInChain (WebGPU::Direct::ChainedStruct)
label (char)
colorAttachmentCount (size_t)
colorAttachments (WebGPU::Direct::RenderPassColorAttachment)
depthStencilAttachment (WebGPU::Direct::RenderPassDepthStencilAttachment)
occlusionQuerySet (WebGPU::Direct::QuerySet)
timestampWrites (WebGPU::Direct::RenderPassTimestampWrites)

WebGPU::Direct::VertexState

Attributes

nextInChain (WebGPU::Direct::ChainedStruct)
module (WebGPU::Direct::ShaderModule)
entryPoint (char)
constantCount (size_t)
constants (WebGPU::Direct::ConstantEntry)
bufferCount (size_t)
buffers (WebGPU::Direct::VertexBufferLayout)

WebGPU::Direct::FragmentState

Attributes

nextInChain (WebGPU::Direct::ChainedStruct)
module (WebGPU::Direct::ShaderModule)
entryPoint (char)
constantCount (size_t)
constants (WebGPU::Direct::ConstantEntry)
targetCount (size_t)
targets (WebGPU::Direct::ColorTargetState)

WebGPU::Direct::RenderPipelineDescriptor

Attributes

nextInChain (WebGPU::Direct::ChainedStruct)
label (char)
layout (WebGPU::Direct::PipelineLayout)
vertex (WebGPU::Direct::VertexState)
primitive (WebGPU::Direct::PrimitiveState)
depthStencil (WebGPU::Direct::DepthStencilState)
multisample (WebGPU::Direct::MultisampleState)
fragment (WebGPU::Direct::FragmentState)