VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
exampleCustomShaders.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2019 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
7 #pragma once
8 
9 // Get proper local export symbol
10 #ifdef _WIN32
11 #ifdef EXAMPLECUSTOMSHADERS_EXPORTS
12 #define DT_DLL_EXAMPLECUSTOMSHADER __declspec ( dllexport )
13 #else
14 #define DT_DLL_EXAMPLECUSTOMSHADER __declspec ( dllimport )
15 #endif
16 #else
17 #define DT_DLL_EXAMPLECUSTOMSHADER
18 #endif
19 
20 // Setup proper plugin export symbol
21 #define DT_DE_PLUGIN_EXPORT_MACRO DT_DLL_EXAMPLECUSTOMSHADER
22 
23 // Declare & export the plugin initialization function (bool initDeModule(DtDe* de))
24 #include <vrvCore/exportPlugin.h>
25 
26 using namespace makVrv;
27 
28 // Work function for the plugin initialization
30 
31 // Callback to create the DtExampleModelManager which handles cube creation
32 void createModelManager(DtDe* de);
DT_DLL_EXAMPLESCENEROOTPLUGIN void init(DtDe &anIG)
void createModelManager(DtDe *de)
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:70
#define DT_DLL_EXAMPLECUSTOMSHADER
Definition: exampleCustomShaders.h:17

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)