MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / open_batch

Method open_batch

modules/engine/runtime/src/io/vram/vram_service.cpp:80–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80IOBatchId VRAMService::open_batch(uint64_t n) SKR_NOEXCEPT
81{
82 uint64_t seq = (uint64_t)skr_atomicu64_add_relaxed(&batch_sequence, 1);
83 return skr::static_pointer_cast<IIOBatch>(vram_batch_pool->allocate(this, seq, n));
84}
85
86SlicesIORequestId VRAMService::open_texture_request() SKR_NOEXCEPT
87{

Callers 1

addRAMRequestsMethod · 0.45

Calls 2

allocateMethod · 0.45

Tested by

no test coverage detected