MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / UpdateContext

Method UpdateContext

Source/Engine/Debug/DebugDraw.cpp:771–777  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

769}
770
771void DebugDraw::UpdateContext(void* context, float deltaTime)
772{
773 if (!context)
774 context = &GlobalContext;
775 ((DebugDrawContext*)context)->DebugDrawDefault.Update(deltaTime);
776 ((DebugDrawContext*)context)->DebugDrawDepthTest.Update(deltaTime);
777}
778
779void DebugDraw::SetContext(void* context)
780{

Callers 2

OnBeginMethod · 0.80
DrawEditorPrimitivesMethod · 0.80

Calls 1

UpdateMethod · 0.45

Tested by

no test coverage detected