|
NVTX++
3.0
C++ convenience wrappers for NVTX.
|
Indicates the values of the red, green, blue color channels for a rgb color code. More...
#include <nvtx3.hpp>

Public Types | |
| using | component_type = uint8_t |
| Type used for component values. | |
Public Member Functions | |
| 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 | red {} |
| Red channel value. | |
| component_type const | green {} |
| Green channel value. | |
| component_type const | blue {} |
| Blue channel value. | |
Indicates the values of the red, green, blue color channels for a rgb color code.
|
inlinenoexcept |
Construct a rgb with red, green, and blue channels specified by red_, green_, and blue_, respectively.
Valid values are in the range [0,255].
| red_ | Value of the red channel |
| green_ | Value of the green channel |
| blue_ | Value of the blue channel |
1.8.11