OGRE-Next  2.3
Object-Oriented Graphics Rendering Engine
Ogre::CompositorPassDef::UavDependency Struct Reference

#include <OgreCompositorPassDef.h>

Public Member Functions

 UavDependency (uint32 _uavSlot, ResourceAccess::ResourceAccess _access, bool _allowWriteAfterWrite)
 

Public Attributes

ResourceAccess::ResourceAccess access
 The UAV pass already sets the texture access. More...
 
bool allowWriteAfterWrite
 
uint32 uavSlot
 The slot must be in range [0; 64) and ignores the starting slot (. More...
 

Constructor & Destructor Documentation

◆ UavDependency()

Ogre::CompositorPassDef::UavDependency::UavDependency ( uint32  _uavSlot,
ResourceAccess::ResourceAccess  _access,
bool  _allowWriteAfterWrite 
)
inline

Member Data Documentation

◆ access

ResourceAccess::ResourceAccess Ogre::CompositorPassDef::UavDependency::access

The UAV pass already sets the texture access.

However two passes in a row may only read from it, thus having this information is convenient (without needing to add another bind UAV pass)

◆ allowWriteAfterWrite

bool Ogre::CompositorPassDef::UavDependency::allowWriteAfterWrite

◆ uavSlot

uint32 Ogre::CompositorPassDef::UavDependency::uavSlot

The slot must be in range [0; 64) and ignores the starting slot (.

See also
CompositorPassUavDef::mStartingSlot)

The documentation for this struct was generated from the following file: