3ds Max C++ API Reference
Loading...
Searching...
No Matches
Color24 Struct Reference

8 bits for each of the Red, Green and Blue components. More...

#include <maxcolors.h>

Public Member Functions

constexpr Color24 (uint8_t vr=0, uint8_t vg=0, uint8_t vb=0)
 

Public Attributes

uint8_t r
 
uint8_t g
 
uint8_t b
 

Detailed Description

8 bits for each of the Red, Green and Blue components.

Structure Color48, Structure Color64.

Constructor & Destructor Documentation

◆ Color24()

constexpr Color24 ( uint8_t  vr = 0,
uint8_t  vg = 0,
uint8_t  vb = 0 
)
inlineconstexpr
24 : r(vr)
25 , g(vg)
26 , b(vb)
27 {
28 }
uint8_t g
Definition: maxcolors.h:29
uint8_t b
Definition: maxcolors.h:29
uint8_t r
Definition: maxcolors.h:29

Member Data Documentation

◆ r

uint8_t r

◆ g

uint8_t g

◆ b

uint8_t b