A tuple of swizzle values for all texture components. More...
#include </home/chochlik/devel/oglplus/include/oglplus/texture_swizzle.hpp>
Public Member Functions | |
TextureSwizzleTuple (void) | |
Default construction. | |
TextureSwizzleTuple (TextureSwizzle mode_r, TextureSwizzle mode_g, TextureSwizzle mode_b, TextureSwizzle mode_a) | |
Specifies modes for all components/coords. | |
TextureSwizzleTuple & | SwizzleR (TextureSwizzle mode) |
Sets the swizzle value for red component. | |
TextureSwizzle | SwizzleR (void) const |
Returns the swizzle value for red component. | |
TextureSwizzleTuple & | Red (TextureSwizzle mode) |
Synonym for SwizzleR. | |
TextureSwizzle | Red (void) const |
Synonym for SwizzleR. | |
TextureSwizzleTuple & | SwizzleG (TextureSwizzle mode) |
Sets the swizzle value for green component. | |
TextureSwizzle | SwizzleG (void) const |
Returns the swizzle value for green component. | |
TextureSwizzleTuple & | Green (TextureSwizzle mode) |
Synonym for SwizzleG. | |
TextureSwizzle | Green (void) const |
Synonym for SwizzleG. | |
TextureSwizzleTuple & | SwizzleB (TextureSwizzle mode) |
Sets the swizzle value for blue component. | |
TextureSwizzle | SwizzleB (void) const |
Returns the swizzle value for blue component. | |
TextureSwizzleTuple & | Blue (TextureSwizzle mode) |
Synonym for SwizzleB. | |
TextureSwizzle | Blue (void) const |
Synonym for SwizzleB. | |
TextureSwizzleTuple & | SwizzleA (TextureSwizzle mode) |
Sets the swizzle value for alpha component. | |
TextureSwizzle | SwizzleA (void) const |
Returns the swizzle value for alpha component. | |
TextureSwizzleTuple & | Alpha (TextureSwizzle mode) |
Synonym for SwizzleA. | |
TextureSwizzle | Alpha (void) const |
Synonym for SwizzleA. | |
TextureSwizzleTuple & | Swizzle (TextureSwizzleCoord coord, TextureSwizzle mode) |
Sets the swizzle value for the specified component/coord. | |
TextureSwizzle | Swizzle (TextureSwizzleCoord coord) const |
Returns the swizzle value for the specified component/coord. | |
A tuple of swizzle values for all texture components.