Version: 2020.1
LanguageEnglish
  • C#

RenderTextureFormat

enumeration

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Format of a RenderTexture.

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

See Also: RenderTexture.format, RenderTexture class.

Properties

ARGB32Color render texture format, 8 bits per channel.
DepthA depth render texture format.
ARGBHalfColor render texture format, 16 bit floating point per channel.
ShadowmapA native shadowmap render texture format.
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.
ARGB2101010Color render texture format. 10 bits for colors, 2 bits for alpha.
DefaultHDRDefault HDR color render texture format: will be chosen accordingly to Frame Buffer format and Platform.
ARGB64Four color render texture format, 16 bits per channel, fixed point, unsigned normalized.
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.
R8Single channel (R) render texture format, 8 bit integer.
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.
BGRA32Color render texture format, 8 bits per channel.
RGB111110FloatColor render texture format. R and G channels are 11 bit floating point, B channel is 10 bit floating point.
RG32Two color (RG) render texture format, 16 bits per channel, fixed point, unsigned normalized.
RGBAUShortFour channel (RGBA) render texture format, 16 bit unsigned integer per channel.
RG16Two channel (RG) render texture format, 8 bits per channel.
BGRA10101010_XRColor render texture format, 10 bit per channel, extended range.
BGR101010_XRColor render texture format, 10 bit per channel, extended range.
R16Single channel (R) render texture format, 16 bit integer.

Did you find this page useful? Please give it a rating: