OGRE  2.0
Object-Oriented Graphics Rendering Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Ogre::TextureDefinitionBase::TextureDefinition Class Reference

Local texture definition. More...

#include <OgreTextureDefinition.h>

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

Public Member Functions

 TextureDefinition (IdString _name)
 
void operator delete (void *ptr)
 
void operator delete (void *ptr, void *)
 
void operator delete (void *ptr, const char *, int, const char *)
 
void operator delete[] (void *ptr)
 
void operator delete[] (void *ptr, const char *, int, const char *)
 
void * operator new (size_t sz, const char *file, int line, const char *func)
 operator new, with debug line info More...
 
void * operator new (size_t sz)
 
void * operator new (size_t sz, void *ptr)
 placement operator new More...
 
void * operator new[] (size_t sz, const char *file, int line, const char *func)
 array operator new, with debug line info More...
 
void * operator new[] (size_t sz)
 

Public Attributes

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. More...
 
uint height
 
float heightFactor
 
BoolSetting hwGammaWrite
 
IdString name
 
uint width
 
float widthFactor
 

Detailed Description

Local texture definition.

Definition at line 73 of file OgreTextureDefinition.h.

Constructor & Destructor Documentation

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

Definition at line 105 of file OgreTextureDefinition.h.

Member Function Documentation

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

Definition at line 96 of file OgreMemoryAllocatedObject.h.

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

Definition at line 102 of file OgreMemoryAllocatedObject.h.

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

Definition at line 108 of file OgreMemoryAllocatedObject.h.

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

Definition at line 113 of file OgreMemoryAllocatedObject.h.

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

Definition at line 119 of file OgreMemoryAllocatedObject.h.

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

Definition at line 68 of file OgreMemoryAllocatedObject.h.

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

Definition at line 73 of file OgreMemoryAllocatedObject.h.

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

placement operator new

Definition at line 79 of file OgreMemoryAllocatedObject.h.

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

Definition at line 86 of file OgreMemoryAllocatedObject.h.

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

Definition at line 91 of file OgreMemoryAllocatedObject.h.

Member Data Documentation

uint16 Ogre::TextureDefinitionBase::TextureDefinition::depthBufferId

Definition at line 84 of file OgreTextureDefinition.h.

PixelFormatList Ogre::TextureDefinitionBase::TextureDefinition::formatList

Definition at line 81 of file OgreTextureDefinition.h.

bool Ogre::TextureDefinitionBase::TextureDefinition::fsaa

Definition at line 82 of file OgreTextureDefinition.h.

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.

Definition at line 103 of file OgreTextureDefinition.h.

uint Ogre::TextureDefinitionBase::TextureDefinition::height

Definition at line 78 of file OgreTextureDefinition.h.

float Ogre::TextureDefinitionBase::TextureDefinition::heightFactor

Definition at line 80 of file OgreTextureDefinition.h.

BoolSetting Ogre::TextureDefinitionBase::TextureDefinition::hwGammaWrite

Definition at line 83 of file OgreTextureDefinition.h.

IdString Ogre::TextureDefinitionBase::TextureDefinition::name

Definition at line 76 of file OgreTextureDefinition.h.

uint Ogre::TextureDefinitionBase::TextureDefinition::width

Definition at line 77 of file OgreTextureDefinition.h.

float Ogre::TextureDefinitionBase::TextureDefinition::widthFactor

Definition at line 79 of file OgreTextureDefinition.h.


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