NVIDIA DRIVE 5.0 Linux SDK API Reference

5.0.5.0 Release

 All Data Structures 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 99 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 107 of file nvmedia_core.h.

float_t NvMediaColor::blue

Blue color component.

Definition at line 105 of file nvmedia_core.h.

float_t NvMediaColor::green

Green color component.

Definition at line 103 of file nvmedia_core.h.

float_t NvMediaColor::red

Red color component.

Definition at line 101 of file nvmedia_core.h.


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