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) 2026 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 
16 #include <tbb/spin_mutex.h>
17 
18 #include <osg/StateSet>
19 
22 namespace makVrv
23 {
24  class DtDe;
26  {
27 
28  public:
30  DtDiGuyOsgGraphicsState(void* internal_data);
31 
33  virtual ~DtDiGuyOsgGraphicsState();
34 
36  virtual void build() override;
37 
39  virtual void unbuild() override;
40 
42  virtual osg::StateSet* stateSet();
43 
44  static DtDe* theDe;
45 
46  protected:
47 
48  tbb::spin_mutex stateSetMutex;
49 
51 
52  };
53 
54 
58 
59 
60 }
tbb::spin_mutex stateSetMutex
Definition: DtDiGuyOsgGraphicsState.h:48
osg::ref_ptr< osg::StateSet > myStateSet
Definition: DtDiGuyOsgGraphicsState.h:50
diguyGraphicsState * diguyOsgGraphicsState_create_func(void *internal_data)
Creator to replace diguyOsgGraphicsState with our override Registered in DtDiGuyFunctionRegistration...
Contains DLL export macros.
Definition: DtDiGuyOsgGraphicsState.h:25
static DtDe * theDe
Definition: DtDiGuyOsgGraphicsState.h:44
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 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)