VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtOsgOverlayResourceProvider.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2009 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: $ $Revision: $ $State: $
7 ******************************************************************************/
8 
12 
13 #ifndef DtOsgOverlayResourceProvider_H_
14 #define DtOsgOverlayResourceProvider_H_
15 
16 #include <vrvOsg/vrvOsg.h>
18 
19 namespace osg
20 {
21  class State;
22 }
23 
24 namespace makVrv
25 {
26  class DtOsgRenderer;
27 
30  {
31  public:
32 
34  DtOsgOverlayResourceProvider(DtOsgRenderer& renderer, bool forceTextShaping);
35 
37  void setState(osg::State* myState);
38 
39  virtual unsigned int texture1DId(NativeResourceHandle handle);
40  virtual unsigned int texture2DId(NativeResourceHandle handle);
41 
42  protected:
43  osg::State* myState;
44  };
45 }
46 
47 #endif
48 

Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)