Kanzi  3.9.6
Kanzi Engine API
graphics_swizzle_mask.hpp File Reference

Classes

class  kanzi::TextureSwizzleMask
 Texture swizzle mask. More...
 

Namespaces

 kanzi
 Easing functions that require external dependencies for calculation.
 

Typedefs

using kanzi::GLSwizzleMask = array< int, 4 >
 

Functions

constexpr TextureSwizzleMask kanzi::SwizzleMaskARGBToRGBA (TextureSwizzleMask::ColorComponent::Green, TextureSwizzleMask::ColorComponent::Blue, TextureSwizzleMask::ColorComponent::Alpha, TextureSwizzleMask::ColorComponent::Red)
 Masks the color channels from ARGB to RGBA. More...
 
constexpr TextureSwizzleMask kanzi::SwizzleMaskLuminanceToRGBA (TextureSwizzleMask::ColorComponent::Alpha)
 Masks all of the color channels with alpha. More...
 
constexpr TextureSwizzleMask kanzi::SwizzleMaskRGBToLuminanceAlpha (TextureSwizzleMask::ColorComponent::Red, TextureSwizzleMask::ColorComponent::Red, TextureSwizzleMask::ColorComponent::Red, TextureSwizzleMask::ColorComponent::Alpha)
 Masks all color channels with red. More...