NAME
WebGPU::Direct::Device
Methods
createBindGroup
Return Type
Arguments
descriptor (WebGPU::Direct::BindGroupDescriptor)
createBindGroupLayout
Return Type
Arguments
descriptor (WebGPU::Direct::BindGroupLayoutDescriptor)
createBuffer
Return Type
Arguments
descriptor (WebGPU::Direct::BufferDescriptor)
createCommandEncoder
Return Type
Arguments
descriptor (WebGPU::Direct::CommandEncoderDescriptor) Default: {}
createComputePipeline
Return Type
Arguments
descriptor (WebGPU::Direct::ComputePipelineDescriptor)
createComputePipelineAsync
Arguments
descriptor (WebGPU::Direct::ComputePipelineDescriptor)
callback (WebGPU::Direct::CreateComputePipelineAsyncCallback (Code reference))
userdata (Scalar (void *))
createPipelineLayout
Return Type
Arguments
descriptor (WebGPU::Direct::PipelineLayoutDescriptor)
createQuerySet
Return Type
Arguments
descriptor (WebGPU::Direct::QuerySetDescriptor)
createRenderBundleEncoder
Return Type
Arguments
descriptor (WebGPU::Direct::RenderBundleEncoderDescriptor)
createRenderPipeline
Return Type
Arguments
descriptor (WebGPU::Direct::RenderPipelineDescriptor)
createRenderPipelineAsync
Arguments
descriptor (WebGPU::Direct::RenderPipelineDescriptor)
callback (WebGPU::Direct::CreateRenderPipelineAsyncCallback (Code reference))
userdata (Scalar (void *))
createSampler
Return Type
Arguments
descriptor (WebGPU::Direct::SamplerDescriptor) Default: {}
createShaderModule
Return Type
Arguments
descriptor (WebGPU::Direct::ShaderModuleDescriptor)
createTexture
Return Type
Arguments
descriptor (WebGPU::Direct::TextureDescriptor)
destroy
enumerateFeatures
Return Type
Integer (size_t)
Arguments
features (WebGPU::Direct::FeatureName)
getLimits
Return Type
Boolean (WGPUBool)
Arguments
limits (WebGPU::Direct::SupportedLimits)
getQueue
Return Type
hasFeature
Return Type
Boolean (WGPUBool)
Arguments
feature (WebGPU::Direct::FeatureName)
popErrorScope
Arguments
callback (WebGPU::Direct::ErrorCallback (Code reference))
userdata (Scalar (void *))
pushErrorScope
Arguments
filter (WebGPU::Direct::ErrorFilter)
setLabel
Arguments
label (String (char *))
setUncapturedErrorCallback
Arguments
callback (WebGPU::Direct::ErrorCallback (Code reference))
userdata (Scalar (void *))