Class GPUDevice
Hierarchy
- EventTarget
- GPUDevice
Implements
Index
Constructors
Properties
Methods
- create
Bind Group - create
Bind Group Layout - create
Buffer - create
Command Encoder - create
Compute Pipeline - create
Compute Pipeline Async - create
Pipeline Layout - create
Query Set - create
Render Bundle Encoder - create
Render Pipeline - create
Render Pipeline Async - create
Sampler - create
Shader Module - create
Texture - destroy
- import
External Texture - pop
Error Scope - push
Error Scope
Constructors
constructor
Returns GPUDevice
Properties
Readonly featuresSearch playground for features
labelSearch playground for label
Readonly limitsSearch playground for limits
Readonly lostSearch playground for lost
onuncapturederrorSearch playground for onuncapturederror
Readonly queueSearch playground for queue
Methods
create Bind GroupSearch playground for createBindGroup
Parameters
descriptor: GPUBindGroupDescriptor
Returns GPUBindGroup
create Bind Group LayoutSearch playground for createBindGroupLayout
Parameters
descriptor: GPUBindGroupLayoutDescriptor
Returns GPUBindGroupLayout
create BufferSearch playground for createBuffer
Parameters
descriptor: GPUBufferDescriptor
Returns GPUBuffer
create Command EncoderSearch playground for createCommandEncoder
Parameters
Optional descriptor: GPUCommandEncoderDescriptor
Returns GPUCommandEncoder
create Compute PipelineSearch playground for createComputePipeline
Parameters
descriptor: GPUComputePipelineDescriptor
Returns GPUComputePipeline
create Compute Pipeline AsyncSearch playground for createComputePipelineAsync
Parameters
descriptor: GPUComputePipelineDescriptor
Returns Promise<GPUComputePipeline>
create Pipeline LayoutSearch playground for createPipelineLayout
Parameters
descriptor: GPUPipelineLayoutDescriptor
Returns GPUPipelineLayout
create Query SetSearch playground for createQuerySet
Parameters
descriptor: GPUQuerySetDescriptor
Returns GPUQuerySet
create Render Bundle EncoderSearch playground for createRenderBundleEncoder
Parameters
descriptor: GPURenderBundleEncoderDescriptor
Returns GPURenderBundleEncoder
create Render PipelineSearch playground for createRenderPipeline
Parameters
descriptor: GPURenderPipelineDescriptor
Returns GPURenderPipeline
create Render Pipeline AsyncSearch playground for createRenderPipelineAsync
Parameters
descriptor: GPURenderPipelineDescriptor
Returns Promise<GPURenderPipeline>
create SamplerSearch playground for createSampler
Parameters
Optional descriptor: GPUSamplerDescriptor
Returns GPUSampler
create Shader ModuleSearch playground for createShaderModule
Parameters
descriptor: GPUShaderModuleDescriptor
Returns GPUShaderModule
create TextureSearch playground for createTexture
Parameters
descriptor: GPUTextureDescriptor
Returns GPUTexture
destroySearch playground for destroy
Returns void
import External TextureSearch playground for importExternalTexture
Parameters
descriptor: GPUExternalTextureDescriptor
Returns GPUExternalTexture
pop Error ScopeSearch playground for popErrorScope
Returns Promise<undefined | GPUError>
push Error ScopeSearch playground for pushErrorScope
Parameters
filter: GPUErrorFilter
Returns void