public Rendering.TextureDimension dimension ;

Descripción

Dimensionalidad (tipo) de la render texture.

By default render textures are "2D" type, but it is also possible to have Cubemap or 3D render textures by changing dimension before they are created.

Cubemap render textures are most often used for dynamic cubemap reflections, see Camera.RenderToCubemap. A cubemap render texture must have the same width and height, and must be power of two size.

Las render textures 3D (volumétricas) actualmente solo funcionan en plataformas de computación shader (como UsingDX11GL3Features). Puede renderizarlos usando "escrituras de acceso aleatorio" desde un shader de píxeles o un shader de cálculo. Utilice volumeDepth para establecer la profundidad 3D, y enableRandomWrite para habilitar escrituras arbitrarias en ella.

See Also: TextureDimension.