OpenVDB: Film::RGBA Struct Reference

OpenVDB 3.1.0

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- Class List
- Class Hierarchy
- Class Members

Public Types | Public Member Functions | Public Attributes | List of all members
Film::RGBA Struct Reference

Floating-point RGBA components in the range [0, 1]. More...

`#include <RayTracer.h>`

## Public Types
typedef float | ValueT

## Public Member Functions
| RGBA ()
| RGBA (ValueT intensity)
| RGBA (ValueT _r, ValueT _g, ValueT _b, ValueT _a=static_cast< ValueT >(1.0))
RGBA | operator* (ValueT scale) const
RGBA | operator+ (const RGBA &rhs) const
RGBA | operator* (const RGBA &rhs) const
RGBA & | operator+= (const RGBA &rhs)
void | over (const RGBA &rhs)

## Public Attributes
ValueT | r
ValueT | g
ValueT | b
ValueT | a

## Detailed Description

Floating-point RGBA components in the range [0, 1].

This is our preferred representation for color processing.

## Member Typedef Documentation

typedef float ValueT

## Constructor & Destructor Documentation

RGBA | ( |  | ) |
| inline

RGBA | ( | ValueT | intensity | ) |
| inlineexplicit

RGBA | ( | ValueT | _r,
|  | ValueT | _g,
|  | ValueT | _b,
|  | ValueT | _a = `static_cast<ValueT>(1.0)`
| ) |  |
| inline

## Member Function Documentation

RGBA operator* | ( | ValueT | scale | ) | const
| inline

RGBA operator* | ( | const RGBA & | rhs | ) | const
| inline

RGBA operator+ | ( | const RGBA & | rhs | ) | const
| inline

RGBA& operator+= | ( | const RGBA & | rhs | ) |
| inline

void over | ( | const RGBA & | rhs | ) |
| inline

## Member Data Documentation

ValueT a

ValueT b

ValueT g

ValueT r

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

- RayTracer.h