HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros 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  virtual ~RU_Blend() { }
24 
25  float myBaseBlend;
26  float myBlend1;
27  float myBlend2;
30 
31  DECLARE_BINARY_OP(RU_BlendOp)
32  DECLARE_PIXEL_OP(RU_BlendSingleOp)
33  DECLARE_FILTER_OP(RU_BlendFilterOp)
34 };
35 
36 
37 #endif
RU_Blend()
Definition: RU_Blend.h:20
#define DECLARE_FILTER_OP(name)
#define RU_API
Definition: RU_API.h:10
#define DECLARE_PIXEL_OP(name)
GLfloat f
Definition: glcorearb.h:1925
float myBlend2
Definition: RU_Blend.h:27
float myBlend1
Definition: RU_Blend.h:26
bool mySingleFactorBlend
Definition: RU_Blend.h:28
#define DECLARE_BINARY_OP(name)
virtual ~RU_Blend()
Definition: RU_Blend.h:23
float myBaseBlend
Definition: RU_Blend.h:25
bool myBlendInvert
Definition: RU_Blend.h:29