1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-26 18:21:04 +00:00

Implement support for array textures in GL driver

note: feature detection was not implemented in the legacy driver, but the code itself probably works.
This commit is contained in:
sfan5 2025-04-06 22:16:17 +02:00
parent d5bf094f9a
commit 46db688cc8
14 changed files with 111 additions and 72 deletions

View file

@ -129,7 +129,10 @@ enum E_TEXTURE_TYPE
ETT_2D_MS,
//! Cubemap texture.
ETT_CUBEMAP
ETT_CUBEMAP,
//! 2D array texture
ETT_2D_ARRAY
};
//! Interface of a Video Driver dependent Texture.