VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtOsgGlobalShaderComponent.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2012 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
13 
15 
16 #include <vector>
17 
18 namespace osg
19 {
20  class Uniform;
21 }
22 
23 namespace makVrv
24 {
30  {
31  public:
35  virtual bool install(osg::StateSet* stateset);
36 
38  virtual bool uninstall(osg::StateSet* stateset);
39  protected:
41  virtual ~DtOsgGlobalShaderComponent();
42  };
43 
46 
48  template <>
49  inline const char* creatorTypeName<DtOsgGlobalShaderComponent>(void) { return "DtOsgGlobalShaderComponentCreator"; }
50 }
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
Variadic templated creator class for defining a DtVirtualBaseClass creator that is automatically regi...
Definition: DtVirtualBaseClassCreator.h:22
const char * creatorTypeName< DtOsgGlobalShaderComponent >(void)
template specialization for the creator (pass the class being created to the creatorTypeName template...
Definition: DtOsgGlobalShaderComponent.h:49
Base class for components that affect the state on a subset of the scene graph, injecting state...
Definition: DtOsgStateComponent.h:34
State component that injects top-level global shader code; i.e. shader state that should affect the e...
Definition: DtOsgGlobalShaderComponent.h:29
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:70
Contains makVrv::DtOsgStateComponent class.
DtVirtualBaseClassCreator< DtOsgGlobalShaderComponent > DtOsgGlobalShaderComponentCreator
creator
Definition: DtOsgGlobalShaderComponent.h:45

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)