MCPcopy Create free account
hub / github.com/axmolengine/axmol / nextCallbackCommand

Method nextCallbackCommand

core/renderer/Renderer.cpp:893–905  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

891}
892
893CallbackCommand* Renderer::nextCallbackCommand()
894{
895 CallbackCommand* cmd = nullptr;
896 if (!_callbackCommandsPool.empty())
897 {
898 cmd = _callbackCommandsPool.back();
899 cmd->reset();
900 _callbackCommandsPool.pop_back();
901 }
902 else
903 cmd = new CallbackCommand();
904 return cmd;
905}
906
907const Color4F& Renderer::getClearColor() const
908{

Callers 15

visitMethod · 0.80
visitMethod · 0.80
saveToFileAsNonPMAMethod · 0.80
saveToFileMethod · 0.80
beginMethod · 0.80
endMethod · 0.80
clearColorAttachmentMethod · 0.80
drawMethod · 0.80
stencilClippingVisitMethod · 0.80
scissorClippingVisitMethod · 0.80
drawMethod · 0.80
visitMethod · 0.80

Calls 4

emptyMethod · 0.45
backMethod · 0.45
resetMethod · 0.45
pop_backMethod · 0.45

Tested by

no test coverage detected