NVIDIA DRIVE OS Linux SDK API Reference Release
For Test and Development only

Detailed Description

Holds a constant RGBA color.

the components are stored as float_t values in the range 0.0...1.0 rather than format-specific integer values. This allows NvMediaColor values to be independent from the exact surface format(s) in use.

Definition at line 240 of file nvmedia_vmp.h.

Data Fields

float_t red
 Red color component. More...
float_t green
 Green color component. More...
float_t blue
 Blue color component. More...
float_t alpha
 Alpha color component. More...

Field Documentation

◆ alpha

float_t NvMediaColor::alpha

Alpha color component.

Definition at line 248 of file nvmedia_vmp.h.

◆ blue

float_t NvMediaColor::blue

Blue color component.

Definition at line 246 of file nvmedia_vmp.h.

◆ green

float_t NvMediaColor::green

Green color component.

Definition at line 244 of file nvmedia_vmp.h.

◆ red

float_t NvMediaColor::red

Red color component.

Definition at line 242 of file nvmedia_vmp.h.

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