OGRE-Next  4.0.0unstable
Object-Oriented Graphics Rendering Engine
Ogre::CompositorPassComputeDef::ComputeTextureSource Struct Reference

#include <OgreCompositorPassComputeDef.h>

Public Member Functions

 ComputeTextureSource (uint32 _texUnitIdx, IdString _textureName)
 
 ComputeTextureSource (uint32 _texUnitIdx, IdString _textureName, ResourceAccess::ResourceAccess _access, uint8 _mipmapLevel, uint16 _textureArrayIndex, PixelFormatGpu _pixelFormat, bool _allowWriteAfterWrite)
 

Public Attributes

union {
   bool   allowWriteAfterWrite
 
   bool   usesAllFields
 
}; 
 
ResourceAccess::ResourceAccess access
 
uint8 mipmapLevel
 
PixelFormatGpu pixelFormat
 
uint16 textureArrayIndex
 
IdString textureName
 Name of the texture (can come from input channel, local textures, or global ones) More...
 
uint32 texUnitIdx
 Index of texture unit state to change. More...
 

Constructor & Destructor Documentation

◆ ComputeTextureSource() [1/2]

Ogre::CompositorPassComputeDef::ComputeTextureSource::ComputeTextureSource ( uint32  _texUnitIdx,
IdString  _textureName 
)
inline

◆ ComputeTextureSource() [2/2]

Ogre::CompositorPassComputeDef::ComputeTextureSource::ComputeTextureSource ( uint32  _texUnitIdx,
IdString  _textureName,
ResourceAccess::ResourceAccess  _access,
uint8  _mipmapLevel,
uint16  _textureArrayIndex,
PixelFormatGpu  _pixelFormat,
bool  _allowWriteAfterWrite 
)
inline

Member Data Documentation

◆ 

union { ... }

◆ access

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

◆ allowWriteAfterWrite

bool Ogre::CompositorPassComputeDef::ComputeTextureSource::allowWriteAfterWrite

◆ mipmapLevel

uint8 Ogre::CompositorPassComputeDef::ComputeTextureSource::mipmapLevel

◆ pixelFormat

PixelFormatGpu Ogre::CompositorPassComputeDef::ComputeTextureSource::pixelFormat

◆ textureArrayIndex

uint16 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.

◆ usesAllFields

bool Ogre::CompositorPassComputeDef::ComputeTextureSource::usesAllFields

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