MCPcopy Create free account
hub / github.com/MethanePowered/MethaneKit / OnContextReleased

Method OnContextReleased

Apps/06-CubeMapArray/CubeMapArrayApp.cpp:278–286  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

276}
277
278void CubeMapArrayApp::OnContextReleased(rhi::IContext& context)
279{
280 m_sky_box = {};
281 m_cube_buffers_ptr.reset();
282 m_texture_sampler = {};
283 m_render_state = {};
284
285 UserInterfaceApp::OnContextReleased(context);
286}
287
288} // namespace Methane::Tutorials
289

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected