|
CeresEngine 0.2.0
A game development framework
|
Image component swizzle structure for red, green, blue, and alpha components. More...
#include <CeresEngine/RenderAPI/GPUImage.hpp>
Static Public Member Functions | |
| template<typename Processor > | |
| static constexpr void | reflect (Processor &&RTTI) |
| Executes the given processor for every field of the struct. | |
Public Attributes | |
| GPUImageSwizzle | r = GPUImageSwizzle::Red |
Red component swizzle. By default red. | |
| GPUImageSwizzle | g = GPUImageSwizzle::Green |
Green component swizzle. By default green. | |
| GPUImageSwizzle | b = GPUImageSwizzle::Blue |
Blue component swizzle. By default blue. | |
| GPUImageSwizzle | a = GPUImageSwizzle::Alpha |
Alpha component swizzle. By default alpha. | |
Friends | |
| bool | operator== (const GPUImageSwizzleRGBA &lhs, const GPUImageSwizzleRGBA &rhs) |
| bool | operator!= (const GPUImageSwizzleRGBA &lhs, const GPUImageSwizzleRGBA &rhs) |
Image component swizzle structure for red, green, blue, and alpha components.
|
inlinestaticconstexpr |
Executes the given processor for every field of the struct.
| RTTI | The processor to be ran for every field. |
|
friend |
|
friend |
| GPUImageSwizzle CeresEngine::GPUImageSwizzleRGBA::a = GPUImageSwizzle::Alpha |
Alpha component swizzle. By default alpha.
| GPUImageSwizzle CeresEngine::GPUImageSwizzleRGBA::b = GPUImageSwizzle::Blue |
Blue component swizzle. By default blue.
| GPUImageSwizzle CeresEngine::GPUImageSwizzleRGBA::g = GPUImageSwizzle::Green |
Green component swizzle. By default green.
| GPUImageSwizzle CeresEngine::GPUImageSwizzleRGBA::r = GPUImageSwizzle::Red |
Red component swizzle. By default red.