XII Release 0.1.0
Loading...
Searching...
No Matches
xiiGALTextureComponentSwizzle Struct Reference

This describes the texture component swizzle. More...

#include <TextureView.h>

Inheritance diagram for xiiGALTextureComponentSwizzle:
[legend]

Public Types

enum  Enum : StorageType {
  Identity = 0U , Zero , One , R ,
  G , B , A , ENUM_COUNT ,
  Default = Identity
}
using StorageType = xiiUInt8

Detailed Description

This describes the texture component swizzle.

Member Enumeration Documentation

◆ Enum

Enumerator
Identity 

Identity swizzle (e.g. R->R, G->G, B->B, A->A).

Zero 

The component is set to zero.

One 

The component is set to one.

R 

The component is set to the value of the red channel of the texture.

G 

The component is set to the value of the green channel of the texture.

B 

The component is set to the value of the blue channel of the texture.

A 

The component is set to the value of the alpha channel of the texture.


The documentation for this struct was generated from the following file:
  • /home/runner/work/XII/XII/Source/Engine/GraphicsFoundation/Resources/TextureView.h