VR-Forces Developer's Guide
 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) 2020 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvDiGuy/vrvDiGuy.h>
13 
14 #include <diguyGraphicsState.h>
15 #include <osg/StateSet>
16 
19 namespace makVrv
20 {
21  class DtDe;
23  {
24 
25  public:
27  DtDiGuyOsgGraphicsState(void* internal_data);
28 
30  virtual ~DtDiGuyOsgGraphicsState();
31 
33  virtual void build() override;
34 
36  virtual void unbuild() override;
37 
39  virtual osg::StateSet* stateSet();
40 
41  static DtDe* theDe;
42 
43  protected:
45  };
46 
47 
51 
52 
53 }
osg::ref_ptr< osg::StateSet > myStateSet
Definition: DtDiGuyOsgGraphicsState.h:44
diguyGraphicsState * diguyOsgGraphicsState_create_func(void *internal_data)
Creator to replace diguyOsgGraphicsState with our override Registered in DtDiGuyFunctionRegistration...
Contains DLL export macros.
Definition: DtDiGuyOsgGraphicsState.h:22
static DtDe * theDe
Definition: DtDiGuyOsgGraphicsState.h:41
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:76
#define DT_DLL_VRVDIGUY
Definition: vrvDiGuy.h:21

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)