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

Function cgpu_create_fence

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

Source from the content-addressed store, hash-verified

181}
182
183CGPUFenceId cgpu_create_fence(CGPUDeviceId device)
184{
185 cgpu_assert(device != CGPU_NULLPTR && "fatal: call on NULL device!");
186 cgpu_assert(device->proc_table_cache->create_fence && "create_fence Proc Missing!");
187 CGPUFence* fence = (CGPUFence*)device->proc_table_cache->create_fence(device);
188 fence->device = device;
189 return fence;
190}
191
192void cgpu_wait_fences(const CGPUFenceId* fences, uint32_t fence_count)
193{

Callers 15

main_module_execMethod · 0.85
cgpu_get_queue_vulkanFunction · 0.85
startMethod · 0.85
initializeMethod · 0.85
imgui_recreate_swapchainFunction · 0.85
SkrRenderWindowMethod · 0.85
sync_window_sizeMethod · 0.85
initializeFunction · 0.85
initializeFunction · 0.85
initializeFunction · 0.85
initializeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected