VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties 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 
void * NativeResourceHandle
Definition: DtOverlayResourceProvider.h:33
The DtOsgRenderer is the component responsible for rendering 3D images onto the screen via OpenSceneG...
Definition: DtOsgRenderer.h:125
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
The overlay resource provider class provies resources for overlay drawing classes.
Definition: DtOverlayResourceProvider.h:23
osg::State * myState
Definition: DtOsgOverlayResourceProvider.h:43
Contains DLL export macros.
The Osg specific implementation of the overlay resource provider.
Definition: DtOsgOverlayResourceProvider.h:29

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)