Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

RenderTexture.isVolume

var isVolume: bool;
bool isVolume;
isVolume as bool

Description

If enabled, this Render Texture will be used as a Texture3D.

Volumetric render textures currently only work on DirectX 11. You can render into them using "random access writes" from a pixel shader or a compute shader.

See Also: volumeDepth, enableRandomWrite.