MCPcopy Create free account
hub / github.com/OGRECave/ogre-next / flushRootLayout

Method flushRootLayout

RenderSystems/Vulkan/src/OgreVulkanRenderSystem.cpp:2072–2082  ·  view source on GitHub ↗

-------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

2070 }
2071 //-------------------------------------------------------------------------
2072 void VulkanRenderSystem::flushRootLayout()
2073 {
2074 if( !mTableDirty )
2075 return;
2076
2077 VulkanVaoManager *vaoManager = static_cast<VulkanVaoManager *>( mVaoManager );
2078 VulkanRootLayout *rootLayout = reinterpret_cast<VulkanHlmsPso *>( mPso->rsData )->rootLayout;
2079 rootLayout->bind( mDevice, vaoManager, mGlobalTable );
2080 mGlobalTable.reset();
2081 mTableDirty = false;
2082 }
2083 //-------------------------------------------------------------------------
2084 void VulkanRenderSystem::flushRootLayoutCS()
2085 {

Callers

nothing calls this directly

Calls 2

bindMethod · 0.45
resetMethod · 0.45

Tested by

no test coverage detected