VR-Vantage 2.5 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
vrvOsg.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2018 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
6 #ifdef vrvCore_EXPORTS
7 #error "Including vrvOsg files in vrvCore"
8 #endif
9 
14 
15 #pragma once
16 #ifdef _WIN32
17 # ifdef vrvOsg_EXPORTS
18 # define DT_DLL_VRVOSG __declspec ( dllexport )
19 # else
20 # define DT_DLL_VRVOSG __declspec ( dllimport )
21 # ifdef _DEBUG
22 # pragma comment(lib,"vrvOsgd.lib")
23 # else
24 # pragma comment(lib,"vrvOsg.lib")
25 # endif
26 # endif
27 #else
28 # define DT_DLL_VRVOSG
29 #endif
30 #include <vrvUtil/vrvUtil.h>
31 
32 namespace makVrv
33 {
34  class DtDe;
35 
36  namespace vrvOsg
37  {
38  // The initOpenGL flag makes it possible to initialize a Display Engine's
39  // OSG component on systems that don't actually have OpenGL support; it
40  // is used by VRForces backends.
41  DT_DLL_VRVOSG void init(DtDe& anIG, bool initOpenGL = true);
42  }
43 }


Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)