Interfaces
- GPU
- GPUAdapter
- GPUAdapterInfo
- GPUBindGroup
- GPUBindGroupLayout
- GPUBuffer
- GPUCanvasContext
- GPUCommandBuffer
- GPUCommandEncoder
- GPUCompilationInfo
- GPUCompilationMessage
- GPUComputePassEncoder
- GPUComputePipeline
- GPUDevice
- GPUDeviceLostInfo
- GPUError
- GPUExternalTexture
- GPUInternalError
- GPUOutOfMemoryError
- GPUPipelineError
- GPUPipelineLayout
- GPUQuerySet
- GPUQueue
- GPURenderBundle
- GPURenderBundleEncoder
- GPURenderPassEncoder
- GPURenderPipeline
- GPUSampler
- GPUShaderModule
- GPUSupportedFeatures
- GPUSupportedLimits
- GPUTexture
- GPUTextureView
- GPUUncapturedErrorEvent
- GPUValidationError
- WGSLLanguageFeatures
Dictionaries
- GPUBindGroupDescriptor
- GPUBindGroupEntry
- GPUBindGroupLayoutDescriptor
- GPUBindGroupLayoutEntry
- GPUBlendComponent
- GPUBlendState
- GPUBufferBinding
- GPUBufferBindingLayout
- GPUBufferDescriptor
- GPUCanvasConfiguration
- GPUColorDict
- GPUColorTargetState
- GPUCommandBufferDescriptor
- GPUCommandEncoderDescriptor
- GPUComputePassDescriptor
- GPUComputePassTimestampWrites
- GPUComputePipelineDescriptor
- GPUDepthStencilState
- GPUDeviceDescriptor
- GPUExtent3DDict
- GPUExternalTextureBindingLayout
- GPUExternalTextureDescriptor
- GPUFragmentState
- GPUMultisampleState
- GPUObjectDescriptorBase
- GPUOrigin2DDict
- GPUOrigin3DDict
- GPUPipelineDescriptorBase
- GPUPipelineErrorInit
- GPUPipelineLayoutDescriptor
- GPUPrimitiveState
- GPUProgrammableStage
- GPUQuerySetDescriptor
- GPUQueueDescriptor
- GPURenderBundleDescriptor
- GPURenderBundleEncoderDescriptor
- GPURenderPassColorAttachment
- GPURenderPassDepthStencilAttachment
- GPURenderPassDescriptor
- GPURenderPassLayout
- GPURenderPassTimestampWrites
- GPURenderPipelineDescriptor
- GPURequestAdapterOptions
- GPUSamplerBindingLayout
- GPUSamplerDescriptor
- GPUShaderModuleCompilationHint
- GPUShaderModuleDescriptor
- GPUStencilFaceState
- GPUStorageTextureBindingLayout
- GPUTextureBindingLayout
- GPUTextureDescriptor
- GPUTextureViewDescriptor
- GPUUncapturedErrorEventInit
- GPUVertexAttribute
- GPUVertexBufferLayout
- GPUVertexState
Enums
- GPUAddressMode
- GPUAutoLayoutMode
- GPUBlendFactor
- GPUBlendOperation
- GPUBufferBindingType
- GPUBufferMapState
- GPUCanvasAlphaMode
- GPUCompareFunction
- GPUCompilationMessageType
- GPUCullMode
- GPUDeviceLostReason
- GPUErrorFilter
- GPUFeatureName
- GPUFilterMode
- GPUFrontFace
- GPUIndexFormat
- GPULoadOp
- GPUMipmapFilterMode
- GPUPipelineErrorReason
- GPUPowerPreference
- GPUPrimitiveTopology
- GPUQueryType
- GPUSamplerBindingType
- GPUStencilOperation
- GPUStorageTextureAccess
- GPUStoreOp
- GPUTextureAspect
- GPUTextureDimension
- GPUTextureFormat
- GPUTextureSampleType
- GPUTextureViewDimension
- GPUVertexFormat
- GPUVertexStepMode
Typedefs
- GPUBindingResource
- GPUBufferDynamicOffset
- GPUBufferUsageFlags
- GPUColor
- GPUColorWriteFlags
- GPUDepthBias
- GPUExtent3D
- GPUFlagsConstant
- GPUIndex32
- GPUIntegerCoordinate
- GPUIntegerCoordinateOut
- GPUMapModeFlags
- GPUOrigin2D
- GPUOrigin3D
- GPUPipelineConstantValue
- GPUSampleMask
- GPUShaderStageFlags
- GPUSignedOffset32
- GPUSize32
- GPUSize32Out
- GPUSize64
- GPUSize64Out
- GPUStencilValue
- GPUTextureUsageFlags
GPUBuffer
GPUDevice.createBuffer(descriptor: GPUBufferDescriptor): GPUBuffer
GPUBufferDescriptor
- label: USVString
- size: GPUSize64required
- usage: GPUBufferUsageFlagsrequired
- mappedAtCreation: boolean= 'false'
GPUSize64
typedef GPUSize64 = unsigned long longGPUBufferUsageFlags
typedef GPUBufferUsageFlags = unsigned long- GPUBufferUsage.MAP_READ = 0x0001
- GPUBufferUsage.MAP_WRITE = 0x0002
- GPUBufferUsage.COPY_SRC = 0x0004
- GPUBufferUsage.COPY_DST = 0x0008
- GPUBufferUsage.INDEX = 0x0010
- GPUBufferUsage.VERTEX = 0x0020
- GPUBufferUsage.UNIFORM = 0x0040
- GPUBufferUsage.STORAGE = 0x0080
- GPUBufferUsage.INDIRECT = 0x0100
- GPUBufferUsage.QUERY_RESOLVE = 0x0200
- label: USVString
- size: GPUSize64Out
- usage: GPUFlagsConstant
- mapState: GPUBufferMapState
mapAsync(mode: GPUMapModeFlags, offset: GPUSize64, size: GPUSize64): Promise<void>
GPUMapModeFlags
typedef GPUMapModeFlags = unsigned long- GPUMapMode.READ = 0x0001
- GPUMapMode.WRITE = 0x0002
GPUSize64
typedef GPUSize64 = unsigned long longgetMappedRange(offset: GPUSize64, size: GPUSize64): ArrayBuffer
GPUSize64
typedef GPUSize64 = unsigned long long- unmap(): void
- destroy(): void