Blend.h File Reference
#include "Asset.h"
Include dependency graph for Blend.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Graphics::Blend
 Blend operations. More...
 
class  Graphics::BlendTemplate< Class, blendMode >
 
class  Graphics::BlendWrite
 
class  Graphics::BlendXor
 
class  Graphics::BlendXNor
 
class  Graphics::BlendMask
 
class  Graphics::BlendTransparent
 
class  Graphics::BlendAlpha
 

Namespaces

 Graphics
 

Macros

#define GRAPHICS_BLENDMODE_MAP(XX)
 
#define XX(name, desc)   name,
 

Typedefs

using Graphics::BlendMode = Blend::Mode
 

Functions

String toString (Graphics::BlendMode mode)
 

Macro Definition Documentation

◆ GRAPHICS_BLENDMODE_MAP

#define GRAPHICS_BLENDMODE_MAP (   XX)
Value:
XX(Write, "Write normally") \
XX(Xor, "dst = dst XOR src0") \
XX(XNor, "dst = dst XOR (NOT src)") \
XX(Mask, "dst = dst AND src") \
XX(Transparent, "Make nominated colour transparent") \
XX(Alpha, "Blend using alpha value")
#define XX(name, desc)
Definition: Blend.h:45

◆ XX

#define XX (   name,
  desc 
)    name,

Function Documentation

◆ toString()

String toString ( Graphics::BlendMode  mode)