Script language:

  • JS
  • C#
  • Boo
Script language

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

RenderTextureFormat

Description

Format of a RenderTexture.

See Also: RenderTexture.format, RenderTexture class.

Variables

ARGB32Color render texture format, 8 bits per channel.
DepthA depth render texture format.
ARGBHalfColor render texture format, 16 bit floating point per channel.
RGB565Color render texture format.
ARGB4444Color render texture format, 4 bit per channel.
ARGB1555Color render texture format, 1 bit for Alpha channel, 5 bits for Red, Green and Blue channels.
DefaultDefault color render texture format: will be chosen accordingly to Frame Buffer format and Platform.
DefaultHDRDefault HDR color render texture format: will be chosen accordingly to Frame Buffer format and Platform.
ARGBFloatColor render texture format, 32 bit floating point per channel.
RGFloatTwo color (RG) render texture format, 32 bit floating point per channel.
RGHalfTwo color (RG) render texture format, 16 bit floating point per channel.
RFloatScalar (R) render texture format, 32 bit floating point.
RHalfScalar (R) render texture format, 16 bit floating point.
R8Scalar (R) render texture format, 8 bit fixed point.
ARGBIntFour channel (ARGB) render texture format, 32 bit signed integer per channel.
RGIntTwo channel (RG) render texture format, 32 bit signed integer per channel.
RIntScalar (R) render texture format, 32 bit signed integer.