| 56 | } |
| 57 | |
| 58 | void GL46Texture3::LoadTextureLevel(uint32_t level, void const* data) |
| 59 | { |
| 60 | auto texture = GetTexture(); |
| 61 | if (texture && level < texture->GetNumLevels()) |
| 62 | { |
| 63 | auto width = texture->GetDimensionFor(level, 0); |
| 64 | auto height = texture->GetDimensionFor(level, 1); |
| 65 | auto depth = texture->GetDimensionFor(level, 2); |
| 66 | |
| 67 | glTexSubImage3D(GL_TEXTURE_3D, level, 0, 0, 0, width, height, depth, |
| 68 | mExternalFormat, mExternalType, data); |
| 69 | } |
| 70 | } |
| 71 | |
| 72 |
nothing calls this directly
no test coverage detected