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

Method OnContextReleased

Apps/03-TexturedCube/TexturedCubeApp.cpp:236–245  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

234}
235
236void TexturedCubeApp::OnContextReleased(rhi::IContext& context)
237{
238 m_texture_sampler = {};
239 m_cube_texture = {};
240 m_index_buffer = {};
241 m_vertex_buffer_set = {};
242 m_render_state = {};
243
244 UserInterfaceApp::OnContextReleased(context);
245}
246
247} // namespace Methane::Tutorials
248

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected