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

Method FlushState

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

Source from the content-addressed store, hash-verified

1431}
1432
1433void GPUContextVulkan::FlushState()
1434{
1435 const auto cmdBuffer = _cmdBufferManager->GetCmdBuffer();
1436 if (cmdBuffer->IsInsideRenderPass())
1437 {
1438 EndRenderPass();
1439 }
1440
1441 FlushBarriers();
1442}
1443
1444void GPUContextVulkan::Flush()
1445{

Callers 8

RenderMethod · 0.45
RenderMethod · 0.45
RenderMethod · 0.45
RenderMethod · 0.45
DrawPostFxMaterialMethod · 0.45
RenderInnerFunction · 0.45
UpdateGPUFunction · 0.45
EndMethod · 0.45

Calls 2

GetCmdBufferMethod · 0.80
IsInsideRenderPassMethod · 0.80

Tested by

no test coverage detected