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

captures reference to alpha component of color More...

#include <color.h>

Public Member Functions

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

Public Attributes

const T & alpha_ref
 

Detailed Description

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

captures reference to alpha component of color

Definition at line 103 of file color.h.

Constructor & Destructor Documentation

◆ const_alpha_reference()

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

Definition at line 107 of file color.h.

Member Data Documentation

◆ alpha_ref

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

Definition at line 105 of file color.h.


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