wgpu Buffer Get Const Mapped Range
fun wgpuBufferGetConstMappedRange(buffer: WGPUBuffer, offset: <Error class: unknown class>, size: <Error class: unknown class>): Pointer<Unit>
Returns a const pointer to beginning of the mapped range. It must not be written; writing to this range causes undefined behavior. See GetMappedRangeBehavior for error conditions and guarantees. This function is safe to call inside spontaneous callbacks (see CallbackReentrancy).
Parameters
offset
Byte offset relative to the beginning of the buffer.
size
Byte size of the range to get. The returned pointer is valid for exactly this many bytes.