WebGPU::Direct::ChainedStruct
Attributes
sType (WGPUSType)
WebGPU::Direct::ChainedStructOut
Attributes
sType (WGPUSType)
WebGPU::Direct::AdapterProperties
Attributes
nextInChain (WebGPU::Direct::ChainedStructOut)
vendorID (Unsigned 32bit (uint32_t))
vendorName (String (char *))
architecture (String (char *))
deviceID (Unsigned 32bit (uint32_t))
name (String (char *))
driverDescription (String (char *))
adapterType (WGPUAdapterType)
backendType (WGPUBackendType)
WebGPU::Direct::BindGroupEntry
Attributes
nextInChain (WebGPU::Direct::ChainedStruct)
binding (Unsigned 32bit (uint32_t))
buffer (WebGPU::Direct::Buffer)
offset (Unsigned 64bit (uint64_t))
size (Unsigned 64bit (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 (Boolean (WGPUBool))
minBindingSize (Unsigned 64bit (uint64_t))
WebGPU::Direct::BufferDescriptor
Attributes
nextInChain (WebGPU::Direct::ChainedStruct)
label (String (char *))
usage (WGPUBufferUsageFlags)
size (Unsigned 64bit (uint64_t))
mappedAtCreation (Boolean (WGPUBool))
WebGPU::Direct::Color
Attributes
r (Double (double))
g (Double (double))
b (Double (double))
a (Double (double))
WebGPU::Direct::CommandBufferDescriptor
Attributes
nextInChain (WebGPU::Direct::ChainedStruct)
label (String (char *))
WebGPU::Direct::CommandEncoderDescriptor
Attributes
nextInChain (WebGPU::Direct::ChainedStruct)
label (String (char *))
WebGPU::Direct::CompilationMessage
Attributes
nextInChain (WebGPU::Direct::ChainedStruct)
message (String (char *))
type (WGPUCompilationMessageType)
lineNum (Unsigned 64bit (uint64_t))
linePos (Unsigned 64bit (uint64_t))
offset (Unsigned 64bit (uint64_t))
length (Unsigned 64bit (uint64_t))
utf16LinePos (Unsigned 64bit (uint64_t))
utf16Offset (Unsigned 64bit (uint64_t))
utf16Length (Unsigned 64bit (uint64_t))
WebGPU::Direct::ComputePassTimestampWrites
Attributes
querySet (WebGPU::Direct::QuerySet)
beginningOfPassWriteIndex (Unsigned 32bit (uint32_t))
endOfPassWriteIndex (Unsigned 32bit (uint32_t))
WebGPU::Direct::ConstantEntry
Attributes
nextInChain (WebGPU::Direct::ChainedStruct)
key (String (char *))
value (Double (double))
WebGPU::Direct::Extent3D
Attributes
width (Unsigned 32bit (uint32_t))
height (Unsigned 32bit (uint32_t))
depthOrArrayLayers (Unsigned 32bit (uint32_t))
WebGPU::Direct::InstanceDescriptor
Attributes
nextInChain (WebGPU::Direct::ChainedStruct)
WebGPU::Direct::Limits
Attributes
maxTextureDimension1D (Unsigned 32bit (uint32_t))
maxTextureDimension2D (Unsigned 32bit (uint32_t))
maxTextureDimension3D (Unsigned 32bit (uint32_t))
maxTextureArrayLayers (Unsigned 32bit (uint32_t))
maxBindGroups (Unsigned 32bit (uint32_t))
maxBindGroupsPlusVertexBuffers (Unsigned 32bit (uint32_t))
maxBindingsPerBindGroup (Unsigned 32bit (uint32_t))
maxDynamicUniformBuffersPerPipelineLayout (Unsigned 32bit (uint32_t))
maxDynamicStorageBuffersPerPipelineLayout (Unsigned 32bit (uint32_t))
maxSampledTexturesPerShaderStage (Unsigned 32bit (uint32_t))
maxSamplersPerShaderStage (Unsigned 32bit (uint32_t))
maxStorageBuffersPerShaderStage (Unsigned 32bit (uint32_t))
maxStorageTexturesPerShaderStage (Unsigned 32bit (uint32_t))
maxUniformBuffersPerShaderStage (Unsigned 32bit (uint32_t))
maxUniformBufferBindingSize (Unsigned 64bit (uint64_t))
maxStorageBufferBindingSize (Unsigned 64bit (uint64_t))
minUniformBufferOffsetAlignment (Unsigned 32bit (uint32_t))
minStorageBufferOffsetAlignment (Unsigned 32bit (uint32_t))
maxVertexBuffers (Unsigned 32bit (uint32_t))
maxBufferSize (Unsigned 64bit (uint64_t))
maxVertexAttributes (Unsigned 32bit (uint32_t))
maxVertexBufferArrayStride (Unsigned 32bit (uint32_t))
maxInterStageShaderComponents (Unsigned 32bit (uint32_t))
maxInterStageShaderVariables (Unsigned 32bit (uint32_t))
maxColorAttachments (Unsigned 32bit (uint32_t))
maxColorAttachmentBytesPerSample (Unsigned 32bit (uint32_t))
maxComputeWorkgroupStorageSize (Unsigned 32bit (uint32_t))
maxComputeInvocationsPerWorkgroup (Unsigned 32bit (uint32_t))
maxComputeWorkgroupSizeX (Unsigned 32bit (uint32_t))
maxComputeWorkgroupSizeY (Unsigned 32bit (uint32_t))
maxComputeWorkgroupSizeZ (Unsigned 32bit (uint32_t))
maxComputeWorkgroupsPerDimension (Unsigned 32bit (uint32_t))
WebGPU::Direct::MultisampleState
Attributes
nextInChain (WebGPU::Direct::ChainedStruct)
count (Unsigned 32bit (uint32_t))
mask (Unsigned 32bit (uint32_t))
alphaToCoverageEnabled (Boolean (WGPUBool))
WebGPU::Direct::Origin3D
Attributes
x (Unsigned 32bit (uint32_t))
y (Unsigned 32bit (uint32_t))
z (Unsigned 32bit (uint32_t))
WebGPU::Direct::PipelineLayoutDescriptor
Attributes
nextInChain (WebGPU::Direct::ChainedStruct)
label (String (char *))
bindGroupLayoutCount (Integer (size_t))
bindGroupLayouts (WebGPU::Direct::BindGroupLayout)
WebGPU::Direct::PrimitiveDepthClipControl
Attributes
chain (WebGPU::Direct::ChainedStruct)
unclippedDepth (Boolean (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 (String (char *))
type (WGPUQueryType)
count (Unsigned 32bit (uint32_t))
WebGPU::Direct::QueueDescriptor
Attributes
nextInChain (WebGPU::Direct::ChainedStruct)
label (String (char *))
WebGPU::Direct::RenderBundleDescriptor
Attributes
nextInChain (WebGPU::Direct::ChainedStruct)
label (String (char *))
WebGPU::Direct::RenderBundleEncoderDescriptor
Attributes
nextInChain (WebGPU::Direct::ChainedStruct)
label (String (char *))
colorFormatCount (Integer (size_t))
colorFormats (WGPUTextureFormat)
depthStencilFormat (WGPUTextureFormat)
sampleCount (Unsigned 32bit (uint32_t))
depthReadOnly (Boolean (WGPUBool))
stencilReadOnly (Boolean (WGPUBool))
WebGPU::Direct::RenderPassDepthStencilAttachment
Attributes
view (WebGPU::Direct::TextureView)
depthLoadOp (WGPULoadOp)
depthStoreOp (WGPUStoreOp)
depthClearValue (Float (float))
depthReadOnly (Boolean (WGPUBool))
stencilLoadOp (WGPULoadOp)
stencilStoreOp (WGPUStoreOp)
stencilClearValue (Unsigned 32bit (uint32_t))
stencilReadOnly (Boolean (WGPUBool))
WebGPU::Direct::RenderPassDescriptorMaxDrawCount
Attributes
chain (WebGPU::Direct::ChainedStruct)
maxDrawCount (Unsigned 64bit (uint64_t))
WebGPU::Direct::RenderPassTimestampWrites
Attributes
querySet (WebGPU::Direct::QuerySet)
beginningOfPassWriteIndex (Unsigned 32bit (uint32_t))
endOfPassWriteIndex (Unsigned 32bit (uint32_t))
WebGPU::Direct::RequestAdapterOptions
Attributes
nextInChain (WebGPU::Direct::ChainedStruct)
compatibleSurface (WebGPU::Direct::Surface)
powerPreference (WGPUPowerPreference)
backendType (WGPUBackendType)
forceFallbackAdapter (Boolean (WGPUBool))
WebGPU::Direct::SamplerBindingLayout
Attributes
nextInChain (WebGPU::Direct::ChainedStruct)
type (WGPUSamplerBindingType)
WebGPU::Direct::SamplerDescriptor
Attributes
nextInChain (WebGPU::Direct::ChainedStruct)
label (String (char *))
addressModeU (WGPUAddressMode)
addressModeV (WGPUAddressMode)
addressModeW (WGPUAddressMode)
magFilter (WGPUFilterMode)
minFilter (WGPUFilterMode)
mipmapFilter (WGPUMipmapFilterMode)
lodMinClamp (Float (float))
lodMaxClamp (Float (float))
compare (WGPUCompareFunction)
maxAnisotropy (Unsigned 16bit (uint16_t))
WebGPU::Direct::ShaderModuleCompilationHint
Attributes
nextInChain (WebGPU::Direct::ChainedStruct)
entryPoint (String (char *))
layout (WebGPU::Direct::PipelineLayout)
WebGPU::Direct::ShaderModuleSPIRVDescriptor
Attributes
chain (WebGPU::Direct::ChainedStruct)
codeSize (Unsigned 32bit (uint32_t))
code (Unsigned 32bit (uint32_t))
WebGPU::Direct::ShaderModuleWGSLDescriptor
Attributes
chain (WebGPU::Direct::ChainedStruct)
code (String (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 (Integer (size_t))
formats (WGPUTextureFormat)
presentModeCount (Integer (size_t))
presentModes (WGPUPresentMode)
alphaModeCount (Integer (size_t))
alphaModes (WGPUCompositeAlphaMode)
WebGPU::Direct::SurfaceConfiguration
Attributes
nextInChain (WebGPU::Direct::ChainedStruct)
device (WebGPU::Direct::Device)
format (WGPUTextureFormat)
usage (WGPUTextureUsageFlags)
viewFormatCount (Integer (size_t))
viewFormats (WGPUTextureFormat)
alphaMode (WGPUCompositeAlphaMode)
width (Unsigned 32bit (uint32_t))
height (Unsigned 32bit (uint32_t))
presentMode (WGPUPresentMode)
WebGPU::Direct::SurfaceDescriptor
Attributes
nextInChain (WebGPU::Direct::ChainedStruct)
label (String (char *))
WebGPU::Direct::SurfaceDescriptorFromAndroidNativeWindow
Attributes
chain (WebGPU::Direct::ChainedStruct)
window (Scalar (void *))
WebGPU::Direct::SurfaceDescriptorFromCanvasHTMLSelector
Attributes
chain (WebGPU::Direct::ChainedStruct)
selector (String (char *))
WebGPU::Direct::SurfaceDescriptorFromMetalLayer
Attributes
chain (WebGPU::Direct::ChainedStruct)
layer (Scalar (void *))
WebGPU::Direct::SurfaceDescriptorFromWaylandSurface
Attributes
chain (WebGPU::Direct::ChainedStruct)
display (Scalar (void *))
surface (Scalar (void *))
WebGPU::Direct::SurfaceDescriptorFromWindowsHWND
Attributes
chain (WebGPU::Direct::ChainedStruct)
hinstance (Scalar (void *))
hwnd (Scalar (void *))
WebGPU::Direct::SurfaceDescriptorFromXcbWindow
Attributes
chain (WebGPU::Direct::ChainedStruct)
connection (Scalar (void *))
window (Unsigned 32bit (uint32_t))
WebGPU::Direct::SurfaceDescriptorFromXlibWindow
Attributes
chain (WebGPU::Direct::ChainedStruct)
display (Scalar (void *))
window (Unsigned 64bit (uint64_t))
WebGPU::Direct::SurfaceTexture
Attributes
texture (WebGPU::Direct::Texture)
suboptimal (Boolean (WGPUBool))
status (WGPUSurfaceGetCurrentTextureStatus)
WebGPU::Direct::TextureBindingLayout
Attributes
nextInChain (WebGPU::Direct::ChainedStruct)
sampleType (WGPUTextureSampleType)
viewDimension (WGPUTextureViewDimension)
multisampled (Boolean (WGPUBool))
WebGPU::Direct::TextureDataLayout
Attributes
nextInChain (WebGPU::Direct::ChainedStruct)
offset (Unsigned 64bit (uint64_t))
bytesPerRow (Unsigned 32bit (uint32_t))
rowsPerImage (Unsigned 32bit (uint32_t))
WebGPU::Direct::TextureViewDescriptor
Attributes
nextInChain (WebGPU::Direct::ChainedStruct)
label (String (char *))
format (WGPUTextureFormat)
dimension (WGPUTextureViewDimension)
baseMipLevel (Unsigned 32bit (uint32_t))
mipLevelCount (Unsigned 32bit (uint32_t))
baseArrayLayer (Unsigned 32bit (uint32_t))
arrayLayerCount (Unsigned 32bit (uint32_t))
aspect (WGPUTextureAspect)
WebGPU::Direct::VertexAttribute
Attributes
format (WGPUVertexFormat)
offset (Unsigned 64bit (uint64_t))
shaderLocation (Unsigned 32bit (uint32_t))
WebGPU::Direct::BindGroupDescriptor
Attributes
nextInChain (WebGPU::Direct::ChainedStruct)
label (String (char *))
layout (WebGPU::Direct::BindGroupLayout)
entryCount (Integer (size_t))
entries (WebGPU::Direct::BindGroupEntry)
WebGPU::Direct::BindGroupLayoutEntry
Attributes
nextInChain (WebGPU::Direct::ChainedStruct)
binding (Unsigned 32bit (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 (Integer (size_t))
messages (WebGPU::Direct::CompilationMessage)
WebGPU::Direct::ComputePassDescriptor
Attributes
nextInChain (WebGPU::Direct::ChainedStruct)
label (String (char *))
timestampWrites (WebGPU::Direct::ComputePassTimestampWrites)
WebGPU::Direct::DepthStencilState
Attributes
nextInChain (WebGPU::Direct::ChainedStruct)
format (WGPUTextureFormat)
depthWriteEnabled (Boolean (WGPUBool))
depthCompare (WGPUCompareFunction)
stencilFront (WebGPU::Direct::StencilFaceState)
stencilBack (WebGPU::Direct::StencilFaceState)
stencilReadMask (Unsigned 32bit (uint32_t))
stencilWriteMask (Unsigned 32bit (uint32_t))
depthBias (Signed 32bit (int32_t))
depthBiasSlopeScale (Float (float))
depthBiasClamp (Float (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 (Unsigned 32bit (uint32_t))
origin (WebGPU::Direct::Origin3D)
aspect (WGPUTextureAspect)
WebGPU::Direct::ProgrammableStageDescriptor
Attributes
nextInChain (WebGPU::Direct::ChainedStruct)
module (WebGPU::Direct::ShaderModule)
entryPoint (String (char *))
constantCount (Integer (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 (String (char *))
hintCount (Integer (size_t))
WebGPU::Direct::SupportedLimits
Attributes
nextInChain (WebGPU::Direct::ChainedStructOut)
limits (WebGPU::Direct::Limits)
WebGPU::Direct::TextureDescriptor
Attributes
nextInChain (WebGPU::Direct::ChainedStruct)
label (String (char *))
usage (WGPUTextureUsageFlags)
dimension (WGPUTextureDimension)
size (WebGPU::Direct::Extent3D)
format (WGPUTextureFormat)
mipLevelCount (Unsigned 32bit (uint32_t))
sampleCount (Unsigned 32bit (uint32_t))
viewFormatCount (Integer (size_t))
viewFormats (WGPUTextureFormat)
WebGPU::Direct::VertexBufferLayout
Attributes
arrayStride (Unsigned 64bit (uint64_t))
stepMode (WGPUVertexStepMode)
attributeCount (Integer (size_t))
attributes (WebGPU::Direct::VertexAttribute)
WebGPU::Direct::BindGroupLayoutDescriptor
Attributes
nextInChain (WebGPU::Direct::ChainedStruct)
label (String (char *))
entryCount (Integer (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 (String (char *))
layout (WebGPU::Direct::PipelineLayout)
WebGPU::Direct::DeviceDescriptor
Attributes
nextInChain (WebGPU::Direct::ChainedStruct)
label (String (char *))
requiredFeatureCount (Integer (size_t))
requiredFeatures (WGPUFeatureName)
requiredLimits (WebGPU::Direct::RequiredLimits)
defaultQueue (WebGPU::Direct::QueueDescriptor)
deviceLostCallback (WebGPU::Direct::DeviceLostCallback (Code reference))
deviceLostUserdata (Scalar (void *))
WebGPU::Direct::RenderPassDescriptor
Attributes
nextInChain (WebGPU::Direct::ChainedStruct)
label (String (char *))
colorAttachmentCount (Integer (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 (String (char *))
constantCount (Integer (size_t))
constants (WebGPU::Direct::ConstantEntry)
bufferCount (Integer (size_t))
buffers (WebGPU::Direct::VertexBufferLayout)
WebGPU::Direct::FragmentState
Attributes
nextInChain (WebGPU::Direct::ChainedStruct)
module (WebGPU::Direct::ShaderModule)
entryPoint (String (char *))
constantCount (Integer (size_t))
constants (WebGPU::Direct::ConstantEntry)
targetCount (Integer (size_t))
targets (WebGPU::Direct::ColorTargetState)
WebGPU::Direct::RenderPipelineDescriptor
Attributes
nextInChain (WebGPU::Direct::ChainedStruct)
label (String (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)