Renderer/TextureInfo: Separate layerCount from size

This commit is contained in:
SirLynix
2022-11-30 08:51:31 +01:00
committed by Jérôme Leclercq
parent 1768f20365
commit 902dee6121
6 changed files with 82 additions and 79 deletions

View File

@@ -27,6 +27,7 @@ namespace Nz
ImageType type;
TextureUsageFlags usageFlags = TextureUsage::ShaderSampling | TextureUsage::TransferDestination;
UInt8 mipmapLevel = 1;
unsigned int layerCount = 1;
unsigned int depth = 1;
unsigned int height;
unsigned int width;