Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


RenderTextureFormat

Format of a RenderTexture.
Read time 2 minutesLast updated 4 days ago

Definition

  • Type: Enum
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public enum RenderTextureFormat

Remarks

Note that a particular render texture format might not be supported by the current platform or GPU. Use SystemInfo.SupportsRenderTextureFormat to check before using.
Additional Resources: RenderTexture class.

Fields

Value

Description

ARGB1555Color render texture format, 1 bit for Alpha channel, 5 bits for Red, Green and Blue channels.
ARGB2101010Color render texture format. 10 bits for colors, 2 bits for alpha.
ARGB32Color render texture format, 8 bits per channel.
ARGB4444Color render texture format, 4 bit per channel.
ARGB64Four color render texture format, 16 bits per channel, fixed point, unsigned normalized.
ARGBFloatColor render texture format, 32 bit floating point per channel.
ARGBHalfColor render texture format, 16 bit floating point per channel.
ARGBIntFour channel (ARGB) render texture format, 32 bit signed integer per channel.
BGR101010_XRColor render texture format, 10 bit per channel, extended range.
BGRA10101010_XRColor render texture format, 10 bit per channel, extended range.
BGRA32Color render texture format, 8 bits per channel.
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.
DepthA depth render texture format.
R16Single channel (R) render texture format, 16 bit integer.
R8Single channel (R) render texture format, 8 bit integer.
RFloatScalar (R) render texture format, 32 bit floating point.
RG16Two channel (RG) render texture format, 8 bits per channel.
RG32Two color (RG) render texture format, 16 bits per channel, fixed point, unsigned normalized.
RGB111110FloatColor render texture format. R and G channels are 11 bit floating point, B channel is 10 bit floating point.
RGB565Color render texture format.
RGBAUShortFour channel (RGBA) render texture format, 16 bit unsigned integer 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.
RGIntTwo channel (RG) render texture format, 32 bit signed integer per channel.
RHalfScalar (R) render texture format, 16 bit floating point.
RIntScalar (R) render texture format, 32 bit signed integer.
ShadowmapA native shadowmap render texture format.