XII Release 0.1.0
Loading...
Searching...
No Matches
xiiSourceFormat Struct Reference
Inheritance diagram for xiiSourceFormat:
[legend]

Public Types

enum  Enum : StorageType {
  Color4Channel8BitNormalized_sRGB , Color4Channel8BitNormalized , Color2Channel16BitFloat , Color4Channel16BitFloat ,
  Color2Channel32BitFloat , Color3Channel32BitFloat , Color4Channel32BitFloat , Color3Channel11_11_10BitFloat ,
  Depth16Bit , Depth24BitStencil8Bit , Depth32BitFloat , BC1_RGB_DXT1 ,
  BC2_RGBA_DXT3 , BC3_RGBA_DXT5 , BC4_R_Grey_DXT5A , BC5_RG_Grey_DXT5A ,
  BC6H_RGB_Float , BC7_RGBA , ENUM_COUNT , Default = Color4Channel8BitNormalized_sRGB
}
 
using StorageType = xiiUInt8
 

Static Public Member Functions

static xiiGALResourceFormat::Enum GetGALResourceFormat (xiiSourceFormat::Enum format, bool bFlipColorChannels=false)
 

Member Enumeration Documentation

◆ Enum

enum xiiSourceFormat::Enum : StorageType
Enumerator
Color4Channel8BitNormalized_sRGB 

RGBA 8-bit normalized with sRGB colorspace (default).

Color4Channel8BitNormalized 

RGBA 8-bit normalized linear.

Color2Channel16BitFloat 

RG 16-bit float.

Color4Channel16BitFloat 

RGBA 16-bit float.

Color2Channel32BitFloat 

RG 32-bit float.

Color3Channel32BitFloat 

RGB 32-bit float.

Color4Channel32BitFloat 

RGBA 32-bit float.

Color3Channel11_11_10BitFloat 

RGB 11-11-10 bit float.

Depth16Bit 

16-bit depth.

Depth24BitStencil8Bit 

24-bit depth + 8-bit stencil.

Depth32BitFloat 

32-bit float depth.

BC1_RGB_DXT1 

DXT1 compression (no alpha).

BC2_RGBA_DXT3 

DXT3 compression.

BC3_RGBA_DXT5 

DXT5 compression.

BC4_R_Grey_DXT5A 

Single-channel compression (DXT5a).

BC5_RG_Grey_DXT5A 

Dual-channel compression (DXT5a).

BC6H_RGB_Float 

HDR RGB float block compression.

BC7_RGBA 

Modern RGBA compression with high quality.


The documentation for this struct was generated from the following files: