Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::swizzlemasks Namespace Reference

Functions

constexpr SwizzleMask defaultColor (size_t numComponents) noexcept
 
constexpr SwizzleMask defaultData (size_t numComponents) noexcept
 

Variables

constexpr SwizzleMask rgb
 
constexpr SwizzleMask rgba
 
constexpr SwizzleMask rgbZeroAlpha
 
constexpr SwizzleMask luminance
 
constexpr SwizzleMask luminanceAlpha
 
constexpr SwizzleMask redGreen
 
constexpr SwizzleMask depth = luminance
 

Detailed Description

swizzlemasks

Variable Documentation

◆ luminance

SwizzleMask inviwo::swizzlemasks::luminance
constexpr
Initial value:
= {
{ImageChannel::Red, ImageChannel::Red, ImageChannel::Red, ImageChannel::One}}

◆ luminanceAlpha

SwizzleMask inviwo::swizzlemasks::luminanceAlpha
constexpr
Initial value:
= {
{ImageChannel::Red, ImageChannel::Red, ImageChannel::Red, ImageChannel::Green}}

◆ redGreen

SwizzleMask inviwo::swizzlemasks::redGreen
constexpr
Initial value:
= {
{ImageChannel::Red, ImageChannel::Green, ImageChannel::Zero, ImageChannel::Zero}}

◆ rgb

SwizzleMask inviwo::swizzlemasks::rgb
constexpr
Initial value:
= {
{ImageChannel::Red, ImageChannel::Green, ImageChannel::Blue, ImageChannel::One}}

◆ rgba

SwizzleMask inviwo::swizzlemasks::rgba
constexpr
Initial value:
= {
{ImageChannel::Red, ImageChannel::Green, ImageChannel::Blue, ImageChannel::Alpha}}

◆ rgbZeroAlpha

SwizzleMask inviwo::swizzlemasks::rgbZeroAlpha
constexpr
Initial value:
= {
{ImageChannel::Red, ImageChannel::Green, ImageChannel::Blue, ImageChannel::Zero}}