cgv
Loading...
Searching...
No Matches
cgv::media::alpha_reference< T, am > Struct Template Reference

captures reference to alpha component of color More...

#include <color.h>

Public Member Functions

template<ColorModel cm>
 alpha_reference (color_base< T, cm, am > &c)
 

Public Attributes

T & alpha_ref
 

Detailed Description

template<typename T, AlphaModel am>
struct cgv::media::alpha_reference< T, am >

captures reference to alpha component of color

Definition at line 86 of file color.h.

Constructor & Destructor Documentation

◆ alpha_reference()

template<typename T , AlphaModel am>
template<ColorModel cm>
cgv::media::alpha_reference< T, am >::alpha_reference ( color_base< T, cm, am > &  c)
inline

Definition at line 90 of file color.h.

Member Data Documentation

◆ alpha_ref

template<typename T , AlphaModel am>
T& cgv::media::alpha_reference< T, am >::alpha_ref

Definition at line 88 of file color.h.


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