VR-Vantage 3.2 API Documentation
 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);


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