VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtExampleEffectTextureController.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2025 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 #pragma once
6 
9 
12 
13 #include <vrvCore/DtDe.h>
14 
18 
20 
21 #include <osg/StateSet>
22 #include <osg/Texture>
23 
24 using namespace makArchives;
25 
26 namespace makVrv
27 {
29  {
30  public:
32 
34 
35  virtual bool installShaders(int baseUnit, int effectUnit, const osg::Texture* tex, osg::StateSet* stateSet, const std::string& baseTextureName) const;
36 
37  static void toggleEffectEnabled();
38 
39  protected:
40  static const std::string myVertSource;
41  static const std::string myFragSource;
42  };
43 
45  {
46  public:
47  virtual DtOsgEffectTextureController* create(DtDe& de);
48  };
49 
52  {
53  public:
55 
56  virtual void initialize( const DtIndirectEffectTexturesTemplate& effectTexturesState, unsigned int numTextCoordArrays ) override;
57  };
58 
60 }
Contains makVrv::DtOsgEffectTextureController declaration.
Contains the DtIndirectDefaultDrawComponent class declaration.
#define DT_DLL_EXAMPLEEFFECTTEXTUREPLUGIN
Definition: exampleEffectTexturePlugin.h:19
Contains DLL export macros.
Variadic templated creator class for creating a custom version of a DtVirtualBaseClassCreator This cl...
Definition: DtVirtualBaseClassCustomCreator.h:25
Contains makVrv::DtDe class.
static const std::string myVertSource
Definition: DtExampleEffectTextureController.h:40
static const std::string myFragSource
Definition: DtExampleEffectTextureController.h:41
Base class for controllers that install and control effect textures.
Definition: DtOsgEffectTextureController.h:44
Definition: DtEffectControllerCreator.h:14
Contains makVrv::DtEffectControllerFactory class.
Definition: DtExampleEffectTextureController.h:28
Used to set indirect uniforms.
Definition: DtExampleEffectTextureController.h:51
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:76
class to draw a subset of items of an indirect geometry (everything except light points), the default way
Definition: DtIndirectDefaultDrawComponent.h:36
Class that allows you to abstractly register effect texture types the effect texture types are client...
Definition: DtIndirectEffectTexturesTemplate.h:40
Definition: DtExampleEffectTextureController.h:44

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)