OGRE: OgreTexture.h File Reference - OGRE Documentation

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, MIP_DEFAULT = -1 }
| 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.
  MIP_DEFAULT | Use TextureManager default.

Definition at line 76 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 62 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 41 of file OgreTexture.h.

Copyright © 2000-2005 by The OGRE Team
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Thu Mar 6 09:46:27 2008