Legacy Documentation: Version 4.6.2
Language: English
  • C#
  • JS
  • Boo

Script language

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

RenderTextureFormat

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

Sumbission failed

For some reason your suggested change could not be submitted. Please try again 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.

See Also: RenderTexture.format, RenderTexture class.

Variables

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.
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.
DefaultHDR Default HDR color render texture format: will be chosen accordingly to Frame Buffer format and Platform.
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.