discontinuedPackage js_bindings has been discontinued and replaced by typings.

GPUDevice class

Implemented types
Available extensions
Annotations
  • @JS.new()
  • @staticInterop

Constructors

GPUDevice()
factory

Properties

features → GPUSupportedFeatures

Available on GPUDevice, provided by the PropsGPUDevice extension

no setter
hashCode → int
The hash code for this object.
no setterinherited
label ↔ String

Available on GPUObjectBase, provided by the PropsGPUObjectBase extension

getter/setter pair
limits → GPUSupportedLimits

Available on GPUDevice, provided by the PropsGPUDevice extension

no setter
lost → Future<GPUDeviceLostInfo>

Available on GPUDevice, provided by the PropsGPUDevice extension

no setter
onuncapturederror ↔ EventHandlerNonNull<Event>?

Available on GPUDevice, provided by the PropsGPUDevice extension

getter/setter pair
queue → GPUQueue

Available on GPUDevice, provided by the PropsGPUDevice extension

no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

addEventListener(String type, EventListener? callback, [dynamic options]) → void

Available on EventTarget, provided by the PropsEventTarget extension

createBindGroup(GPUBindGroupDescriptor descriptor) → GPUBindGroup

Available on GPUDevice, provided by the PropsGPUDevice extension

createBindGroupLayout(GPUBindGroupLayoutDescriptor descriptor) → GPUBindGroupLayout

Available on GPUDevice, provided by the PropsGPUDevice extension

createBuffer(GPUBufferDescriptor descriptor) → GPUBuffer

Available on GPUDevice, provided by the PropsGPUDevice extension

createCommandEncoder([GPUCommandEncoderDescriptor? descriptor]) → GPUCommandEncoder

Available on GPUDevice, provided by the PropsGPUDevice extension

createComputePipeline(GPUComputePipelineDescriptor descriptor) → GPUComputePipeline

Available on GPUDevice, provided by the PropsGPUDevice extension

createComputePipelineAsync(GPUComputePipelineDescriptor descriptor) → Future<GPUComputePipeline>

Available on GPUDevice, provided by the PropsGPUDevice extension

createPipelineLayout(GPUPipelineLayoutDescriptor descriptor) → GPUPipelineLayout

Available on GPUDevice, provided by the PropsGPUDevice extension

createQuerySet(GPUQuerySetDescriptor descriptor) → GPUQuerySet

Available on GPUDevice, provided by the PropsGPUDevice extension

createRenderBundleEncoder(GPURenderBundleEncoderDescriptor descriptor) → GPURenderBundleEncoder

Available on GPUDevice, provided by the PropsGPUDevice extension

createRenderPipeline(GPURenderPipelineDescriptor descriptor) → GPURenderPipeline

Available on GPUDevice, provided by the PropsGPUDevice extension

createRenderPipelineAsync(GPURenderPipelineDescriptor descriptor) → Future<GPURenderPipeline>

Available on GPUDevice, provided by the PropsGPUDevice extension

createSampler([GPUSamplerDescriptor? descriptor]) → GPUSampler

Available on GPUDevice, provided by the PropsGPUDevice extension

createShaderModule(GPUShaderModuleDescriptor descriptor) → GPUShaderModule

Available on GPUDevice, provided by the PropsGPUDevice extension

createTexture(GPUTextureDescriptor descriptor) → GPUTexture

Available on GPUDevice, provided by the PropsGPUDevice extension

destroy() → void

Available on GPUDevice, provided by the PropsGPUDevice extension

dispatchEvent(Event event) → bool

Available on EventTarget, provided by the PropsEventTarget extension

importExternalTexture(GPUExternalTextureDescriptor descriptor) → GPUExternalTexture

Available on GPUDevice, provided by the PropsGPUDevice extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
popErrorScope() → Future<GPUError>

Available on GPUDevice, provided by the PropsGPUDevice extension

pushErrorScope(GPUErrorFilter filter) → void

Available on GPUDevice, provided by the PropsGPUDevice extension

removeEventListener(String type, EventListener? callback, [dynamic options]) → void

Available on EventTarget, provided by the PropsEventTarget extension

toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited