OGRE 2.1
Object-Oriented Graphics Rendering Engine
Loading...
Searching...
No Matches
Ogre::TextureDefinitionBase::TextureDefinition Class Reference

Local texture definition. More...

#include <OgreTextureDefinition.h>

+ Inheritance diagram for Ogre::TextureDefinitionBase::TextureDefinition:

Public Member Functions

 TextureDefinition (IdString _name)
 
void _setName (IdString newName)
 Do not call directly.
 
IdString getName (void) const
 
void operator delete (void *ptr)
 
void operator delete (void *ptr, const char *, int, const char *)
 
void operator delete (void *ptr, void *)
 
void operator delete[] (void *ptr)
 
void operator delete[] (void *ptr, const char *, int, const char *)
 
voidoperator new (size_t sz)
 
voidoperator new (size_t sz, const char *file, int line, const char *func)
 operator new, with debug line info
 
voidoperator new (size_t sz, void *ptr)
 placement operator new
 
voidoperator new[] (size_t sz)
 
voidoperator new[] (size_t sz, const char *file, int line, const char *func)
 array operator new, with debug line info
 

Public Attributes

bool automipmaps
 
uint depth
 
PixelFormat depthBufferFormat
 
uint16 depthBufferId
 
PixelFormatList formatList
 
bool fsaa
 
bool fsaaExplicitResolve
 In D3D9, reading from an fsaa texture is not possible, hence it always has to be resolved before using it.
 
uint height
 
float heightFactor
 
BoolSetting hwGammaWrite
 
int numMipmaps
 
bool preferDepthTexture
 
TextureType textureType
 
bool uav
 
uint width
 
float widthFactor
 

Detailed Description

Local texture definition.

Constructor & Destructor Documentation

◆ TextureDefinition()

Ogre::TextureDefinitionBase::TextureDefinition::TextureDefinition ( IdString  _name)
inline

Member Function Documentation

◆ _setName()

void Ogre::TextureDefinitionBase::TextureDefinition::_setName ( IdString  newName)
inline

Do not call directly.

See also
TextureDefinition::renameTexture instead.

◆ getName()

IdString Ogre::TextureDefinitionBase::TextureDefinition::getName ( void  ) const
inline

◆ operator delete() [1/3]

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete ( void ptr)
inlineinherited

◆ operator delete() [2/3]

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete ( void ptr,
const char ,
int  ,
const char  
)
inlineinherited

◆ operator delete() [3/3]

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete ( void ptr,
void  
)
inlineinherited

◆ operator delete[]() [1/2]

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete[] ( void ptr)
inlineinherited

◆ operator delete[]() [2/2]

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete[] ( void ptr,
const char ,
int  ,
const char  
)
inlineinherited

◆ operator new() [1/3]

template<class Alloc >
void * Ogre::AllocatedObject< Alloc >::operator new ( size_t  sz)
inlineinherited

◆ operator new() [2/3]

template<class Alloc >
void * Ogre::AllocatedObject< Alloc >::operator new ( size_t  sz,
const char file,
int  line,
const char func 
)
inlineinherited

operator new, with debug line info

◆ operator new() [3/3]

template<class Alloc >
void * Ogre::AllocatedObject< Alloc >::operator new ( size_t  sz,
void ptr 
)
inlineinherited

placement operator new

◆ operator new[]() [1/2]

template<class Alloc >
void * Ogre::AllocatedObject< Alloc >::operator new[] ( size_t  sz)
inlineinherited

◆ operator new[]() [2/2]

template<class Alloc >
void * Ogre::AllocatedObject< Alloc >::operator new[] ( size_t  sz,
const char file,
int  line,
const char func 
)
inlineinherited

array operator new, with debug line info

Member Data Documentation

◆ automipmaps

bool Ogre::TextureDefinitionBase::TextureDefinition::automipmaps

◆ depth

uint Ogre::TextureDefinitionBase::TextureDefinition::depth

◆ depthBufferFormat

PixelFormat Ogre::TextureDefinitionBase::TextureDefinition::depthBufferFormat

◆ depthBufferId

uint16 Ogre::TextureDefinitionBase::TextureDefinition::depthBufferId

◆ formatList

PixelFormatList Ogre::TextureDefinitionBase::TextureDefinition::formatList

◆ fsaa

bool Ogre::TextureDefinitionBase::TextureDefinition::fsaa

◆ fsaaExplicitResolve

bool Ogre::TextureDefinitionBase::TextureDefinition::fsaaExplicitResolve

In D3D9, reading from an fsaa texture is not possible, hence it always has to be resolved before using it.

When resolves are implicit, trying to read a render target as a texture will make Ogre to automatically resolve the FSAA rt into a normal one.

For implicit resolves, try to render everything first, then use it as a texture instead of mixing reads & writes, to avoid excessive resolves on the same frame.
In D3D10+ & GL 3.3+; FSAA surfaces can be read as textures (that is, without resolving) for advanced image manipulation (or even performing custom resolves). For this reason, turning Explicit resolves on will force Ogre not to resolve targets when used as a texture; resolving can still be done using a PASS_RESOLVE or using a PASS_QUAD with a custom resolve pixel shader.
Explicit resolves are obviously not supported in D3D9, thus this flag is forced always to false, and PASS_RESOLVE passes are skipped.

◆ height

uint Ogre::TextureDefinitionBase::TextureDefinition::height

◆ heightFactor

float Ogre::TextureDefinitionBase::TextureDefinition::heightFactor

◆ hwGammaWrite

BoolSetting Ogre::TextureDefinitionBase::TextureDefinition::hwGammaWrite

◆ numMipmaps

int Ogre::TextureDefinitionBase::TextureDefinition::numMipmaps

◆ preferDepthTexture

bool Ogre::TextureDefinitionBase::TextureDefinition::preferDepthTexture

◆ textureType

TextureType Ogre::TextureDefinitionBase::TextureDefinition::textureType

◆ uav

bool Ogre::TextureDefinitionBase::TextureDefinition::uav

◆ width

uint Ogre::TextureDefinitionBase::TextureDefinition::width

◆ widthFactor

float Ogre::TextureDefinitionBase::TextureDefinition::widthFactor

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