VR-Vantage API Documentation
Home
Modules
Namespaces
Classes
Files
Libraries
Examples
Tutorials
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
examples
exampleCustomShaders
exampleCustomShaders.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2016 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
7
8
#ifndef exampleCustomShaders_h_
9
#define exampleCustomShaders_h_
10
11
// Get proper local export symbol
12
#ifdef _WIN32
13
#ifdef DT_DLL_EXAMPLECUSTOMSHADER
14
#define DT_DLL_EXAMPLECUSTOMSHADER __declspec ( dllexport )
15
#else
16
#define DT_DLL_EXAMPLECUSTOMSHADER __declspec ( dllimport )
17
#endif
18
#else
19
#define DT_DLL_EXAMPLECUSTOMSHADER
20
#endif
21
22
// Setup proper plugin export symbol
23
#define DT_DE_PLUGIN_EXPORT_MACRO DT_DLL_EXAMPLECUSTOMSHADER
24
25
// Declare & export the plugin initialization function (bool initDeModule(DtDe* de))
26
#include <
vrvCore/exportPlugin.h
>
27
28
using namespace
makVrv;
29
30
// Work function for the plugin initialization
31
DT_DLL_EXAMPLECUSTOMSHADER
void
init
(
DtDe
& de);
32
33
// Callback to create the DtExampleModelManager which handles cube creation
34
void
createModelManager
(
DtDe
* de);
35
36
#endif
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)