VR-Vantage 2.7 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) 2019 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 # endif
22 #else
23 # define DT_DLL_VRVOSG
24 #endif
25 #include <vrvUtil/vrvUtil.h>
26 
27 namespace makVrv
28 {
29  class DtDe;
30 
31  namespace vrvOsg
32  {
33  // The initOpenGL flag makes it possible to initialize a Display Engine's
34  // OSG component on systems that don't actually have OpenGL support; it
35  // is used by VRForces backends.
36  DT_DLL_VRVOSG void init(DtDe& anIG, bool initOpenGL = true);
37  }
38 }


Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)