Select your preferred scripting language. All code snippets will be displayed in this language.
enumeration
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.
CloseFor 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.
CloseFormat 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.
ARGB32 | Color render texture format, 8 bits per channel. |
Depth | A depth render texture format. |
ARGBHalf | Color render texture format, 16 bit floating point per channel. |
Shadowmap | A native shadowmap render texture format. |
RGB565 | Color render texture format. |
ARGB4444 | Color render texture format, 4 bit per channel. |
ARGB1555 | Color render texture format, 1 bit for Alpha channel, 5 bits for Red, Green and Blue channels. |
Default | Default color render texture format: will be chosen accordingly to Frame Buffer format and Platform. |
ARGB2101010 | Color render texture format. 10 bits for colors, 2 bits for alpha. |
DefaultHDR | Default HDR color render texture format: will be chosen accordingly to Frame Buffer format and Platform. |
ARGB64 | Four color render texture format, 16 bits per channel, fixed point, unsigned normalized. |
ARGBFloat | Color render texture format, 32 bit floating point per channel. |
RGFloat | Two color (RG) render texture format, 32 bit floating point per channel. |
RGHalf | Two color (RG) render texture format, 16 bit floating point per channel. |
RFloat | Scalar (R) render texture format, 32 bit floating point. |
RHalf | Scalar (R) render texture format, 16 bit floating point. |
R8 | Scalar (R) render texture format, 8 bit fixed point. |
ARGBInt | Four channel (ARGB) render texture format, 32 bit signed integer per channel. |
RGInt | Two channel (RG) render texture format, 32 bit signed integer per channel. |
RInt | Scalar (R) render texture format, 32 bit signed integer. |
BGRA32 | Color render texture format, 8 bits per channel. |
RGB111110Float | Color render texture format. R and G channels are 11 bit floating point, B channel is 10 bit floating point. |
RG32 | Two color (RG) render texture format, 16 bits per channel, fixed point, unsigned normalized. |
RGBAUShort | Four channel (RGBA) render texture format, 16 bit unsigned integer per channel. |
RG16 | Two channel (RG) render texture format, 8 bits per channel. |
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information