![]() |
OGRE-Next 3.0.0
Object-Oriented Graphics Rendering Engine
|
Abstract class for compositor passes. More...
#include <OgreCompositorPass.h>
Inheritance diagram for Ogre::CompositorPass:Public Member Functions | |
| CompositorPass (const CompositorPassDef *definition, CompositorNode *parentNode) | |
| virtual | ~CompositorPass () |
| ResourceTransitionArray & | _getResourceTransitionsNonConst () |
| virtual void | analyzeBarriers (const bool bClearBarriers=true) |
| Bakes all of the memory barriers / resource transition that will be needed before executing a GPU command like rendering, copying/blit or compute. | |
| virtual void | execute (const Camera *lodCameraconst)=0 |
| Vector2 | getActualDimensions () const |
| const CompositorPassDef * | getDefinition () const |
| const CompositorNode * | getParentNode () const |
| RenderPassDescriptor * | getRenderPassDesc () const |
| const ResourceTransitionArray & | getResourceTransitions () const |
| const CompositorTextureVec & | getTextureDependencies () const |
| CompositorPassType | getType () const |
| Real | getViewportAspectRatio (size_t vpIdx) |
| virtual void | notifyCleared () |
| virtual void | notifyDestroyed (const UavBufferPacked *buffer) |
| virtual void | notifyDestroyed (TextureGpu *channel) |
| virtual bool | notifyRecreated (const TextureGpu *channel) |
| virtual void | notifyRecreated (const UavBufferPacked *oldBuffer, UavBufferPacked *newBuffer) |
| void | profilingBegin () |
| void | profilingEnd () |
| virtual void | resetNumPassesLeft () |
Abstract class for compositor passes.
A pass can be a fullscreen quad, a scene rendering, a clear. etc. Derived classes are responsible for performing an actual job. Note that passes do not own RenderTargets, therefore we're not responsible for destroying it.
| Ogre::CompositorPass::CompositorPass | ( | const CompositorPassDef * | definition, |
| CompositorNode * | parentNode ) |
Referenced by Ogre::CompositorPassTargetBarrier::addPass().
|
virtual |
|
inline |
|
virtual |
Bakes all of the memory barriers / resource transition that will be needed before executing a GPU command like rendering, copying/blit or compute.
| bClearBarriers | True to do mResourceTransitions.clear(); |
|
pure virtual |
Implemented in Ogre::CompositorPassClear, Ogre::CompositorPassCompute, Ogre::CompositorPassDepthCopy, Ogre::CompositorPassIblSpecular, Ogre::CompositorPassMipmap, Ogre::CompositorPassQuad, Ogre::CompositorPassScene, Ogre::CompositorPassShadows, Ogre::CompositorPassStencil, Ogre::CompositorPassTargetBarrier, Ogre::CompositorPassUav, and Ogre::CompositorPassWarmUp.
| Vector2 Ogre::CompositorPass::getActualDimensions | ( | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| Real Ogre::CompositorPass::getViewportAspectRatio | ( | size_t | vpIdx | ) |
|
virtual |
Reimplemented in Ogre::CompositorPassScene.
|
virtual |
|
virtual |
|
virtual |
Reimplemented in Ogre::CompositorPassIblSpecular, and Ogre::CompositorPassMipmap.
|
virtual |
Reimplemented in Ogre::CompositorPassUav.
| void Ogre::CompositorPass::profilingBegin | ( | ) |
| void Ogre::CompositorPass::profilingEnd | ( | ) |
|
virtual |
Reimplemented in Ogre::CompositorPassIblSpecular.