Legacy Documentation: Version 5.2
LanguageEnglish
  • C#
  • JS

Script language

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

RenderTexture.isVolume

Switch to Manual
public bool isVolume;

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.