VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtOsgLightMapController.h
Go to the documentation of this file.
1 /*****************************************************************************
2 * Copyright (c) 2019 MAK Technologies, Inc.
3 * All rights reserved.
4 *****************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvOsg/vrvOsg.h>
13 
16 
17 #include <string>
18 
19 namespace osg
20 {
21  class Texture;
22  class StateSet;
23 }
24 
25 namespace makVrv
26 {
30  {
31  public:
34 
36  virtual ~DtOsgLightMapController();
37 
38 
39  public: // DtOsgEffectTextureController interface
40 
41  virtual osg::Texture* installEffectTexture(osg::Texture* baseTexture, int texUnit, osg::StateSet* stateSet, const osgDB::Options* dbOptions, const DtPossibleFileNamesCache& possibleFilenames) const;
42 
43  virtual bool installShaders(int baseUnit, int effectUnit, const osg::Texture* tex, osg::StateSet* stateSet, const std::string& baseTextureName) const;
44  };
45 
49 }
A thread safe cache containing a list of possible file names for effect textures, based on the curren...
Definition: DtPossibleFileNamesCache.h:27
Contains makVrv::DtOsgEffectTextureController declaration.
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
Installs and control light mapping effects.
Definition: DtOsgLightMapController.h:29
DtEffectControllerCreatorTemplate< DtOsgLightMapController > DtOsgLightMapControllerCreator
Creator for light map controller.
Definition: DtOsgLightMapController.h:48
Base class for controllers that install and control effect textures.
Definition: DtOsgEffectTextureController.h:44
Contains makVrv::DtEffectControllerFactory class.
Contains DLL export macros.
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:72
template for creating effect controller creators. Implements a simple create function which creates t...
Definition: DtEffectControllerCreatorTemplate.h:24

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)