OGRE-Next
4.0.0unstable
Object-Oriented Graphics Rendering Engine
|
Local texture definition. More...
#include <OgreTextureDefinition.h>
Public Member Functions | |
TextureDefinition (IdString _name) | |
void | _setName (IdString newName) |
Do not call directly. More... | |
IdString | getName () const |
Public Attributes | |
bool | bTargetOrientation |
PixelFormatGpu | depthBufferFormat |
uint16 | depthBufferId |
This is a default value for the texture, but can be overriden by an RTV definition. More... | |
uint32 | depthOrSlices |
PixelFormatGpu | format |
Use PFG_UNKNOWN to use same format as main target. More... | |
String | fsaa |
"1" = Disable. More... | |
uint32 | height |
float | heightFactor |
uint8 | numMipmaps |
bool | preferDepthTexture |
uint32 | textureFlags |
See TextureFlags::TextureFlags. More... | |
TextureTypes::TextureTypes | textureType |
uint32 | width |
float | widthFactor |
Local texture definition.
|
inline |
|
inline |
Do not call directly.
|
inline |
bool Ogre::TextureDefinitionBase::TextureDefinition::bTargetOrientation |
PixelFormatGpu Ogre::TextureDefinitionBase::TextureDefinition::depthBufferFormat |
uint16 Ogre::TextureDefinitionBase::TextureDefinition::depthBufferId |
This is a default value for the texture, but can be overriden by an RTV definition.
See RenderTargetViewEntry::depthBufferId
uint32 Ogre::TextureDefinitionBase::TextureDefinition::depthOrSlices |
PixelFormatGpu Ogre::TextureDefinitionBase::TextureDefinition::format |
Use PFG_UNKNOWN to use same format as main target.
String Ogre::TextureDefinitionBase::TextureDefinition::fsaa |
"1" = Disable.
"8", "8x", "8x MSAA Center", "8x CSAA" = Enable "" = Use same setting as main target
uint32 Ogre::TextureDefinitionBase::TextureDefinition::height |
float Ogre::TextureDefinitionBase::TextureDefinition::heightFactor |
uint8 Ogre::TextureDefinitionBase::TextureDefinition::numMipmaps |
bool Ogre::TextureDefinitionBase::TextureDefinition::preferDepthTexture |
uint32 Ogre::TextureDefinitionBase::TextureDefinition::textureFlags |
See TextureFlags::TextureFlags.
Valid flags are: NotTexture (only valid if Uav is present) RenderToTexture (must be present unless Uav is present) Uav (must be present unless RenderToTexture is present) AllowAutomipmaps AutomipmapsAuto MsaaExplicitResolve DiscardableContent Note that RenderToTexture & Uav can coexist.
TextureTypes::TextureTypes Ogre::TextureDefinitionBase::TextureDefinition::textureType |
uint32 Ogre::TextureDefinitionBase::TextureDefinition::width |
float Ogre::TextureDefinitionBase::TextureDefinition::widthFactor |