OpenGLInfo.h
1 //##################################################################################################
2 //
3 // Ceetron Desktop Components
4 // Component: Visualization
5 //
6 // --------------------------------------------------------------------------------------------
7 // Copyright (C) 2018, Ceetron AS
8 // This is UNPUBLISHED PROPRIETARY SOURCE CODE of Ceetron AS. The contents of this file may
9 // not be disclosed to third parties, copied or duplicated in any form, in whole or in part,
10 // without the prior written permission of Ceetron AS.
11 //##################################################################################################
12 
13 #pragma once
14 
15 #include "CeeVisualization/Base.h"
16 
17 #include "CeeCore/Str.h"
18 
19 namespace cvf {
20 class OpenGLInfo;
21 }
22 
23 namespace cee {
24 namespace vis {
25 
26 
27 //==================================================================================================
28 //
29 //
30 //
31 //==================================================================================================
32 class CEE_VIS_EXPORT OpenGLInfo
33 {
34 public:
35  OpenGLInfo();
36  OpenGLInfo(Str version, Str vendor, Str renderer, Str backendDetails);
37  OpenGLInfo(const OpenGLInfo& other);
38  ~OpenGLInfo();
39 
40  OpenGLInfo& operator=(const OpenGLInfo& rhs);
41 
42  Str version() const;
43  Str vendor() const;
44  Str renderer() const;
45  Str backendDetails() const;
46 
47 private:
48  CEE_PRIVATE_IMPL(OpenGLInfo);
49 };
50 
51 } // namespace vis
52 } // namespace cee
Definition: LogEvent.h:19
Namespace cee contains all functionality and structures under the Core component. ...
Definition: AppComponent.cpp:26
A general unicode based string class.
Definition: Str.h:28
Class containing OpenGL renderer and version information for an OpenGLContextGroup.
Definition: OpenGLInfo.h:32