HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RU_Blend.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * NAME: RU_Blend.h
7  *
8  * COMMENTS:
9  * Does a composite between two images.
10  */
11 #ifndef RU_BLEND_H
12 #define RU_BLEND_H
13 
14 #include "RU_API.h"
15 #include "RU_Algorithm.h"
16 
18 {
19 public:
21  : myBaseBlend(1.0f), myBlend1(0.0f), myBlend2(1.0f),
22  mySingleFactorBlend(true), myBlendInvert(false) {}
23 
24  float myBaseBlend;
25  float myBlend1;
26  float myBlend2;
29 
30  DECLARE_BINARY_OP(RU_BlendOp, override)
31  DECLARE_PIXEL_OP(RU_BlendSingleOp, override)
32  DECLARE_FILTER_OP(RU_BlendFilterOp, override)
33 };
34 
35 
36 #endif
RU_Blend()
Definition: RU_Blend.h:20
#define RU_API
Definition: RU_API.h:10
GLfloat f
Definition: glcorearb.h:1926
#define DECLARE_FILTER_OP(name, override_)
float myBlend2
Definition: RU_Blend.h:26
float myBlend1
Definition: RU_Blend.h:25
bool mySingleFactorBlend
Definition: RU_Blend.h:27
#define DECLARE_BINARY_OP(name, override_)
#define DECLARE_PIXEL_OP(name, override_)
float myBaseBlend
Definition: RU_Blend.h:24
bool myBlendInvert
Definition: RU_Blend.h:28