OGRE-Next
3.0.0
Object-Oriented Graphics Rendering Engine
|
Implementation of CompositorPass This implementation will set UAVs. More...
#include <OgreCompositorPassUav.h>
Public Member Functions | |
CompositorPassUav (const CompositorPassUavDef *definition, CompositorNode *parentNode, const RenderTargetViewDef *rtv) | |
~CompositorPassUav () override | |
void | execute (const Camera *lodCamera) override |
void | notifyRecreated (const UavBufferPacked *oldBuffer, UavBufferPacked *newBuffer) override |
void | notifyTextureChanged (TextureGpu *texture, TextureGpuListener::Reason reason, void *extraData) override |
Called when a TextureGpu changed in a way that affects how it is displayed: More... | |
Public Member Functions inherited from Ogre::CompositorPass | |
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. More... | |
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) |
void | profilingBegin () |
void | profilingEnd () |
virtual void | resetNumPassesLeft () |
Public Member Functions inherited from Ogre::TextureGpuListener | |
virtual | ~TextureGpuListener () |
virtual bool | shouldStayLoaded (TextureGpu *texture) |
Return true if this TextureGpu should likely stay loaded or else graphical changes could occur. More... | |
Additional Inherited Members | |
Public Types inherited from Ogre::TextureGpuListener | |
enum | Reason { Unknown , FromStorageToSysRam , FromSysRamToStorage , GainedResidency , LostResidency , PoolTextureSlotChanged , ResidentToSysRamSync , MetadataCacheOutOfDate , ExceptionThrown , FsaaSettingAlteredByApi , ReadyForRendering , Deleted } |
Implementation of CompositorPass This implementation will set UAVs.
Ogre::CompositorPassUav::CompositorPassUav | ( | const CompositorPassUavDef * | definition, |
CompositorNode * | parentNode, | ||
const RenderTargetViewDef * | rtv | ||
) |
|
override |
|
overridevirtual |
Implements Ogre::CompositorPass.
|
overridevirtual |
Reimplemented from Ogre::CompositorPass.
|
overridevirtual |
Called when a TextureGpu changed in a way that affects how it is displayed:
Implements Ogre::TextureGpuListener.