GPUBuffer

Available only in secure contexts.

MDN Reference

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
fun getMappedRange(offset: GPUSize64 = definedExternally, size: GPUSize64 = definedExternally): ArrayBuffer
Link copied to clipboard
inline suspend fun GPUBuffer.map(mode: GPUMapModeFlags)
inline suspend fun GPUBuffer.map(mode: GPUMapModeFlags, offset: GPUSize64)
inline suspend fun GPUBuffer.map(mode: GPUMapModeFlags, offset: GPUSize64, size: GPUSize64)
Link copied to clipboard
fun mapAsync(mode: GPUMapModeFlags, offset: GPUSize64 = definedExternally, size: GPUSize64 = definedExternally): Promise<Void>
Link copied to clipboard