VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtIndirectGeometryTexturesPointers.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2018 VT-MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvOsg/vrvOsg.h>
13 
14 #include <osg/Texture>
15 
16 #include <vector>
17 
18 namespace makVrv
19 {
21 
22  typedef std::vector<osg::Texture*> VectorTexturePointers;
23 
24  typedef std::vector< osg::ref_ptr<osg::Texture> > VectorTextures;
25 
26  typedef std::vector<unsigned int> VectorTextureUnits;
27 
28 
31  {
32  public:
36 
39 
41  virtual void assignDiffuseTexture(osg::Texture* texture);
45  virtual void assignDiffuseTextureUnit(unsigned int unit);
46 
48  virtual void assign(int type, osg::Texture* texture);
49 
53  virtual void assignUnit(int type, unsigned int unit);
54 
56  virtual void copy(VectorTextures& textures) const;
57 
59  virtual void copyUnits(VectorTextureUnits& textureUnits) const;
60 
62  virtual const DtIndirectEffectTexturesTemplate* effectTexturesTemplate(void) const;
63 
65  virtual osg::Texture* diffuseTexture(void) const;
66 
68  virtual unsigned int diffuseTextureUnit(void) const;
69 
73  virtual void printEffectTextureDetails(bool allTextures, bool fullPath);
74 
76  virtual void assignConfigurableEffectSuffixes(const std::vector<std::string>& suffixes);
77 
79  const std::vector<std::string> suffixes(void) const;
80  protected:
81 
84  unsigned int myDiffuseTextureUnit;
87 
88  std::vector<std::string> myConfigurableEffectSuffixes;
89  };
90 }

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)