class GPUDevice
implements GPUObjectBase
extends EventTarget
import { GPUDevice } from "https://deno.land/x/deno@v1.28.3/cli/tsc/dts/lib.deno_webgpu.d.ts";
Properties
readonly
features: GPUSupportedFeaturesreadonly
limits: GPUSupportedLimitsreadonly
lost: Promise<GPUDeviceLostInfo>onuncapturederror: ((this: GPUDevice, ev: GPUUncapturedErrorEvent) => any) | null
readonly
queue: GPUQueueMethods
createBindGroup(descriptor: GPUBindGroupDescriptor): GPUBindGroup
createBuffer(descriptor: GPUBufferDescriptor): GPUBuffer
createCommandEncoder(descriptor?: GPUCommandEncoderDescriptor): GPUCommandEncoder
createComputePipelineAsync(descriptor: GPUComputePipelineDescriptor): Promise<GPUComputePipeline>
createPipelineLayout(descriptor: GPUPipelineLayoutDescriptor): GPUPipelineLayout
createQuerySet(descriptor: GPUQuerySetDescriptor): GPUQuerySet
createRenderPipeline(descriptor: GPURenderPipelineDescriptor): GPURenderPipeline
createRenderPipelineAsync(descriptor: GPURenderPipelineDescriptor): Promise<GPURenderPipeline>
createSampler(descriptor?: GPUSamplerDescriptor): GPUSampler
createShaderModule(descriptor: GPUShaderModuleDescriptor): GPUShaderModule
createTexture(descriptor: GPUTextureDescriptor): GPUTexture
destroy(): undefined
popErrorScope(): Promise<GPUError | null>
pushErrorScope(filter: GPUErrorFilter): undefined