Carna  Version 3.3.2
BlendFunction.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2010 - 2015 Leonid Kostrykin
3  *
4  * Chair of Medical Engineering (mediTEC)
5  * RWTH Aachen University
6  * Pauwelsstr. 20
7  * 52074 Aachen
8  * Germany
9  *
10  */
11 
12 #ifndef BLENDFUNCTION_H_6014714286
13 #define BLENDFUNCTION_H_6014714286
14 
19 #include <Carna/Carna.h>
20 
21 namespace Carna
22 {
23 
24 namespace base
25 {
26 
27 
28 
29 // ----------------------------------------------------------------------------------
30 // BlendFunction
31 // ----------------------------------------------------------------------------------
32 
39 class CARNA_LIB BlendFunction
40 {
41 
42 public:
43 
51  BlendFunction( int sourceFactor, int destinationFactor );
52 
57 
62 
66  bool operator==( const BlendFunction& other ) const;
67 
68 }; // BlendFunction
69 
70 
71 
72 } // namespace Carna :: base
73 
74 } // namespace Carna
75 
76 #endif // BLENDFUNCTION_H_6014714286
int sourceFactor
Holds the source factor.
Definition: BlendFunction.h:56
Defines how alpha blending is to be performed.
Definition: BlendFunction.h:39
int destinationFactor
Holds the destination factor.
Definition: BlendFunction.h:61