--------------------------------- TextureData::d-tor Destroys the GPU resource
| 55 | // Destroys the GPU resource |
| 56 | // |
| 57 | TextureData::~TextureData() |
| 58 | { |
| 59 | I_GraphicsApiContext* const api = Viewport::GetCurrentApiContext(); |
| 60 | if (m_Handle != 0u) |
| 61 | { |
| 62 | api->SetTextureHandleResidency(m_Handle, false); |
| 63 | } |
| 64 | |
| 65 | api->DeleteTexture(m_Location); |
| 66 | } |
| 67 | |
| 68 | //--------------------------------- |
| 69 | // TextureData::Build |
nothing calls this directly
no test coverage detected