VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtIndirectTextureProcessor.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 <string>
16 
17 namespace makVrv
18 {
21  {
22  public:
23  virtual void launchTextureLoadsIfNecessary(void);
24  virtual void collectTexturesToLoad(const VectorOsgTextures& newTexturesFound);
25  virtual bool collectCompiledTextures(osg::RenderInfo& renderInfo);
26 
27  protected:
28  //only the registrar can create these for now
30 
33 
35  virtual ~DtIndirectTextureProcessor();
36 
37  // internal
38  virtual void collectTexturesToLoad(const DtIndirectGeometryTextures& osgGeometryTextures);
39  virtual void collectTexturesToLoad(const osg::ref_ptr<osg::Texture>& texture);
40 
41  protected:
42 
43  typedef std::set<osg::ref_ptr<osg::Texture> > SetTextures;
44 
48 
49  typedef std::set<int> SetTextureUnits;
51 
52  private:
54  unsigned int myLastFrameNumber;
55  };
56 
57 }

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)