![]() |
OGRE-Next 4.0.0unstable
Object-Oriented Graphics Rendering Engine
|
Generates the CompositorPassImgui pass needed to render imgui UI Also ensures the compositor scripts recognize the pass type "dear_imgui" i.e. More...
#include <OgreCompositorPassImguiProvider.h>
Inheritance diagram for Ogre::CompositorPassImguiProvider:Public Member Functions | |
| CompositorPassImguiProvider (ImguiManager *imguiManager) | |
| CompositorPass * | addPass (const CompositorPassDef *definition, Camera *defaultCamera, CompositorNode *parentNode, const RenderTargetViewDef *rtvDef, SceneManager *sceneManager) override |
| Creates a CompositorPass from a CompositorPassDef for Compositor Pass of type 'custom'. | |
| CompositorPassDef * | addPassDef (CompositorPassType passType, IdString customId, CompositorTargetDef *parentTargetDef, CompositorNodeDef *parentNodeDef) override |
| Called from CompositorTargetDef::addPass when adding a Compositor Pass of type 'custom'. | |
| ImguiManager * | getColibriManager () const |
| void | translateCustomPass (ScriptCompiler *compiler, const AbstractNodePtr &node, IdString customId, CompositorPassDef *customPassDef) override |
| Optional override which allows users to define custom properties in the compositor scripts for custom passes. | |
Public Member Functions inherited from Ogre::CompositorPassProvider | |
| virtual | ~CompositorPassProvider () |
| virtual void | translateCustomPass (const AbstractNodePtr &node, CompositorPassDef *customPassDef) |
Generates the CompositorPassImgui pass needed to render imgui UI Also ensures the compositor scripts recognize the pass type "dear_imgui" i.e.
| Ogre::CompositorPassImguiProvider::CompositorPassImguiProvider | ( | ImguiManager * | imguiManager | ) |
|
overridevirtual |
Creates a CompositorPass from a CompositorPassDef for Compositor Pass of type 'custom'.
Implements Ogre::CompositorPassProvider.
|
overridevirtual |
Called from CompositorTargetDef::addPass when adding a Compositor Pass of type 'custom'.
| passType | |
| customId | Arbitrary ID in case there is more than one type of custom pass you want to implement. Defaults to IdString() |
| rtIndex | |
| parentNodeDef |
Implements Ogre::CompositorPassProvider.
|
inline |
|
overridevirtual |
Optional override which allows users to define custom properties in the compositor scripts for custom passes.
| node | The AST node for this pass |
| customPassDef | The CompositorPassDef returned in CompositorPassProvider::addPassDef |
Reimplemented from Ogre::CompositorPassProvider.