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

Method start

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

Source from the content-addressed store, hash-verified

82}
83
84void GPUUploadCmd::start(SwapableCmdPool& swap_pool) SKR_NOEXCEPT
85{
86 pool = swap_pool.get();
87 CGPUCommandBufferDescriptor bdesc = { /*.is_secondary = */false };
88 cmdbuf = cgpu_create_command_buffer(pool, &bdesc);
89 cgpu_cmd_begin(cmdbuf);
90 fence = cgpu_create_fence(queue->device);
91}
92
93void GPUUploadCmd::finish() SKR_NOEXCEPT
94{

Callers 1

StackCmdAllocatorClass · 0.45

Calls 4

cgpu_cmd_beginFunction · 0.85
cgpu_create_fenceFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected