GPUBuffer

external class GPUBuffer : GPUObjectBase(source)

Properties

Link copied to clipboard
open override var label: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun destroy()
Link copied to clipboard
fun getMappedRange(offset: GPUSize64 = definedExternally, size: GPUSize64 = definedExternally): ArrayBuffer
Link copied to clipboard
suspend fun map(mode: GPUMapMode, offset: GPUSize64 = definedExternally, size: GPUSize64 = definedExternally)
Link copied to clipboard
fun mapAsync(mode: GPUMapMode, offset: GPUSize64 = definedExternally, size: GPUSize64 = definedExternally): Promise<Void>
Link copied to clipboard
fun unmap()