Luna::RHI::ColorWriteMask

enum ColorWriteMask : u8
{
    red= 1
    green= 2
    blue= 4
    alpha= 8
    all= red | green | blue | alpha
}

Identifies which components of each pixel of a attachment are writable during blending.

Options

  • red

    Allow data to be stored in the red component.

  • green

    Allow data to be stored in the green component.

  • blue

    Allow data to be stored in the blue component.

  • alpha

    Allow data to be stored in the alpha component.

  • all

    Allow data to be stored in all components.