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

This describes the color component write flags. More...

#include <BlendState.h>

Classes

struct  Bits
 

Public Types

enum  Enum : StorageType {
  None = 0U , Red = XII_BIT(0) , Green = XII_BIT(1) , Blue = XII_BIT(2) ,
  Alpha = XII_BIT(3) , ENUM_COUNT = 5U , RG = Red | Green , RGB = Red | Green | Blue ,
  RGBA = Red | Green | Blue | Alpha , Default = (((Red | Green) | Blue) | Alpha)
}
 
using StorageType = xiiUInt8
 

Detailed Description

This describes the color component write flags.

Member Enumeration Documentation

◆ Enum

enum xiiGALColorMask::Enum : StorageType
Enumerator
None 

Do not write to any components.

Red 

Write to the red component.

Green 

Write to the green component.

Blue 

Write to the blue component.

Alpha 

Write to the alpha component.

RG 

Write to the red and green components.

RGB 

Write to the red, green and blue components.

RGBA 

Write to the red, green, blue, and alpha components.

Default 

Write to all components.


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