--------------------------------- MeshData::d-tor Free the GPU buffers for this mesh
| 402 | // Free the GPU buffers for this mesh |
| 403 | // |
| 404 | MeshData::~MeshData() |
| 405 | { |
| 406 | I_GraphicsApiContext* const api = Viewport::GetCurrentApiContext(); |
| 407 | |
| 408 | api->DeleteBuffer(m_VertexBuffer); |
| 409 | api->DeleteBuffer(m_IndexBuffer); |
| 410 | |
| 411 | SafeDelete(m_Surfaces); |
| 412 | } |
| 413 | |
| 414 | //--------------------------------- |
| 415 | // MeshData::GetSurface |
nothing calls this directly
no test coverage detected