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

specialize for color types without alpha where reference is to static dummy alpha More...

#include <color.h>

Public Member Functions

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

Public Attributes

T & alpha_ref
 

Detailed Description

template<typename T>
struct cgv::media::alpha_reference< T, NO_ALPHA >

specialize for color types without alpha where reference is to static dummy alpha

Definition at line 94 of file color.h.

Constructor & Destructor Documentation

◆ alpha_reference()

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

Definition at line 99 of file color.h.

Member Function Documentation

◆ ref_dummy_alpha()

template<typename T >
T & cgv::media::alpha_reference< T, NO_ALPHA >::ref_dummy_alpha ( )
inline

Definition at line 96 of file color.h.

Member Data Documentation

◆ alpha_ref

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

Definition at line 97 of file color.h.


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