Kanzi 4.0.0-beta2
kanzi::platform::SurfaceBits Struct Reference

Describes the bit representation of a surface buffer. More...

#include <kanzi/platform/graphics/platform_types.hpp>

Public Attributes

uint8_t alpha
 Number of bits used to represent the alpha channel.
 
uint8_t blue
 Number of bits used to represent the blue channel.
 
uint8_t depth
 Number of bits used to represent the depth channel.
 
uint8_t green
 Number of bits used to represent the green channel.
 
bool isSRGB
 Is the color channels using the sRGB transfer function.
 
uint8_t red
 Number of bits used to represent the red channel.
 
uint8_t stencil
 Number of bits used to represent the stencil channel.
 

Detailed Description

Describes the bit representation of a surface buffer.

Since
Kanzi 4.0.0

Member Data Documentation

◆ red

uint8_t kanzi::platform::SurfaceBits::red

Number of bits used to represent the red channel.

◆ green

uint8_t kanzi::platform::SurfaceBits::green

Number of bits used to represent the green channel.

◆ blue

uint8_t kanzi::platform::SurfaceBits::blue

Number of bits used to represent the blue channel.

◆ alpha

uint8_t kanzi::platform::SurfaceBits::alpha

Number of bits used to represent the alpha channel.

◆ isSRGB

bool kanzi::platform::SurfaceBits::isSRGB

Is the color channels using the sRGB transfer function.

◆ depth

uint8_t kanzi::platform::SurfaceBits::depth

Number of bits used to represent the depth channel.

◆ stencil

uint8_t kanzi::platform::SurfaceBits::stencil

Number of bits used to represent the stencil channel.


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