LibCarna Version 3.4.0
Loading...
Searching...
No Matches
BlendFunction.hpp
Go to the documentation of this file.
1/*
2 * Copyright (C) 2010 - 2016 Leonid Kostrykin
3 *
4 * Chair of Medical Engineering (mediTEC)
5 * RWTH Aachen University
6 * Pauwelsstr. 20
7 * 52074 Aachen
8 * Germany
9 *
10 *
11 * Copyright (C) 2021 - 2025 Leonid Kostrykin
12 *
13 */
14
15#ifndef BLENDFUNCTION_H_6014714286
16#define BLENDFUNCTION_H_6014714286
17
23#include <LibCarna/LibCarna.hpp>
24
25namespace LibCarna
26{
27
28namespace base
29{
30
31
32
33// ----------------------------------------------------------------------------------
34// BlendFunction
35// ----------------------------------------------------------------------------------
36
42class LIBCARNA BlendFunction
43{
44
45public:
46
54 BlendFunction( int sourceFactor, int destinationFactor );
55
60
65
69 bool operator==( const BlendFunction& other ) const;
70
71}; // BlendFunction
72
73
74
75} // namespace LibCarna :: base
76
77} // namespace LibCarna
78
79#endif // BLENDFUNCTION_H_6014714286
Contains forward-declarations.
Represents an association.
Defines how alpha blending is to be performed.
BlendFunction(int sourceFactor, int destinationFactor)
Creates blend function with sourceFactor and destinationFactor.
int destinationFactor
Holds the destination factor.
bool operator==(const BlendFunction &other) const
Tells whether this function equals other.
int sourceFactor
Holds the source factor.