MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / OnRead

Method OnRead

Source/Engine/GraphicsDevice/WebGPU/GPUDeviceWebGPU.cpp:151–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149}
150
151void GPUQuerySetWebGPU::OnRead()
152{
153 // Get mapped buffer pointer
154 ASSERT(_state == Mapping);
155 _state = Mapped;
156 _mapped = (const uint64*)wgpuBufferGetConstMappedRange(_readBuffer, 0, _index * sizeof(uint64));
157}
158
159GPUDataUploaderWebGPU::Allocation GPUDataUploaderWebGPU::Allocate(uint32 size, WGPUBufferUsage usage, uint32 alignment)
160{

Callers 1

ReadMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected