unsigned depth = static_cast<const Texture3D *>(this)->depth;
unsigned levels = static_cast<const Texture3D *>(this)->levels;
unsigned depth = static_cast<const Texture3D *>(this)->depth;
unsigned levels = static_cast<const Texture3D *>(this)->levels;