OpenVDB  3.2.0
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
 
RGBAoperator+= (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

§ ValueT

typedef float ValueT

Constructor & Destructor Documentation

§ RGBA() [1/3]

RGBA ( )
inline

§ RGBA() [2/3]

RGBA ( ValueT  intensity)
inlineexplicit

§ RGBA() [3/3]

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

Member Function Documentation

§ operator*() [1/2]

RGBA operator* ( ValueT  scale) const
inline

§ operator*() [2/2]

RGBA operator* ( const RGBA rhs) const
inline

§ operator+()

RGBA operator+ ( const RGBA rhs) const
inline

§ operator+=()

RGBA& operator+= ( const RGBA rhs)
inline

§ over()

void over ( const RGBA rhs)
inline

Member Data Documentation

§ a

ValueT a

§ b

ValueT b

§ g

ValueT g

§ r

ValueT r

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