Ejemplo n.º 1
0
 def shutdown(self):
     ImGuiExtra.imgui_destroy()
     for index_buffer in self.index_buffers:
         bgfx.destroy(index_buffer)
     bgfx.destroy(self.vertex_buffer)
     bgfx.destroy(self.main_program)
     bgfx.shutdown()
Ejemplo n.º 2
0
    def shutdown(self):
        self.fluid_simulator.destroy()
        self.particle_area.destroy()

        ImGuiExtra.imguiDestroy()

        bgfx.destroy(self.index_buffer)
        bgfx.destroy(self.vertex_buffer)
        bgfx.destroy(self.output_texture)
        bgfx.destroy(self.cs_program)
        bgfx.destroy(self.texture_uniform)
        bgfx.destroy(self.main_program)

        bgfx.shutdown()
Ejemplo n.º 3
0
 def shutdown(self):
     ImGuiExtra.imgui_destroy()
     self.mesh.destroy()
     bgfx.destroy(self.main_program)
     bgfx.shutdown()
Ejemplo n.º 4
0
 def shutdown(self):
     ImGuiExtra.imgui_destroy()
     bgfx.shutdown()