VR-Vantage
Loading...
Searching...
No Matches
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))
25
26using namespace makVrv;
27
28// Work function for the plugin initialization
30
31// Callback to create the DtExampleModelManager which handles cube creation
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer,...
Definition DtDe.h:77
#define DT_DLL_EXAMPLECUSTOMSHADER
Definition exampleCustomShaders.h:17
void createModelManager(DtDe *de)
DT_DLL_EXAMPLECUSTOMSHADER void init(DtDe &de)
Contains DtCreateSensorFieldOfViewCommand and DtCreateSensorFieldOfViewCommandCreator class declarati...
Definition DtGridLinesSettingsRecord.h:16