Torque3D Documentation / _generateds / GFXFormatInfo::Data

GFXFormatInfo::Data

Engine/source/gfx/gfxFormatUtils.h

More...

Public Attributes

Bytes per single pixel.

bool

If true, format has alpha channel.

bool

If true, format uses compression.

bool

If true, channels are in floating-point.

Public Functions

Data()
Data(U32 bpp, bool hasAlpha, bool isCompressed, bool isFP)

Detailed Description

Public Attributes

U32 mBytesPerPixel 

Bytes per single pixel.

bool mHasAlpha 

If true, format has alpha channel.

bool mIsCompressed 

If true, format uses compression.

bool mIsFloatingPoint 

If true, channels are in floating-point.

Public Functions

Data()

Data(U32 bpp, bool hasAlpha, bool isCompressed, bool isFP)