--------------------------------- TextureData::Build send the data to the GPU location. Can be initialized without any image data
| 71 | // send the data to the GPU location. Can be initialized without any image data |
| 72 | // |
| 73 | void TextureData::Build(void* data) |
| 74 | { |
| 75 | ET_ASSERT(m_Handle == 0u, "Shouldn't build after a handle was created!"); |
| 76 | |
| 77 | Viewport::GetCurrentApiContext()->SetTextureData(*this, data); |
| 78 | } |
| 79 | |
| 80 | //--------------------------------- |
| 81 | // TextureData::SetParameters |
no test coverage detected