mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 19:38:12 +00:00
![]() Looking at how Khronos defines layers: https://www.khronos.org/opengl/wiki/Array_Texture We both have 3D textures and layers of 2D textures, which can both be encoded in our existing `Typed3DBuffer` as depth. Since we support depth already in the GPU API, remove layer everywhere. Also pass in `Texture2D::LOG2_MAX_TEXTURE_SIZE` as the maximum number of mipmap levels, so we do not allocate 999 levels on each Image instantiation. |
||
---|---|---|
.. | ||
GL | ||
Tex | ||
ClipPlane.cpp | ||
CMakeLists.txt | ||
ContextParameter.cpp | ||
GLAPI.cpp | ||
GLContext.cpp | ||
GLContext.h | ||
Image.cpp | ||
Image.h | ||
Lighting.cpp | ||
List.cpp | ||
Matrix.cpp | ||
Stencil.cpp | ||
Texture.cpp | ||
Vertex.cpp |