WebGPU::Direct::ChainedStruct
Attributes
sType (WebGPU::Direct::SType)
WebGPU::Direct::ChainedStructOut
Attributes
sType (WebGPU::Direct::SType)
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 (WebGPU::Direct::AdapterType)
backendType (WebGPU::Direct::BackendType)
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 (WebGPU::Direct::BlendOperation)
srcFactor (WebGPU::Direct::BlendFactor)
dstFactor (WebGPU::Direct::BlendFactor)
WebGPU::Direct::BufferBindingLayout
Attributes
nextInChain (WebGPU::Direct::ChainedStruct)
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 *))
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 (WebGPU::Direct::PrimitiveTopology)
stripIndexFormat (WebGPU::Direct::IndexFormat)
frontFace (WebGPU::Direct::FrontFace)
cullMode (WebGPU::Direct::CullMode)
WebGPU::Direct::QuerySetDescriptor
Attributes
nextInChain (WebGPU::Direct::ChainedStruct)
label (String (char *))
type (WebGPU::Direct::QueryType)
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 (WebGPU::Direct::TextureFormat)
depthStencilFormat (WebGPU::Direct::TextureFormat)
sampleCount (Unsigned 32bit (uint32_t))
depthReadOnly (Boolean (WGPUBool))
stencilReadOnly (Boolean (WGPUBool))
WebGPU::Direct::RenderPassDepthStencilAttachment
Attributes
view (WebGPU::Direct::TextureView)
depthLoadOp (WebGPU::Direct::LoadOp)
depthStoreOp (WebGPU::Direct::StoreOp)
depthClearValue (Float (float))
depthReadOnly (Boolean (WGPUBool))
stencilLoadOp (WebGPU::Direct::LoadOp)
stencilStoreOp (WebGPU::Direct::StoreOp)
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 (WebGPU::Direct::PowerPreference)
backendType (WebGPU::Direct::BackendType)
forceFallbackAdapter (Boolean (WGPUBool))
WebGPU::Direct::SamplerBindingLayout
Attributes
nextInChain (WebGPU::Direct::ChainedStruct)
WebGPU::Direct::SamplerDescriptor
Attributes
nextInChain (WebGPU::Direct::ChainedStruct)
label (String (char *))
addressModeU (WebGPU::Direct::AddressMode)
addressModeV (WebGPU::Direct::AddressMode)
addressModeW (WebGPU::Direct::AddressMode)
magFilter (WebGPU::Direct::FilterMode)
minFilter (WebGPU::Direct::FilterMode)
mipmapFilter (WebGPU::Direct::MipmapFilterMode)
lodMinClamp (Float (float))
lodMaxClamp (Float (float))
compare (WebGPU::Direct::CompareFunction)
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 (WebGPU::Direct::CompareFunction)
failOp (WebGPU::Direct::StencilOperation)
depthFailOp (WebGPU::Direct::StencilOperation)
passOp (WebGPU::Direct::StencilOperation)
WebGPU::Direct::StorageTextureBindingLayout
Attributes
nextInChain (WebGPU::Direct::ChainedStruct)
access (WebGPU::Direct::StorageTextureAccess)
format (WebGPU::Direct::TextureFormat)
viewDimension (WebGPU::Direct::TextureViewDimension)
WebGPU::Direct::SurfaceCapabilities
Attributes
nextInChain (WebGPU::Direct::ChainedStructOut)
formatCount (Integer (size_t))
formats (WebGPU::Direct::TextureFormat)
presentModeCount (Integer (size_t))
presentModes (WebGPU::Direct::PresentMode)
alphaModeCount (Integer (size_t))
alphaModes (WebGPU::Direct::CompositeAlphaMode)
WebGPU::Direct::SurfaceConfiguration
Attributes
nextInChain (WebGPU::Direct::ChainedStruct)
device (WebGPU::Direct::Device)
format (WebGPU::Direct::TextureFormat)
usage (WGPUTextureUsageFlags)
viewFormatCount (Integer (size_t))
viewFormats (WebGPU::Direct::TextureFormat)
alphaMode (WebGPU::Direct::CompositeAlphaMode)
width (Unsigned 32bit (uint32_t))
height (Unsigned 32bit (uint32_t))
presentMode (WebGPU::Direct::PresentMode)
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))
WebGPU::Direct::TextureBindingLayout
Attributes
nextInChain (WebGPU::Direct::ChainedStruct)
sampleType (WebGPU::Direct::TextureSampleType)
viewDimension (WebGPU::Direct::TextureViewDimension)
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 (WebGPU::Direct::TextureFormat)
dimension (WebGPU::Direct::TextureViewDimension)
baseMipLevel (Unsigned 32bit (uint32_t))
mipLevelCount (Unsigned 32bit (uint32_t))
baseArrayLayer (Unsigned 32bit (uint32_t))
arrayLayerCount (Unsigned 32bit (uint32_t))
aspect (WebGPU::Direct::TextureAspect)
WebGPU::Direct::VertexAttribute
Attributes
format (WebGPU::Direct::VertexFormat)
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 (WebGPU::Direct::TextureFormat)
depthWriteEnabled (Boolean (WGPUBool))
depthCompare (WebGPU::Direct::CompareFunction)
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 (WebGPU::Direct::TextureAspect)
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 (WebGPU::Direct::LoadOp)
storeOp (WebGPU::Direct::StoreOp)
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 (WebGPU::Direct::TextureDimension)
size (WebGPU::Direct::Extent3D)
format (WebGPU::Direct::TextureFormat)
mipLevelCount (Unsigned 32bit (uint32_t))
sampleCount (Unsigned 32bit (uint32_t))
viewFormatCount (Integer (size_t))
viewFormats (WebGPU::Direct::TextureFormat)
WebGPU::Direct::VertexBufferLayout
Attributes
arrayStride (Unsigned 64bit (uint64_t))
stepMode (WebGPU::Direct::VertexStepMode)
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 (WebGPU::Direct::TextureFormat)
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 (WebGPU::Direct::FeatureName)
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)