MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / sync

Method sync

servers/rendering/rendering_device.cpp:6393–6400  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6391}
6392
6393void RenderingDevice::sync() {
6394 ERR_RENDER_THREAD_GUARD();
6395 ERR_FAIL_COND_MSG(is_main_instance, "Only local devices can submit and sync.");
6396 ERR_FAIL_COND_MSG(!local_device_processing, "sync can only be called after a submit");
6397
6398 _begin_frame(true);
6399 local_device_processing = false;
6400}
6401
6402void RenderingDevice::_free_pending_resources(int p_frame) {
6403 // Free in dependency usage order, so nothing weird happens.

Callers 1

_captureMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected