Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

OgreTexture.h File Reference

#include "OgrePrerequisites.h"
#include "OgreHardwareBuffer.h"
#include "OgreResource.h"
#include "OgreImage.h"

Go to the source code of this file.

Namespaces

namespace  Ogre

Enumerations

enum  TextureUsage {
  TU_STATIC = HardwareBuffer::HBU_STATIC, TU_DYNAMIC = HardwareBuffer::HBU_DYNAMIC, TU_WRITE_ONLY = HardwareBuffer::HBU_WRITE_ONLY, TU_STATIC_WRITE_ONLY = HardwareBuffer::HBU_STATIC_WRITE_ONLY,
  TU_DYNAMIC_WRITE_ONLY = HardwareBuffer::HBU_DYNAMIC_WRITE_ONLY, TU_DYNAMIC_WRITE_ONLY_DISCARDABLE = HardwareBuffer::HBU_DYNAMIC_WRITE_ONLY_DISCARDABLE, TU_AUTOMIPMAP = 0x100, TU_RENDERTARGET = 0x200,
  TU_DEFAULT = TU_AUTOMIPMAP | TU_STATIC_WRITE_ONLY
}
 Enum identifying the texture usage. More...
enum  TextureType { TEX_TYPE_1D = 1, TEX_TYPE_2D = 2, TEX_TYPE_3D = 3, TEX_TYPE_CUBE_MAP = 4 }
 Enum identifying the texture type. More...
enum  TextureMipmap { MIP_UNLIMITED = 0x7FFFFFFF }
 Enum identifying special mipmap numbers. More...


Enumeration Type Documentation

enum Ogre::TextureMipmap
 

Enum identifying special mipmap numbers.

Enumeration values:
MIP_UNLIMITED  Generate mipmaps up to 1x1.

Definition at line 72 of file OgreTexture.h.

enum Ogre::TextureType
 

Enum identifying the texture type.

Enumeration values:
TEX_TYPE_1D  1D texture, used in combination with 1D texture coordinates
TEX_TYPE_2D  2D texture, used in combination with 2D texture coordinates (default)
TEX_TYPE_3D  3D volume texture, used in combination with 3D texture coordinates
TEX_TYPE_CUBE_MAP  3D cube map, used in combination with 3D texture coordinates

Definition at line 58 of file OgreTexture.h.

enum Ogre::TextureUsage
 

Enum identifying the texture usage.

Enumeration values:
TU_STATIC 
TU_DYNAMIC 
TU_WRITE_ONLY 
TU_STATIC_WRITE_ONLY 
TU_DYNAMIC_WRITE_ONLY 
TU_DYNAMIC_WRITE_ONLY_DISCARDABLE 
TU_AUTOMIPMAP  mipmaps will be automatically generated for this texture
TU_RENDERTARGET  this texture will be a render target, ie.

used as a target for render to texture setting this flag will ignore all other texture usages except TU_AUTOMIPMAP

TU_DEFAULT  default to automatic mipmap generation static textures

Definition at line 37 of file OgreTexture.h.


Copyright © 2000-2005 by The OGRE Team
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Nov 12 10:50:16 2006