NAME

WebGPU::Direct::Buffer

Methods

Destroy

GetConstMappedRange

  • Return Type

    • Scalar (void *)

  • Arguments

    • offset (Integer (size_t))

    • size (Integer (size_t))

GetMapState

GetMappedRange

GetSize

  • Return Type

    • Unsigned 64bit (uint64_t)

GetUsage

MapAsync

  • Arguments

    • mode (WGPUMapModeFlags)

    • offset (Integer (size_t))

    • size (Integer (size_t))

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

    • userdata (Scalar (void *))

SetLabel

  • Arguments

    • label (String (char *))

Unmap

Reference

Release