OGRE-Next: Ogre::CompositorPassDef::UavDependency Struct Reference

| OGRE-Next 3.0.0 Object-Oriented Graphics Rendering Engine

Loading...
Searching...
No Matches
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.
bool | allowWriteAfterWrite
uint32 | uavSlot
| The slot must be in range [0; 64) and ignores the starting slot (.

## Constructor & Destructor Documentation

## ◆ UavDependency()

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

References access, allowWriteAfterWrite, and uavSlot.

## 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)

Referenced by UavDependency().

## ◆ allowWriteAfterWrite

bool Ogre::CompositorPassDef::UavDependency::allowWriteAfterWrite

Referenced by UavDependency().

## ◆ uavSlot

uint32 Ogre::CompositorPassDef::UavDependency::uavSlot

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

See also
  CompositorPassUavDef::mStartingSlot)

Referenced by UavDependency().

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

- OgreCompositorPassDef.h