MCPcopy Create free account
hub / github.com/RavEngine/RavEngine / Begin

Method Begin

deps/LLGL/sources/Renderer/DebugLayer/DbgCommandBuffer.cpp:74–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72/* ----- Encoding ----- */
73
74void DbgCommandBuffer::Begin()
75{
76 /* Reset previous states */
77 ResetFrameProfile();
78 ResetBindings();
79 ResetStates();
80
81 /* Enable performance profiler if it was scheduled */
82 perfProfilerEnabled_ = (profiler_ != nullptr && profiler_->timeRecordingEnabled);
83 if (perfProfilerEnabled_)
84 timerMngr_.Reset();
85
86 /* Begin with command recording */
87 if (debugger_)
88 EnableRecording(true);
89
90 instance.Begin();
91
92 profile_.commandBufferEncodings++;
93}
94
95void DbgCommandBuffer::End()
96{

Callers

nothing calls this directly

Calls 1

ResetMethod · 0.45

Tested by

no test coverage detected