type property
What shape this is: a plain 2D image, or six faces sampled by direction.
Here and not on RenderTargetSpec, which is deliberate. That spec is
the key of the render target pool's map, and two textures with equal specs
are by definition interchangeable — so a cube that matched a 2D target on
every other field would be lent out in its place, and nothing about the
resulting picture would say why. Cubes are created directly and never come
from the pool.
Implementation
final TextureType type;