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

#include <OgreCompositorPassUavDef.h>

Public Member Functions

 TextureSource (uint32 _uavSlot, IdString _textureName, const String &_externalTextureName, uint32 _mrtIndex, ResourceAccess::ResourceAccess _access, int32 _mipmapLevel, PixelFormat _pixelFormat)
 

Public Attributes

ResourceAccess::ResourceAccess access
 
String externalTextureName
 Name of the external texture, if empty, textureName is used.
 
int32 mipmapLevel
 
uint32 mrtIndex
 Index in case of MRT. Ignored if textureSource isn't mrt.
 
PixelFormat pixelFormat
 
IdString textureName
 Name of the texture (can come from input channel, local textures, or global ones) Not used if externalTextureName is not empty.
 
uint32 uavSlot
 Index of texture unit state to change.
 

Constructor & Destructor Documentation

◆ TextureSource()

Ogre::CompositorPassUavDef::TextureSource::TextureSource ( uint32  _uavSlot,
IdString  _textureName,
const String _externalTextureName,
uint32  _mrtIndex,
ResourceAccess::ResourceAccess  _access,
int32  _mipmapLevel,
PixelFormat  _pixelFormat 
)
inline

Member Data Documentation

◆ access

ResourceAccess::ResourceAccess Ogre::CompositorPassUavDef::TextureSource::access

◆ externalTextureName

String Ogre::CompositorPassUavDef::TextureSource::externalTextureName

Name of the external texture, if empty, textureName is used.

◆ mipmapLevel

int32 Ogre::CompositorPassUavDef::TextureSource::mipmapLevel

◆ mrtIndex

uint32 Ogre::CompositorPassUavDef::TextureSource::mrtIndex

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

◆ pixelFormat

PixelFormat Ogre::CompositorPassUavDef::TextureSource::pixelFormat

◆ textureName

IdString Ogre::CompositorPassUavDef::TextureSource::textureName

Name of the texture (can come from input channel, local textures, or global ones) Not used if externalTextureName is not empty.

◆ uavSlot

uint32 Ogre::CompositorPassUavDef::TextureSource::uavSlot

Index of texture unit state to change.


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