VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtOsgEmissivityMapController.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2023 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 
37 
38  public: // DtOsgEffectTextureController interface
39 
40  virtual osg::Texture* installEffectTexture(osg::Texture* baseTexture, int texUnit, osg::StateSet* stateSet, const osgDB::Options* dbOptions, const DtPossibleFileNamesCache& possibleFilenames) const;
41 
42  virtual bool installShaders(int baseUnit, int effectUnit, const osg::Texture* tex, osg::StateSet* stateSet, const std::string& baseTextureName) const;
43  };
44 
48 }
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 emissivity mapping effects.
Definition: DtOsgEmissivityMapController.h:29
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
DtEffectControllerCreatorTemplate< DtOsgEmissivityMapController > DtEMMControllerCreator
Creator for EMM map controller.
Definition: DtOsgEmissivityMapController.h:47
template for creating effect controller creators. Implements a simple create function which creates t...
Definition: DtEffectControllerCreatorTemplate.h:24

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)