Support depth-1 volume textures. (#3883)

This commit is contained in:
Branimir Karadžić
2026-08-12 18:24:25 -07:00
committed by GitHub
parent 0af3dac7bf
commit 3d3b08778e
11 changed files with 59 additions and 32 deletions
+1 -1
View File
@@ -6094,7 +6094,7 @@ namespace bgfx { namespace d3d12
{
m_type = TextureCube;
}
else if (imageContainer.m_depth > 1)
else if (isVolume(imageContainer) )
{
m_type = Texture3D;
}