VR-Forces 4.10 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 
9 
10 #ifndef DtOsgOverlayResourceProvider_H_
11 #define DtOsgOverlayResourceProvider_H_
12 
13 #include <vrvOsg/vrvOsg.h>
15 
16 namespace osg
17 {
18  class State;
19 }
20 
21 namespace makVrv
22 {
23  class DtOsgRenderer;
24 
27  {
28  public:
29 
31  DtOsgOverlayResourceProvider(DtOsgRenderer& renderer, bool forceTextShaping);
32 
34  void setState(osg::State* myState);
35 
36  virtual unsigned int texture1DId(NativeResourceHandle handle);
37  virtual unsigned int texture2DId(NativeResourceHandle handle);
38 
39  protected:
40  osg::State* myState;
41  };
42 }
43 
44 #endif
45 
void * NativeResourceHandle
Definition: DtOverlayResourceProvider.h:33
The DtOsgRenderer is the component responsible for rendering 3D images onto the screen via OpenSceneG...
Definition: DtOsgRenderer.h:90
#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:40
Contains DLL export macros.
The Osg specific implementation of the overlay resource provider.
Definition: DtOsgOverlayResourceProvider.h:26

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)