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

Function cgpu_cmd_begin

modules/engine/graphics/src/common/cgpu.c:637–644  ·  view source on GitHub ↗

CMDs

Source from the content-addressed store, hash-verified

635
636// CMDs
637void cgpu_cmd_begin(CGPUCommandBufferId cmd)
638{
639 cgpu_assert(cmd != CGPU_NULLPTR && "fatal: call on NULL cmdbuffer!");
640 cgpu_assert(cmd->device != CGPU_NULLPTR && "fatal: call on NULL device!");
641 const CGPUProcCmdBegin fn_cmd_begin = cmd->device->proc_table_cache->cmd_begin;
642 cgpu_assert(fn_cmd_begin && "cmd_begin Proc Missing!");
643 fn_cmd_begin(cmd);
644}
645
646void cgpu_cmd_transfer_buffer_to_buffer(CGPUCommandBufferId cmd, const struct CGPUBufferToBufferTransfer* desc)
647{

Callers 15

beginMethod · 0.85
startMethod · 0.85
reset_beginMethod · 0.85
imgui_create_fontsFunction · 0.85
updateMethod · 0.85
raster_redrawFunction · 0.85
raster_redrawFunction · 0.85
create_sampled_textureFunction · 0.85
raster_redrawFunction · 0.85
ComputeFuncFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_allMethod · 0.68