VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtDiGuyOsgGraphicsState.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2019 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 #pragma once
6 
10 
11 #include <vrvDiGuy/vrvDiGuy.h>
12 
13 #include <diguyGraphicsState.h>
14 #include <osg/StateSet>
15 
19 {
20 
21 public:
23  DtDiGuyOsgGraphicsState(void* internal_data);
24 
26  virtual ~DtDiGuyOsgGraphicsState();
27 
29  virtual void build();
30 
32  virtual void unbuild();
33 
35  osg::StateSet* stateSet() { return myStateSet.get(); }
36 
37 protected:
39 };
40 
41 
45 
diguyGraphicsState * diguyOsgGraphicsState_create_func(void *internal_data)
Creator to replace diguyOsgGraphicsState with our override Registered in DtDiGuyFunctionRegistration...
osg::ref_ptr< osg::StateSet > myStateSet
Definition: DtDiGuyOsgGraphicsState.h:38
osg::StateSet * stateSet()
Get a pointer to the osg::StateSet.
Definition: DtDiGuyOsgGraphicsState.h:35
Contains DLL export macros.
Derived diguyGraphicsState to create OSG state from DI-Guy state.
Definition: DtDiGuyOsgGraphicsState.h:18
#define DT_DLL_VRVDIGUY
Definition: vrvDiGuy.h:21

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)