Kanzi 3.9.10
graphics_swizzle_mask.hpp File Reference

Classes

class  kanzi::TextureSwizzleMask
 Use the texture swizzle mask to reorder the color channel values returned by the texture function in a shader. More...
 

Namespaces

namespace  kanzi
 

Typedefs

using kanzi::GLSwizzleMask
 

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.
 
constexpr TextureSwizzleMask kanzi::SwizzleMaskLuminanceToRGBA (TextureSwizzleMask::ColorComponent::Alpha)
 Masks all color channels with alpha.
 
constexpr TextureSwizzleMask kanzi::SwizzleMaskRGBToLuminanceAlpha (TextureSwizzleMask::ColorComponent::Red, TextureSwizzleMask::ColorComponent::Red, TextureSwizzleMask::ColorComponent::Red, TextureSwizzleMask::ColorComponent::Alpha)
 Masks all color channels with red.