Carna Version 3.3.3
Loading...
Searching...
No Matches
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
21namespace Carna
22{
23
24namespace base
25{
26
27
28
29// ----------------------------------------------------------------------------------
30// BlendFunction
31// ----------------------------------------------------------------------------------
32
39class CARNA_LIB BlendFunction
40{
41
42public:
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
Represents an association.
Definition Association.h:45
Defines how alpha blending is to be performed.
int destinationFactor
Holds the destination factor.
int sourceFactor
Holds the source factor.
BlendFunction(int sourceFactor, int destinationFactor)
Creates blend function with sourceFactor and destinationFactor.
bool operator==(const BlendFunction &other) const
Tells whether this function equals other.