VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtGlCapsRegistry.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2024 MAK Technologies, Inc.
3  * All rights reserved.
4  *****************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvOsg/vrvOsg.h>
13 
15 
16 namespace makVrv
17 {
18  class DtDe;
19  class DtGlCaps;
20 
23  {
24  public:
25  virtual ~DtGlCapsRegistry();
26 
30  static DtGlCapsRegistry* instance(DtDe& de);
31  protected:
34  private:
36  DtGlCapsRegistry() = delete;
38  DtGlCapsRegistry(const DtGlCapsRegistry&) = delete;
40  DtGlCapsRegistry& operator=(const DtGlCapsRegistry&) = delete;
41  public:
43  virtual const DtGlCaps* glCaps(void) const;
44  protected:
46  void initGlewAndCaps(void);
48  void printGpuInfo(void);
50  std::string convertNvidiaVersionToString(int);
51  protected:
52  DtGlCaps* myGlCaps = nullptr;
54  };
55 }
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
Contains makVrv::DtVirtualBaseClass class.
DtGlCaps provide the capabilities value in OpenGL.
Definition: DtGlCaps.h:41
Initializes glew and gl capabilities.
Definition: DtGlCapsRegistry.h:22
DtDe & myDe
Definition: DtGlCapsRegistry.h:53
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:76

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)