|
| | Shader (Ogre::SceneManager *scenemanager=nullptr) |
| | Initializes the values and sets the scene manager. More...
|
| |
| virtual | ~Shader () |
| | Removes the compositor and frees the resources. More...
|
| |
| virtual void | cameraChanged (Ogre::Viewport *viewport, Ogre::Camera *oldCamera) override |
| | Inherited from ViewportEventListener - called if the camera changes. More...
|
| |
| void | changedCompositorName () |
| | Changes the compositor - default viewport. More...
|
| |
| void | changedCompositorName (Ogre::Viewport *viewport) |
| | Changes the compositor. More...
|
| |
| const std::string & | getCompositorName () const |
| | Returns the compositor's name. More...
|
| |
| Ogre::SceneManager * | getSceneManager () const |
| | Returns the scene manager. More...
|
| |
| bool | isVisible () const |
| | Returns whether or not the shader is visible. More...
|
| |
| virtual void | notifyMaterialRender (Ogre::uint32 pass_id, Ogre::MaterialPtr &materialPtr) override |
| | Inherited by Ogre::CompositorInstance::Listener, called whenever the material is rendered. More...
|
| |
| void | setCompositorName (const std::string &name) |
| | Defines the compositor's name (located in a .compositor file). More...
|
| |
| void | setParameter (unsigned short technique, unsigned short pass, const std::string ¶meter, float value) |
| | Defines a new float value for a given parameter. More...
|
| |
| void | setParameter (unsigned short technique, unsigned short pass, const std::string ¶meter, int value) |
| | Defines a new integer value for a given parameter. More...
|
| |
| void | setSceneManager (Ogre::SceneManager *scenemanager) |
| | Sets the scenemanager (usually provided in the constructor, but can be set later). Shouldn't be changed once it's set. More...
|
| |
| void | setVisible (bool bVisible) |
| | Defines if the shader is visible or not. More...
|
| |
| void | updateVisibility () |
| | Changes the visibility of the shader. More...
|
| |
| | Listable () |
| | Constructor: Allocates space in the element list. More...
|
| |
| | Listable (Context *context) |
| | Constructor: Allocates space in the element list and assigns the context. More...
|
| |
| virtual | ~Listable () |
| | Destructor: Removes the object from the object-lists. More...
|
| |
| Context * | getContext () const |
| |
| void | setContext (Context *context) |
| | Changes the context. More...
|
| |
| void | unregisterObject () |
| | Removes this object from the object-lists. More...
|
| |
| | Identifiable () |
| | Constructor: Sets the default values. More...
|
| |
| virtual | ~Identifiable () |
| |
| ORX_FORCEINLINE void * | getDerivedPointer (unsigned int classID) |
| | Returns a valid pointer of any derived type that is registered in the class hierarchy. More...
|
| |
| template<class T > |
| ORX_FORCEINLINE T * | getDerivedPointer (unsigned int classID) |
| | Version of getDerivedPointer with template. More...
|
| |
| template<class T > |
| ORX_FORCEINLINE const T * | getDerivedPointer (unsigned int classID) const |
| | Const version of getDerivedPointer with template. More...
|
| |
| Identifier * | getIdentifier () const |
| | Returns the Identifier of the object. More...
|
| |
| bool | isA (const Identifier *identifier) |
| | Returns true if the object's class is of the given type or a derivative. More...
|
| |
| template<class B > |
| bool | isA (const SubclassIdentifier< B > *identifier) |
| | Returns true if the object's class is of the given type or a derivative. More...
|
| |
| bool | isA (const Identifiable *object) |
| | Returns true if the object's class is of the given type or a derivative. More...
|
| |
| bool | isChildOf (const Identifier *identifier) |
| | Returns true if the object's class is a child of the given type. More...
|
| |
| template<class B > |
| bool | isChildOf (const SubclassIdentifier< B > *identifier) |
| | Returns true if the object's class is a child of the given type. More...
|
| |
| bool | isChildOf (const Identifiable *object) |
| | Returns true if the object's class is a child of the given type. More...
|
| |
| bool | isDirectChildOf (const Identifier *identifier) |
| | Returns true if the object's class is a direct child of the given type. More...
|
| |
| template<class B > |
| bool | isDirectChildOf (const SubclassIdentifier< B > *identifier) |
| | Returns true if the object's class is a direct child of the given type. More...
|
| |
| bool | isDirectChildOf (const Identifiable *object) |
| | Returns true if the object's class is a direct child of the given type. More...
|
| |
| bool | isDirectParentOf (const Identifier *identifier) |
| | Returns true if the object's class is a direct parent of the given type. More...
|
| |
| template<class B > |
| bool | isDirectParentOf (const SubclassIdentifier< B > *identifier) |
| | Returns true if the object's class is a direct parent of the given type. More...
|
| |
| bool | isDirectParentOf (const Identifiable *object) |
| | Returns true if the object's class is a direct child of the given type. More...
|
| |
| bool | isExactlyA (const Identifier *identifier) |
| | Returns true if the object's class is exactly of the given type. More...
|
| |
| template<class B > |
| bool | isExactlyA (const SubclassIdentifier< B > *identifier) |
| | Returns true if the object's class is exactly of the given type. More...
|
| |
| bool | isExactlyA (const Identifiable *object) |
| | Returns true if the object's class is exactly of the given type. More...
|
| |
| bool | isParentOf (const Identifier *identifier) |
| | Returns true if the object's class is a parent of the given type. More...
|
| |
| template<class B > |
| bool | isParentOf (const SubclassIdentifier< B > *identifier) |
| | Returns true if the object's class is a parent of the given type. More...
|
| |
| bool | isParentOf (const Identifiable *object) |
| | Returns true if the object's class is a parent of the given type. More...
|
| |
Shader is a wrapper class around Ogre::CompositorInstance.
It provides some functions to easily change the visibility and parameters for shader programs.