OGRE 2.1
Object-Oriented Graphics Rendering Engine
Loading...
Searching...
No Matches
Ogre::CompositorPassComputeDef::ComputeTextureSource Struct Reference

#include <OgreCompositorPassComputeDef.h>

Public Member Functions

 ComputeTextureSource (size_t _texUnitIdx, IdString _textureName, size_t _mrtIndex)
 
 ComputeTextureSource (size_t _texUnitIdx, IdString _textureName, size_t _mrtIndex, ResourceAccess::ResourceAccess _access, int32 _mipmapLevel, int32 _textureArrayIndex, PixelFormat _pixelFormat, bool _allowWriteAfterWrite)
 

Public Attributes

ResourceAccess::ResourceAccess access
 
bool allowWriteAfterWrite
 
int32 mipmapLevel
 
uint32 mrtIndex
 Index in case of MRT. Ignored if textureSource isn't mrt.
 
PixelFormat pixelFormat
 
int32 textureArrayIndex
 
IdString textureName
 Name of the texture (can come from input channel, local textures, or global ones)
 
uint32 texUnitIdx
 Index of texture unit state to change.
 

Constructor & Destructor Documentation

◆ ComputeTextureSource() [1/2]

Ogre::CompositorPassComputeDef::ComputeTextureSource::ComputeTextureSource ( size_t  _texUnitIdx,
IdString  _textureName,
size_t  _mrtIndex 
)
inline

References Ogre::PF_UNKNOWN.

◆ ComputeTextureSource() [2/2]

Ogre::CompositorPassComputeDef::ComputeTextureSource::ComputeTextureSource ( size_t  _texUnitIdx,
IdString  _textureName,
size_t  _mrtIndex,
ResourceAccess::ResourceAccess  _access,
int32  _mipmapLevel,
int32  _textureArrayIndex,
PixelFormat  _pixelFormat,
bool  _allowWriteAfterWrite 
)
inline

Member Data Documentation

◆ access

ResourceAccess::ResourceAccess Ogre::CompositorPassComputeDef::ComputeTextureSource::access

◆ allowWriteAfterWrite

bool Ogre::CompositorPassComputeDef::ComputeTextureSource::allowWriteAfterWrite

◆ mipmapLevel

int32 Ogre::CompositorPassComputeDef::ComputeTextureSource::mipmapLevel

◆ mrtIndex

uint32 Ogre::CompositorPassComputeDef::ComputeTextureSource::mrtIndex

Index in case of MRT. Ignored if textureSource isn't mrt.

◆ pixelFormat

PixelFormat Ogre::CompositorPassComputeDef::ComputeTextureSource::pixelFormat

◆ textureArrayIndex

int32 Ogre::CompositorPassComputeDef::ComputeTextureSource::textureArrayIndex

◆ textureName

IdString Ogre::CompositorPassComputeDef::ComputeTextureSource::textureName

Name of the texture (can come from input channel, local textures, or global ones)

◆ texUnitIdx

uint32 Ogre::CompositorPassComputeDef::ComputeTextureSource::texUnitIdx

Index of texture unit state to change.


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