NVIDIA DRIVE OS Linux API Reference

5.1.3.0 Release

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
NvMediaColor Struct Reference

Detailed Description

Holds a constant RGBA color.

Note
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 110 of file nvmedia_core.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

float_t NvMediaColor::alpha

Alpha color component.

Definition at line 118 of file nvmedia_core.h.

float_t NvMediaColor::blue

Blue color component.

Definition at line 116 of file nvmedia_core.h.

float_t NvMediaColor::green

Green color component.

Definition at line 114 of file nvmedia_core.h.

float_t NvMediaColor::red

Red color component.

Definition at line 112 of file nvmedia_core.h.


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