VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtIndirectBlendFunction.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2020 VT-MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvOsg/vrvOsg.h>
13 
14 #include <ostream>
15 
16 namespace makVrv
17 {
18  // The blend factors enum
20  {
25  };
26 
30  {
31  public:
34 
37  , DtIndirectBlendFactor srcAlpha, DtIndirectBlendFactor dstAlpha);
38 
42 
45 
47  DtIndirectBlendFunction &operator=(const DtIndirectBlendFunction &other);
48 
51  public:
53  const DtIndirectBlendFactor& srcRgb(void) const;
54 
56  const DtIndirectBlendFactor& dstRgb(void) const;
57 
59  const DtIndirectBlendFactor& srcAlpha(void) const;
60 
62  const DtIndirectBlendFactor& dstAlpha(void) const;
63 
65  bool operator==(const DtIndirectBlendFunction& rhs) const;
66 
68  bool operator!=(const DtIndirectBlendFunction& rhs) const;
69 
71  void apply(void) const;
72  protected:
75 
78  };
79 
80  std::ostream& operator <<(std::ostream& o, const DtIndirectBlendFunction& blendFunction);
81 }
Definition: DtIndirectBlendFunction.h:24
Definition: DtIndirectBlendFunction.h:23
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
Definition: DtIndirectBlendFunction.h:22
DT_DLL_VRFGUICORE makVrv::DtMessage & operator<<(DtMessage &msg, const makVrf::DtNetworkMessageAgentInterface &)
DtIndirectBlendFactor mySrcRgb
Definition: DtIndirectBlendFunction.h:73
DtIndirectBlendFactor myDstAlpha
Definition: DtIndirectBlendFunction.h:77
DtIndirectBlendFactor mySrcAlpha
Definition: DtIndirectBlendFunction.h:76
DtIndirectBlendFactor
Definition: DtIndirectBlendFunction.h:19
non virtual container class for defining a blending function
Definition: DtIndirectBlendFunction.h:29
Definition: DtIndirectBlendFunction.h:21
bool operator==(const DtTextureAtlasIndexParser::StringOrFloatAttrib &lhs, const DtTextureAtlasIndexParser::StringOrFloatAttrib &rhs)
needed for search comparison code
Definition: DtTextureAtlasIndexParser.h:153
Contains DLL export macros.
DT_DLL_terrainCS bool operator!=(const DtDegMinSec &lhs, const DtDegMinSec &rhs)
DtIndirectBlendFactor myDstRgb
Definition: DtIndirectBlendFunction.h:74

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)