VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtScopedGlContext.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2023 MAK Technologies, Inc.
3  * All rights reserved.
4  *****************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvOsg/vrvOsg.h>
13 
14 #include <osg/GraphicsContext>
15 
16 namespace makVrv
17 {
18  class DtDe;
19 
22  {
23  public:
26 
28  virtual ~DtScopedGlContext();
29 
31  DtScopedGlContext() = delete;
33  DtScopedGlContext(const DtScopedGlContext&) = delete;
35  DtScopedGlContext& operator=(const DtScopedGlContext&) = delete;
36  protected:
38 
41  };
42 }
osg::ref_ptr< osg::GraphicsContext::Traits > myTraits
Definition: DtScopedGlContext.h:39
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
DtDe & myDe
Definition: DtScopedGlContext.h:37
Contains DLL export macros.
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:72
RAII style OpenGL context. Useful for one off initialization.
Definition: DtScopedGlContext.h:21
osg::ref_ptr< osg::GraphicsContext > myGraphicsContext
Definition: DtScopedGlContext.h:40

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)