NVTX++
3.0
C++ convenience wrappers for NVTX.
|
Indicates the value of the alpha, red, green, and blue color channels for an argb color code. More...
#include <nvtx3.hpp>
Public Member Functions | |
constexpr | argb (component_type alpha_, component_type red_, component_type green_, component_type blue_) noexcept |
Construct an argb with alpha, red, green, and blue channels specified by alpha_ , red_ , green_ , and blue_ , respectively. More... | |
![]() | |
constexpr | rgb (component_type red_, component_type green_, component_type blue_) noexcept |
Construct a rgb with red, green, and blue channels specified by red_ , green_ , and blue_ , respectively. More... | |
Public Attributes | |
component_type const | alpha {} |
Alpha channel value. | |
![]() | |
component_type const | red {} |
Red channel value. | |
component_type const | green {} |
Green channel value. | |
component_type const | blue {} |
Blue channel value. | |
Additional Inherited Members | |
![]() | |
using | component_type = uint8_t |
Type used for component values. | |
Indicates the value of the alpha, red, green, and blue color channels for an argb color code.
|
inlinenoexcept |
Construct an argb with alpha, red, green, and blue channels specified by alpha_
, red_
, green_
, and blue_
, respectively.
Valid values are in the range [0,255]
.
alpha_ | Value of the alpha channel (opacity) |
red_ | Value of the red channel |
green_ | Value of the green channel |
blue_ | Value of the blue channel |