unreal.TextureRenderTargetFormat

class unreal.TextureRenderTargetFormat

Bases: unreal.EnumBase

Subset of EPixelFormat exposed to UTextureRenderTarget2D

C++ Source:

  • Module: Engine

  • File: TextureRenderTarget2D.h

RTF_R16F

R channel, 16 bit per channel floating point, range [-65504, 65504]

Type

4

RTF_R32F

R channel, 32 bit per channel floating point, range [-3.402823 x 10^38, 3.402823 x 10^38]

Type

7

RTF_R8

R channel, 8 bit per channel fixed point, range [0, 1].

Type

0

RTF_RG16F

RG channels, 16 bit per channel floating point, range [-65504, 65504]

Type

5

RTF_RG32F

RG channels, 32 bit per channel floating point, range [-3.402823 x 10^38, 3.402823 x 10^38]

Type

8

RTF_RG8

RG channels, 8 bit per channel fixed point, range [0, 1].

Type

1

RTF_RGB10A2

RGBA channels, 10 bit per channel fixed point and 2 bit of alpha

Type

10

RTF_RGBA16F

RGBA channels, 16 bit per channel floating point, range [-65504, 65504]

Type

6

RTF_RGBA32F

RGBA channels, 32 bit per channel floating point, range [-3.402823 x 10^38, 3.402823 x 10^38]

Type

9

RTF_RGBA8

RGBA channels, 8 bit per channel fixed point, range [0, 1].

Type

2

RTF_RGBA8_SRGB

RGBA channels, 8 bit per channel fixed point, range [0, 1]. RGB is encoded with sRGB gamma curve. A is always stored as linear.

Type

3