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

Method EventBegin

Source/Engine/GraphicsDevice/Vulkan/GPUContextVulkan.cpp:813–822  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

811#if GPU_ALLOW_PROFILE_EVENTS
812
813void GPUContextVulkan::EventBegin(const Char* name)
814{
815 const auto cmdBuffer = _cmdBufferManager->GetCmdBuffer();
816#if COMPILE_WITH_PROFILER
817 void* tracyContext = _tracyContext;
818#else
819 void* tracyContext = nullptr;
820#endif
821 cmdBuffer->BeginEvent(name, tracyContext);
822}
823
824void GPUContextVulkan::EventEnd()
825{

Callers 1

BeginEventMethod · 0.45

Calls 2

GetCmdBufferMethod · 0.80
BeginEventMethod · 0.45

Tested by

no test coverage detected