NAME

WebGPU::Direct::Buffer

Methods

destroy

getConstMappedRange

  • Return Type

    • Scalar (void *)

  • Arguments

    • offset (Integer (size_t)) Default: 0

    • size (Integer (size_t)) Default: GetSize() - offset

getMapState

getMappedRange

  • Return Type

  • Arguments

    • offset (Integer (size_t)) Default: 0

    • size (Integer (size_t)) Default: GetSize() - offset

getSize

  • Return Type

    • Unsigned 64bit (uint64_t)

getUsage

mapAsync

  • Arguments

    • mode (WGPUMapModeFlags)

    • offset (Integer (size_t)) Default: 0

    • size (Integer (size_t)) Default: GetSize() - offset

    • callback (WebGPU::Direct::BufferMapCallback (Code reference))

    • userdata (Scalar (void *)) Default: {}

setLabel

  • Arguments

    • label (String (char *))

unmap

reference

release