Class representing the state of a single texture unit during a Pass of a Technique, of a Material. More...
#include <OgreTextureUnitState.h>
Classes | |
struct | TextureEffect |
Internal structure defining a texture effect. More... | |
struct | UVWAddressingMode |
Texture addressing mode for each texture coordinate. More... | |
Public Types | |
enum | TextureEffectType { ET_ENVIRONMENT_MAP, ET_PROJECTIVE_TEXTURE, ET_UVSCROLL, ET_USCROLL, ET_VSCROLL, ET_ROTATE, ET_TRANSFORM } |
Definition of the broad types of texture effect you can apply to a texture unit. More... | |
enum | EnvMapType { ENV_PLANAR, ENV_CURVED, ENV_REFLECTION, ENV_NORMAL } |
Enumeration to specify type of envmap. More... | |
enum | TextureTransformType { TT_TRANSLATE_U, TT_TRANSLATE_V, TT_SCALE_U, TT_SCALE_V, TT_ROTATE } |
Useful enumeration when dealing with procedural transforms. More... | |
enum | TextureAddressingMode { TAM_WRAP, TAM_MIRROR, TAM_CLAMP, TAM_BORDER } |
Texture addressing modes - default is TAM_WRAP. More... | |
enum | TextureCubeFace { CUBE_FRONT = 0, CUBE_BACK = 1, CUBE_LEFT = 2, CUBE_RIGHT = 3, CUBE_UP = 4, CUBE_DOWN = 5 } |
Enum identifying the frame indexes for faces of a cube map (not the composite 3D type. More... | |
enum | BindingType { BT_FRAGMENT = 0, BT_VERTEX = 1 } |
The type of unit to bind the texture settings to. More... | |
enum | ContentType { CONTENT_NAMED = 0, CONTENT_SHADOW = 1, CONTENT_COMPOSITOR = 2 } |
Enum identifying the type of content this texture unit contains. More... | |
typedef multimap < TextureEffectType, TextureEffect >::type | EffectMap |
Texture effects in a multimap paired array. | |
Public Member Functions | |
TextureUnitState (Pass *parent) | |
Default constructor. | |
TextureUnitState (Pass *parent, const TextureUnitState &oth) | |
TextureUnitState & | operator= (const TextureUnitState &oth) |
~TextureUnitState () | |
Default destructor. | |
TextureUnitState (Pass *parent, const String &texName, unsigned int texCoordSet=0) | |
Name-based constructor. | |
const String & | getTextureName (void) const |
Get the name of current texture image for this layer. | |
void | setTextureName (const String &name, TextureType ttype=TEX_TYPE_2D) |
Sets this texture layer to use a single texture, given the name of the texture to use on this layer. | |
void | setTexture (const TexturePtr &texPtr) |
Sets this texture layer to use a single texture, given the pointer to the texture to use on this layer. | |
void | setCubicTextureName (const String &name, bool forUVW=false) |
Sets this texture layer to use a combination of 6 texture maps, each one relating to a face of a cube. | |
void | setCubicTextureName (const String *const names, bool forUVW=false) |
Sets this texture layer to use a combination of 6 texture maps, each one relating to a face of a cube. | |
void | setCubicTexture (const TexturePtr *const texPtrs, bool forUVW=false) |
Sets this texture layer to use a combination of 6 texture maps, each one relating to a face of a cube. | |
void | setAnimatedTextureName (const String &name, unsigned int numFrames, Real duration=0) |
Sets the names of the texture images for an animated texture. | |
void | setAnimatedTextureName (const String *const names, unsigned int numFrames, Real duration=0) |
Sets the names of the texture images for an animated texture. | |
std::pair< size_t, size_t > | getTextureDimensions (unsigned int frame=0) const |
Returns the width and height of the texture in the given frame. | |
void | setCurrentFrame (unsigned int frameNumber) |
Changes the active frame in an animated or multi-image texture. | |
unsigned int | getCurrentFrame (void) const |
Gets the active frame in an animated or multi-image texture layer. | |
const String & | getFrameTextureName (unsigned int frameNumber) const |
Gets the name of the texture associated with a frame number. | |
void | setFrameTextureName (const String &name, unsigned int frameNumber) |
Sets the name of the texture associated with a frame. | |
void | addFrameTextureName (const String &name) |
Add a Texture name to the end of the frame container. | |
void | deleteFrameTextureName (const size_t frameNumber) |
deletes a specific texture frame. | |
unsigned int | getNumFrames (void) const |
Gets the number of frames for a texture. | |
void | setBindingType (BindingType bt) |
Sets the type of unit these texture settings should be bound to. | |
BindingType | getBindingType (void) const |
Gets the type of unit these texture settings should be bound to. | |
void | setContentType (ContentType ct) |
Set the type of content this TextureUnitState references. | |
ContentType | getContentType (void) const |
Get the type of content this TextureUnitState references. | |
bool | isCubic (void) const |
Returns true if this texture unit is either a series of 6 2D textures, each in it's own frame, or is a full 3D cube map. | |
bool | is3D (void) const |
Returns true if this texture layer uses a composite 3D cubic texture. | |
TextureType | getTextureType (void) const |
Returns the type of this texture. | |
void | setDesiredFormat (PixelFormat desiredFormat) |
Sets the desired pixel format when load the texture. | |
PixelFormat | getDesiredFormat (void) const |
Gets the desired pixel format when load the texture. | |
void | setNumMipmaps (int numMipmaps) |
Sets how many mipmaps have been requested for the texture. | |
int | getNumMipmaps (void) const |
Gets how many mipmaps have been requested for the texture. | |
void | setIsAlpha (bool isAlpha) |
Sets whether this texture is requested to be loaded as alpha if single channel. | |
bool | getIsAlpha (void) const |
Gets whether this texture is requested to be loaded as alpha if single channel. | |
void | setHardwareGammaEnabled (bool enabled) |
bool | isHardwareGammaEnabled () const |
unsigned int | getTextureCoordSet (void) const |
Gets the index of the set of texture co-ords this layer uses. | |
void | setTextureCoordSet (unsigned int set) |
Sets the index of the set of texture co-ords this layer uses. | |
void | setTextureTransform (const Matrix4 &xform) |
Sets a matrix used to transform any texture coordinates on this layer. | |
const Matrix4 & | getTextureTransform (void) const |
Gets the current texture transformation matrix. | |
void | setTextureScroll (Real u, Real v) |
Sets the translation offset of the texture, ie scrolls the texture. | |
void | setTextureUScroll (Real value) |
As setTextureScroll, but sets only U value. | |
Real | getTextureUScroll (void) const |
void | setTextureVScroll (Real value) |
As setTextureScroll, but sets only V value. | |
Real | getTextureVScroll (void) const |
void | setTextureUScale (Real value) |
As setTextureScale, but sets only U value. | |
Real | getTextureUScale (void) const |
Get texture uscale value. | |
void | setTextureVScale (Real value) |
As setTextureScale, but sets only V value. | |
Real | getTextureVScale (void) const |
Get texture vscale value. | |
void | setTextureScale (Real uScale, Real vScale) |
Sets the scaling factor applied to texture coordinates. | |
void | setTextureRotate (const Radian &angle) |
Sets the anticlockwise rotation factor applied to texture coordinates. | |
const Radian & | getTextureRotate (void) const |
Get texture rotation effects angle value. | |
const UVWAddressingMode & | getTextureAddressingMode (void) const |
Gets the texture addressing mode for a given coordinate, i.e. | |
void | setTextureAddressingMode (TextureAddressingMode tam) |
Sets the texture addressing mode, i.e. | |
void | setTextureAddressingMode (TextureAddressingMode u, TextureAddressingMode v, TextureAddressingMode w) |
Sets the texture addressing mode, i.e. | |
void | setTextureAddressingMode (const UVWAddressingMode &uvw) |
Sets the texture addressing mode, i.e. | |
void | setTextureBorderColour (const ColourValue &colour) |
Sets the texture border colour. | |
const ColourValue & | getTextureBorderColour (void) const |
Sets the texture border colour. | |
void | setColourOperationEx (LayerBlendOperationEx op, LayerBlendSource source1=LBS_TEXTURE, LayerBlendSource source2=LBS_CURRENT, const ColourValue &arg1=ColourValue::White, const ColourValue &arg2=ColourValue::White, Real manualBlend=0.0) |
Setting advanced blending options. | |
void | setColourOperation (const LayerBlendOperation op) |
Determines how this texture layer is combined with the one below it (or the diffuse colour of the geometry if this is layer 0). | |
void | setColourOpMultipassFallback (const SceneBlendFactor sourceFactor, const SceneBlendFactor destFactor) |
Sets the multipass fallback operation for this layer, if you used TextureUnitState::setColourOperationEx and not enough multitexturing hardware is available. | |
const LayerBlendModeEx & | getColourBlendMode (void) const |
Get multitexturing colour blending mode. | |
const LayerBlendModeEx & | getAlphaBlendMode (void) const |
Get multitexturing alpha blending mode. | |
SceneBlendFactor | getColourBlendFallbackSrc (void) const |
Get the multipass fallback for colour blending operation source factor. | |
SceneBlendFactor | getColourBlendFallbackDest (void) const |
Get the multipass fallback for colour blending operation destination factor. | |
void | setAlphaOperation (LayerBlendOperationEx op, LayerBlendSource source1=LBS_TEXTURE, LayerBlendSource source2=LBS_CURRENT, Real arg1=1.0, Real arg2=1.0, Real manualBlend=0.0) |
Sets the alpha operation to be applied to this texture. | |
void | addEffect (TextureEffect &effect) |
Generic method for setting up texture effects. | |
void | setEnvironmentMap (bool enable, EnvMapType envMapType=ENV_CURVED) |
Turns on/off texture coordinate effect that makes this layer an environment map. | |
void | setScrollAnimation (Real uSpeed, Real vSpeed) |
Sets up an animated scroll for the texture layer. | |
void | setRotateAnimation (Real speed) |
Sets up an animated texture rotation for this layer. | |
void | setTransformAnimation (const TextureTransformType ttype, const WaveformType waveType, Real base=0, Real frequency=1, Real phase=0, Real amplitude=1) |
Sets up a general time-relative texture modification effect. | |
void | setProjectiveTexturing (bool enabled, const Frustum *projectionSettings=0) |
Enables or disables projective texturing on this texture unit. | |
void | removeAllEffects (void) |
Removes all effects applied to this texture layer. | |
void | removeEffect (const TextureEffectType type) |
Removes a single effect applied to this texture layer. | |
bool | isBlank (void) const |
Determines if this texture layer is currently blank. | |
void | setBlank (void) |
Sets this texture layer to be blank. | |
bool | isTextureLoadFailing () const |
Tests if the texture associated with this unit has failed to load. | |
void | retryTextureLoad () |
Tells the unit to retry loading the texture if it had failed to load. | |
const EffectMap & | getEffects (void) const |
Get texture effects in a multimap paired array. | |
Real | getAnimationDuration (void) const |
Get the animated-texture animation duration. | |
void | setTextureFiltering (TextureFilterOptions filterType) |
Set the texture filtering for this unit, using the simplified interface. | |
void | setTextureFiltering (FilterType ftype, FilterOptions opts) |
Set a single filtering option on this texture unit. | |
void | setTextureFiltering (FilterOptions minFilter, FilterOptions magFilter, FilterOptions mipFilter) |
Set a the detailed filtering options on this texture unit. | |
FilterOptions | getTextureFiltering (FilterType ftpye) const |
Get the texture filtering for the given type. | |
void | setTextureAnisotropy (unsigned int maxAniso) |
Sets the anisotropy level to be used for this texture level. | |
unsigned int | getTextureAnisotropy () const |
Get this layer texture anisotropy level. | |
void | setTextureMipmapBias (float bias) |
Sets the bias value applied to the mipmap calculation. | |
float | getTextureMipmapBias (void) const |
Gets the bias value applied to the mipmap calculation. | |
void | setCompositorReference (const String &compositorName, const String &textureName, size_t mrtIndex=0) |
Set the compositor reference for this texture unit state. | |
const String & | getReferencedCompositorName () const |
Gets the name of the compositor that this texture referneces. | |
const String & | getReferencedTextureName () const |
Gets the name of the texture in the compositor that this texture references. | |
size_t | getReferencedMRTIndex () const |
Gets the MRT index of the texture in the compositor that this texture references. | |
Pass * | getParent (void) const |
Gets the parent Pass object. | |
void | _prepare (void) |
Internal method for preparing this object for load, as part of Material::prepare. | |
void | _unprepare (void) |
Internal method for undoing the preparation this object as part of Material::unprepare. | |
void | _load (void) |
Internal method for loading this object as part of Material::load. | |
void | _unload (void) |
Internal method for unloading this object as part of Material::unload. | |
bool | hasViewRelativeTextureCoordinateGeneration (void) const |
Returns whether this unit has texture coordinate generation that depends on the camera. | |
bool | isLoaded (void) const |
Is this loaded? | |
void | _notifyNeedsRecompile (void) |
Tells the class that it needs recompilation. | |
void | setName (const String &name) |
Set the name of the Texture Unit State. | |
const String & | getName (void) const |
Get the name of the Texture Unit State. | |
void | setTextureNameAlias (const String &name) |
Set the alias name used for texture frame names. | |
const String & | getTextureNameAlias (void) const |
Gets the Texture Name Alias of the Texture Unit. | |
bool | applyTextureAliases (const AliasTextureNamePairList &aliasList, const bool apply=true) |
Applies texture names to Texture Unit State with matching texture name aliases. | |
void | _notifyParent (Pass *parent) |
Notify this object that its parent has changed. | |
const TexturePtr & | _getTexturePtr (void) const |
Get the texture pointer for the current frame. | |
const TexturePtr & | _getTexturePtr (size_t frame) const |
Get the texture pointer for a given frame. | |
void | _setTexturePtr (const TexturePtr &texptr) |
Set the texture pointer for the current frame (internal use only!). | |
void | _setTexturePtr (const TexturePtr &texptr, size_t frame) |
Set the texture pointer for a given frame (internal use only!). | |
Controller< Real > * | _getAnimController () const |
Gets the animation controller (as created because of setAnimatedTexture) if it exists. | |
void * | operator new (size_t sz, const char *file, int line, const char *func) |
operator new, with debug line info | |
void * | operator new (size_t sz) |
void * | operator new (size_t sz, void *ptr) |
placement operator new | |
void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
array operator new, with debug line info | |
void * | operator new[] (size_t sz) |
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 *) |
Protected Member Functions | |
void | recalcTextureMatrix (void) const |
Internal method for calculating texture matrix. | |
void | createAnimController (void) |
Internal method for creating animation controller. | |
void | createEffectController (TextureEffect &effect) |
Internal method for creating texture effect controller. | |
void | ensurePrepared (size_t frame) const |
Internal method for ensuring the texture for a given frame is prepared. | |
void | ensureLoaded (size_t frame) const |
Internal method for ensuring the texture for a given frame is loaded. | |
Protected Attributes | |
unsigned int | mCurrentFrame |
The current animation frame. | |
Real | mAnimDuration |
Duration of animation in seconds. | |
bool | mCubic |
TextureType | mTextureType |
PixelFormat | mDesiredFormat |
int | mTextureSrcMipmaps |
unsigned int | mTextureCoordSetIndex |
UVWAddressingMode | mAddressMode |
ColourValue | mBorderColour |
LayerBlendModeEx | mColourBlendMode |
SceneBlendFactor | mColourBlendFallbackSrc |
SceneBlendFactor | mColourBlendFallbackDest |
LayerBlendModeEx | mAlphaBlendMode |
bool | mTextureLoadFailed |
bool | mIsAlpha |
bool | mHwGamma |
bool | mRecalcTexMatrix |
Real | mUMod |
Real | mVMod |
Real | mUScale |
Real | mVScale |
Radian | mRotate |
Matrix4 | mTexModMatrix |
FilterOptions | mMinFilter |
Texture filtering - minification. | |
FilterOptions | mMagFilter |
Texture filtering - magnification. | |
FilterOptions | mMipFilter |
Texture filtering - mipmapping. | |
unsigned int | mMaxAniso |
Texture anisotropy. | |
float | mMipmapBias |
Mipmap bias (always float, not Real). | |
bool | mIsDefaultAniso |
bool | mIsDefaultFiltering |
BindingType | mBindingType |
Binding type (fragment or vertex pipeline). | |
ContentType | mContentType |
Content type of texture (normal loaded texture, auto-texture). | |
size_t | mCompositorRefMrtIndex |
The index of the referenced texture if referencing an MRT in a compositor. | |
vector< String >::type | mFrames |
vector< TexturePtr >::type | mFramePtrs |
String | mName |
String | mTextureNameAlias |
EffectMap | mEffects |
String | mCompositorRefName |
The data that references the compositor. | |
String | mCompositorRefTexName |
Pass * | mParent |
Controller< Real > * | mAnimController |
Friends | |
class | RenderSystem |
Class representing the state of a single texture unit during a Pass of a Technique, of a Material.
Definition at line 61 of file OgreTextureUnitState.h.
typedef multimap<TextureEffectType, TextureEffect>::type Ogre::TextureUnitState::EffectMap |
Texture effects in a multimap paired array.
Definition at line 172 of file OgreTextureUnitState.h.
The type of unit to bind the texture settings to.
BT_FRAGMENT |
Regular fragment processing unit - the default. |
BT_VERTEX |
Vertex processing unit - indicates this unit will be used for a vertex texture fetch. |
Definition at line 461 of file OgreTextureUnitState.h.
Enum identifying the type of content this texture unit contains.
Definition at line 472 of file OgreTextureUnitState.h.
Enumeration to specify type of envmap.
Definition at line 94 of file OgreTextureUnitState.h.
Texture addressing modes - default is TAM_WRAP.
TAM_WRAP |
Texture wraps at values over 1.0. |
TAM_MIRROR |
Texture mirrors (flips) at joins over 1.0. |
TAM_CLAMP |
Texture clamps at 1.0. |
TAM_BORDER |
Texture coordinates outside the range [0.0, 1.0] are set to the border colour. |
Definition at line 125 of file OgreTextureUnitState.h.
Enum identifying the frame indexes for faces of a cube map (not the composite 3D type.
Definition at line 145 of file OgreTextureUnitState.h.
Definition of the broad types of texture effect you can apply to a texture unit.
Definition at line 70 of file OgreTextureUnitState.h.
Useful enumeration when dealing with procedural transforms.
Definition at line 111 of file OgreTextureUnitState.h.
Ogre::TextureUnitState::TextureUnitState | ( | Pass * | parent | ) |
Default constructor.
Ogre::TextureUnitState::TextureUnitState | ( | Pass * | parent, | |
const TextureUnitState & | oth | |||
) |
Ogre::TextureUnitState::~TextureUnitState | ( | ) |
Default destructor.
Ogre::TextureUnitState::TextureUnitState | ( | Pass * | parent, | |
const String & | texName, | |||
unsigned int | texCoordSet = 0 | |||
) |
Name-based constructor.
name | The basic name of the texture e.g. brickwall.jpg, stonefloor.png | |
texCoordSet | The index of the texture coordinate set to use. |
Controller<Real>* Ogre::TextureUnitState::_getAnimController | ( | ) | const |
Gets the animation controller (as created because of setAnimatedTexture) if it exists.
Definition at line 1164 of file OgreTextureUnitState.h.
const TexturePtr& Ogre::TextureUnitState::_getTexturePtr | ( | size_t | frame | ) | const |
Get the texture pointer for a given frame.
const TexturePtr& Ogre::TextureUnitState::_getTexturePtr | ( | void | ) | const |
Get the texture pointer for the current frame.
void Ogre::TextureUnitState::_load | ( | void | ) |
Internal method for loading this object as part of Material::load.
void Ogre::TextureUnitState::_notifyNeedsRecompile | ( | void | ) |
Tells the class that it needs recompilation.
void Ogre::TextureUnitState::_notifyParent | ( | Pass * | parent | ) |
Notify this object that its parent has changed.
void Ogre::TextureUnitState::_prepare | ( | void | ) |
Internal method for preparing this object for load, as part of Material::prepare.
void Ogre::TextureUnitState::_setTexturePtr | ( | const TexturePtr & | texptr, | |
size_t | frame | |||
) |
Set the texture pointer for a given frame (internal use only!).
void Ogre::TextureUnitState::_setTexturePtr | ( | const TexturePtr & | texptr | ) |
Set the texture pointer for the current frame (internal use only!).
void Ogre::TextureUnitState::_unload | ( | void | ) |
Internal method for unloading this object as part of Material::unload.
void Ogre::TextureUnitState::_unprepare | ( | void | ) |
Internal method for undoing the preparation this object as part of Material::unprepare.
void Ogre::TextureUnitState::addEffect | ( | TextureEffect & | effect | ) |
Generic method for setting up texture effects.
void Ogre::TextureUnitState::addFrameTextureName | ( | const String & | name | ) |
Add a Texture name to the end of the frame container.
name | The name of the texture |
bool Ogre::TextureUnitState::applyTextureAliases | ( | const AliasTextureNamePairList & | aliasList, | |
const bool | apply = true | |||
) |
Applies texture names to Texture Unit State with matching texture name aliases.
If no matching aliases are found then the TUS state does not change.
aliasList | Is a map container of texture alias, texture name pairs | |
apply | Set true to apply the texture aliases else just test to see if texture alias matches are found. |
void Ogre::TextureUnitState::createAnimController | ( | void | ) | [protected] |
Internal method for creating animation controller.
void Ogre::TextureUnitState::createEffectController | ( | TextureEffect & | effect | ) | [protected] |
Internal method for creating texture effect controller.
void Ogre::TextureUnitState::deleteFrameTextureName | ( | const size_t | frameNumber | ) |
deletes a specific texture frame.
The texture used is not deleted but the texture will no longer be used by the Texture Unit. An exception is raised if the frame number exceeds the number of actual frames.
frameNumber | The frame number of the texture to be deleted. |
void Ogre::TextureUnitState::ensureLoaded | ( | size_t | frame | ) | const [protected] |
Internal method for ensuring the texture for a given frame is loaded.
void Ogre::TextureUnitState::ensurePrepared | ( | size_t | frame | ) | const [protected] |
Internal method for ensuring the texture for a given frame is prepared.
const LayerBlendModeEx& Ogre::TextureUnitState::getAlphaBlendMode | ( | void | ) | const |
Get multitexturing alpha blending mode.
Real Ogre::TextureUnitState::getAnimationDuration | ( | void | ) | const |
Get the animated-texture animation duration.
BindingType Ogre::TextureUnitState::getBindingType | ( | void | ) | const |
Gets the type of unit these texture settings should be bound to.
SceneBlendFactor Ogre::TextureUnitState::getColourBlendFallbackDest | ( | void | ) | const |
Get the multipass fallback for colour blending operation destination factor.
SceneBlendFactor Ogre::TextureUnitState::getColourBlendFallbackSrc | ( | void | ) | const |
Get the multipass fallback for colour blending operation source factor.
const LayerBlendModeEx& Ogre::TextureUnitState::getColourBlendMode | ( | void | ) | const |
Get multitexturing colour blending mode.
ContentType Ogre::TextureUnitState::getContentType | ( | void | ) | const |
Get the type of content this TextureUnitState references.
unsigned int Ogre::TextureUnitState::getCurrentFrame | ( | void | ) | const |
Gets the active frame in an animated or multi-image texture layer.
PixelFormat Ogre::TextureUnitState::getDesiredFormat | ( | void | ) | const |
Gets the desired pixel format when load the texture.
const EffectMap& Ogre::TextureUnitState::getEffects | ( | void | ) | const |
Get texture effects in a multimap paired array.
const String& Ogre::TextureUnitState::getFrameTextureName | ( | unsigned int | frameNumber | ) | const |
Gets the name of the texture associated with a frame number.
Throws an exception if frameNumber exceeds the number of stored frames.
bool Ogre::TextureUnitState::getIsAlpha | ( | void | ) | const |
Gets whether this texture is requested to be loaded as alpha if single channel.
const String& Ogre::TextureUnitState::getName | ( | void | ) | const |
Get the name of the Texture Unit State.
Definition at line 1122 of file OgreTextureUnitState.h.
unsigned int Ogre::TextureUnitState::getNumFrames | ( | void | ) | const |
Gets the number of frames for a texture.
int Ogre::TextureUnitState::getNumMipmaps | ( | void | ) | const |
Gets how many mipmaps have been requested for the texture.
Pass* Ogre::TextureUnitState::getParent | ( | void | ) | const |
Gets the parent Pass object.
Definition at line 1097 of file OgreTextureUnitState.h.
const String& Ogre::TextureUnitState::getReferencedCompositorName | ( | ) | const |
Gets the name of the compositor that this texture referneces.
Definition at line 1090 of file OgreTextureUnitState.h.
size_t Ogre::TextureUnitState::getReferencedMRTIndex | ( | ) | const |
Gets the MRT index of the texture in the compositor that this texture references.
Definition at line 1094 of file OgreTextureUnitState.h.
const String& Ogre::TextureUnitState::getReferencedTextureName | ( | ) | const |
Gets the name of the texture in the compositor that this texture references.
Definition at line 1092 of file OgreTextureUnitState.h.
const UVWAddressingMode& Ogre::TextureUnitState::getTextureAddressingMode | ( | void | ) | const |
Gets the texture addressing mode for a given coordinate, i.e.
what happens at uv values above 1.0.
unsigned int Ogre::TextureUnitState::getTextureAnisotropy | ( | ) | const |
Get this layer texture anisotropy level.
const ColourValue& Ogre::TextureUnitState::getTextureBorderColour | ( | void | ) | const |
Sets the texture border colour.
unsigned int Ogre::TextureUnitState::getTextureCoordSet | ( | void | ) | const |
Gets the index of the set of texture co-ords this layer uses.
std::pair< size_t, size_t > Ogre::TextureUnitState::getTextureDimensions | ( | unsigned int | frame = 0 |
) | const |
Returns the width and height of the texture in the given frame.
FilterOptions Ogre::TextureUnitState::getTextureFiltering | ( | FilterType | ftpye | ) | const |
Get the texture filtering for the given type.
float Ogre::TextureUnitState::getTextureMipmapBias | ( | void | ) | const |
Gets the bias value applied to the mipmap calculation.
Definition at line 1078 of file OgreTextureUnitState.h.
const String& Ogre::TextureUnitState::getTextureName | ( | void | ) | const |
Get the name of current texture image for this layer.
const String& Ogre::TextureUnitState::getTextureNameAlias | ( | void | ) | const |
Gets the Texture Name Alias of the Texture Unit.
Definition at line 1130 of file OgreTextureUnitState.h.
const Radian& Ogre::TextureUnitState::getTextureRotate | ( | void | ) | const |
Get texture rotation effects angle value.
const Matrix4& Ogre::TextureUnitState::getTextureTransform | ( | void | ) | const |
Gets the current texture transformation matrix.
TextureType Ogre::TextureUnitState::getTextureType | ( | void | ) | const |
Returns the type of this texture.
Real Ogre::TextureUnitState::getTextureUScale | ( | void | ) | const |
Get texture uscale value.
Real Ogre::TextureUnitState::getTextureUScroll | ( | void | ) | const |
Real Ogre::TextureUnitState::getTextureVScale | ( | void | ) | const |
Get texture vscale value.
Real Ogre::TextureUnitState::getTextureVScroll | ( | void | ) | const |
bool Ogre::TextureUnitState::hasViewRelativeTextureCoordinateGeneration | ( | void | ) | const |
Returns whether this unit has texture coordinate generation that depends on the camera.
bool Ogre::TextureUnitState::is3D | ( | void | ) | const |
Returns true if this texture layer uses a composite 3D cubic texture.
bool Ogre::TextureUnitState::isBlank | ( | void | ) | const |
Determines if this texture layer is currently blank.
bool Ogre::TextureUnitState::isCubic | ( | void | ) | const |
Returns true if this texture unit is either a series of 6 2D textures, each in it's own frame, or is a full 3D cube map.
You can tell which by checking getTextureType.
bool Ogre::TextureUnitState::isHardwareGammaEnabled | ( | ) | const |
Gets whether this texture will be set up so that on sampling it, hardware gamma correction is applied.
bool Ogre::TextureUnitState::isLoaded | ( | void | ) | const |
Is this loaded?
bool Ogre::TextureUnitState::isTextureLoadFailing | ( | ) | const |
Tests if the texture associated with this unit has failed to load.
Definition at line 1015 of file OgreTextureUnitState.h.
void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr, | |
const char * | , | |||
int | , | |||
const char * | ||||
) | [inherited] |
Definition at line 107 of file OgreMemoryAllocatedObject.h.
void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr, | |
void * | ||||
) | [inherited] |
Definition at line 101 of file OgreMemoryAllocatedObject.h.
void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr | ) | [inherited] |
Definition at line 95 of file OgreMemoryAllocatedObject.h.
void Ogre::AllocatedObject< Alloc >::operator delete[] | ( | void * | ptr, | |
const char * | , | |||
int | , | |||
const char * | ||||
) | [inherited] |
Definition at line 118 of file OgreMemoryAllocatedObject.h.
void Ogre::AllocatedObject< Alloc >::operator delete[] | ( | void * | ptr | ) | [inherited] |
Definition at line 112 of file OgreMemoryAllocatedObject.h.
void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz, | |
void * | ptr | |||
) | [inherited] |
placement operator new
Definition at line 78 of file OgreMemoryAllocatedObject.h.
void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz | ) | [inherited] |
Definition at line 72 of file OgreMemoryAllocatedObject.h.
void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz, | |
const char * | file, | |||
int | line, | |||
const char * | func | |||
) | [inherited] |
operator new, with debug line info
Definition at line 67 of file OgreMemoryAllocatedObject.h.
void* Ogre::AllocatedObject< Alloc >::operator new[] | ( | size_t | sz | ) | [inherited] |
Definition at line 90 of file OgreMemoryAllocatedObject.h.
void* Ogre::AllocatedObject< Alloc >::operator new[] | ( | size_t | sz, | |
const char * | file, | |||
int | line, | |||
const char * | func | |||
) | [inherited] |
array operator new, with debug line info
Definition at line 85 of file OgreMemoryAllocatedObject.h.
TextureUnitState& Ogre::TextureUnitState::operator= | ( | const TextureUnitState & | oth | ) |
void Ogre::TextureUnitState::recalcTextureMatrix | ( | void | ) | const [protected] |
Internal method for calculating texture matrix.
void Ogre::TextureUnitState::removeAllEffects | ( | void | ) |
Removes all effects applied to this texture layer.
void Ogre::TextureUnitState::removeEffect | ( | const TextureEffectType | type | ) |
Removes a single effect applied to this texture layer.
void Ogre::TextureUnitState::retryTextureLoad | ( | ) |
Tells the unit to retry loading the texture if it had failed to load.
Definition at line 1019 of file OgreTextureUnitState.h.
void Ogre::TextureUnitState::setAlphaOperation | ( | LayerBlendOperationEx | op, | |
LayerBlendSource | source1 = LBS_TEXTURE , |
|||
LayerBlendSource | source2 = LBS_CURRENT , |
|||
Real | arg1 = 1.0 , |
|||
Real | arg2 = 1.0 , |
|||
Real | manualBlend = 0.0 | |||
) |
Sets the alpha operation to be applied to this texture.
op | The operation to be used, e.g. modulate (multiply), add, subtract | |
source1 | The source of the first alpha value to the operation e.g. texture alpha | |
source2 | The source of the second alpha value to the operation e.g. current surface alpha | |
arg1 | Manually supplied alpha value (only required if source1 = LBS_MANUAL) | |
arg2 | Manually supplied alpha value (only required if source2 = LBS_MANUAL) | |
manualBlend | Manually supplied 'blend' value - only required for operations which require manual blend e.g. LBX_BLEND_MANUAL |
void Ogre::TextureUnitState::setAnimatedTextureName | ( | const String *const | names, | |
unsigned int | numFrames, | |||
Real | duration = 0 | |||
) |
Sets the names of the texture images for an animated texture.
names | Pointer to array of names of the textures to use, in frame order. | |
numFrames | The number of frames in the sequence. | |
duration | The length of time it takes to display the whole animation sequence, in seconds. If 0, no automatic transition occurs. |
void Ogre::TextureUnitState::setAnimatedTextureName | ( | const String & | name, | |
unsigned int | numFrames, | |||
Real | duration = 0 | |||
) |
Sets the names of the texture images for an animated texture.
name | The base name of the textures to use e.g. wall.jpg for frames wall_0.jpg, wall_1.jpg etc. | |
numFrames | The number of frames in the sequence. | |
duration | The length of time it takes to display the whole animation sequence, in seconds. If 0, no automatic transition occurs. |
void Ogre::TextureUnitState::setBindingType | ( | BindingType | bt | ) |
Sets the type of unit these texture settings should be bound to.
void Ogre::TextureUnitState::setBlank | ( | void | ) |
Sets this texture layer to be blank.
void Ogre::TextureUnitState::setColourOperation | ( | const LayerBlendOperation | op | ) |
Determines how this texture layer is combined with the one below it (or the diffuse colour of the geometry if this is layer 0).
op | One of the LayerBlendOperation enumerated blending types. |
void Ogre::TextureUnitState::setColourOperationEx | ( | LayerBlendOperationEx | op, | |
LayerBlendSource | source1 = LBS_TEXTURE , |
|||
LayerBlendSource | source2 = LBS_CURRENT , |
|||
const ColourValue & | arg1 = ColourValue::White , |
|||
const ColourValue & | arg2 = ColourValue::White , |
|||
Real | manualBlend = 0.0 | |||
) |
Setting advanced blending options.
If | you wish to avoid having to do this, use the simpler TextureUnitState::setColourOperation method which allows less flexible blending options but sets up the multipass fallback automatically, since it only allows operations which have direct multipass equivalents. | |
op | The operation to be used, e.g. modulate (multiply), add, subtract | |
source1 | The source of the first colour to the operation e.g. texture colour | |
source2 | The source of the second colour to the operation e.g. current surface colour | |
arg1 | Manually supplied colour value (only required if source1 = LBS_MANUAL) | |
arg2 | Manually supplied colour value (only required if source2 = LBS_MANUAL) | |
manualBlend | Manually supplied 'blend' value - only required for operations which require manual blend e.g. LBX_BLEND_MANUAL |
void Ogre::TextureUnitState::setColourOpMultipassFallback | ( | const SceneBlendFactor | sourceFactor, | |
const SceneBlendFactor | destFactor | |||
) |
Sets the multipass fallback operation for this layer, if you used TextureUnitState::setColourOperationEx and not enough multitexturing hardware is available.
void Ogre::TextureUnitState::setCompositorReference | ( | const String & | compositorName, | |
const String & | textureName, | |||
size_t | mrtIndex = 0 | |||
) |
Set the compositor reference for this texture unit state.
compositorName | the name of the compositor to reference | |
textureName | the name of the texture to reference | |
mrtIndex | the index of the wanted texture, if referencing an MRT |
void Ogre::TextureUnitState::setContentType | ( | ContentType | ct | ) |
Set the type of content this TextureUnitState references.
void Ogre::TextureUnitState::setCubicTexture | ( | const TexturePtr *const | texPtrs, | |
bool | forUVW = false | |||
) |
Sets this texture layer to use a combination of 6 texture maps, each one relating to a face of a cube.
for cubic environment maps, the 6 textures are combined into a single 'cubic' texture map which is then addressed using 3D texture coordinates. This is required because you don't know what face of the box you're going to need to address when you render an object, and typically you need to reflect more than one face on the one object, so all 6 textures are needed to be 'active' at once. Cubic environment maps are enabled by calling this method with the forUVW parameter set to true, and then calling setEnvironmentMap(true).
Note that not all cards support cubic environment mapping.
for skyboxes, the 6 textures are kept separate and used independently for each face of the skybox. This is done because not all cards support 3D cubic maps and skyboxes do not need to use 3D texture coordinates so it is simpler to render each face of the box with 2D coordinates, changing texture between faces.
Skyboxes are created by calling SceneManager::setSkyBox.
pTextures | The 6 pointers to the textures which make up the 6 sides of the box. The textures must all be the same size and be powers of 2 in width & height. Must be an Ogre::TexturePtr array with a length of 6 unless forUVW is set to true. | |
forUVW | Set to true if you want a single 3D texture addressable with 3D texture coordinates rather than 6 separate textures. Useful for cubic environment mapping. |
void Ogre::TextureUnitState::setCubicTextureName | ( | const String *const | names, | |
bool | forUVW = false | |||
) |
Sets this texture layer to use a combination of 6 texture maps, each one relating to a face of a cube.
For cubic environment maps, the 6 textures are combined into a single 'cubic' texture map which is then addressed using 3D texture coordinates. This is required because you don't know what face of the box you're going to need to address when you render an object, and typically you need to reflect more than one face on the one object, so all 6 textures are needed to be 'active' at once. Cubic environment maps are enabled by calling this method with the forUVW parameter set to true, and then calling setEnvironmentMap(true).
Note that not all cards support cubic environment mapping.
For skyboxes, the 6 textures are kept separate and used independently for each face of the skybox. This is done because not all cards support 3D cubic maps and skyboxes do not need to use 3D texture coordinates so it is simpler to render each face of the box with 2D coordinates, changing texture between faces.
Skyboxes are created by calling SceneManager::setSkyBox.
names | The 6 names of the textures which make up the 6 sides of the box. The textures must all be the same size and be powers of 2 in width & height. Must be an Ogre::String array with a length of 6 unless forUVW is set to true. | |
forUVW | Set to true if you want a single 3D texture addressable with 3D texture coordinates rather than 6 separate textures. Useful for cubic environment mapping. |
void Ogre::TextureUnitState::setCubicTextureName | ( | const String & | name, | |
bool | forUVW = false | |||
) |
Sets this texture layer to use a combination of 6 texture maps, each one relating to a face of a cube.
for cubic environment maps, the 6 textures are combined into a single 'cubic' texture map which is then addressed using 3D texture coordinates. This is required because you don't know what face of the box you're going to need to address when you render an object, and typically you need to reflect more than one face on the one object, so all 6 textures are needed to be 'active' at once. Cubic environment maps are enabled by calling this method with the forUVW parameter set to true, and then calling setEnvironmentMap(true).
Note that not all cards support cubic environment mapping.
for skyboxes, the 6 textures are kept separate and used independently for each face of the skybox. This is done because not all cards support 3D cubic maps and skyboxes do not need to use 3D texture coordinates so it is simpler to render each face of the box with 2D coordinates, changing texture between faces.
Skyboxes are created by calling SceneManager::setSkyBox.
name | The basic name of the texture e.g. brickwall.jpg, stonefloor.png. There must be 6 versions of this texture with the suffixes _fr, _bk, _up, _dn, _lf, and _rt (before the extension) which make up the 6 sides of the box. The textures must all be the same size and be powers of 2 in width & height. If you can't make your texture names conform to this, use the alternative method of the same name which takes an array of texture names instead. | |
forUVW | Set to true if you want a single 3D texture addressable with 3D texture coordinates rather than 6 separate textures. Useful for cubic environment mapping. |
void Ogre::TextureUnitState::setCurrentFrame | ( | unsigned int | frameNumber | ) |
Changes the active frame in an animated or multi-image texture.
void Ogre::TextureUnitState::setDesiredFormat | ( | PixelFormat | desiredFormat | ) |
Sets the desired pixel format when load the texture.
void Ogre::TextureUnitState::setEnvironmentMap | ( | bool | enable, | |
EnvMapType | envMapType = ENV_CURVED | |||
) |
Turns on/off texture coordinate effect that makes this layer an environment map.
enable | True to enable, false to disable | |
planar | If set to true, instead of being based on normals the environment effect is based on vertex positions. This is good for planar surfaces. |
void Ogre::TextureUnitState::setFrameTextureName | ( | const String & | name, | |
unsigned int | frameNumber | |||
) |
Sets the name of the texture associated with a frame.
name | The name of the texture | |
frameNumber | The frame the texture name is to be placed in |
void Ogre::TextureUnitState::setHardwareGammaEnabled | ( | bool | enabled | ) |
Sets whether this texture will be set up so that on sampling it, hardware gamma correction is applied.
void Ogre::TextureUnitState::setIsAlpha | ( | bool | isAlpha | ) |
Sets whether this texture is requested to be loaded as alpha if single channel.
void Ogre::TextureUnitState::setName | ( | const String & | name | ) |
void Ogre::TextureUnitState::setNumMipmaps | ( | int | numMipmaps | ) |
Sets how many mipmaps have been requested for the texture.
void Ogre::TextureUnitState::setProjectiveTexturing | ( | bool | enabled, | |
const Frustum * | projectionSettings = 0 | |||
) |
Enables or disables projective texturing on this texture unit.
enabled | Whether to enable / disable | |
projectionSettings | The Frustum which will be used to derive the projection parameters. |
void Ogre::TextureUnitState::setRotateAnimation | ( | Real | speed | ) |
Sets up an animated texture rotation for this layer.
speed | The number of complete anticlockwise revolutions per second (use -ve for clockwise) |
Sets up an animated scroll for the texture layer.
uSpeed | The number of horizontal loops per second (+ve=moving right, -ve = moving left) | |
vSpeed | The number of vertical loops per second (+ve=moving up, -ve= moving down) |
void Ogre::TextureUnitState::setTexture | ( | const TexturePtr & | texPtr | ) |
Sets this texture layer to use a single texture, given the pointer to the texture to use on this layer.
void Ogre::TextureUnitState::setTextureAddressingMode | ( | const UVWAddressingMode & | uvw | ) |
Sets the texture addressing mode, i.e.
what happens at uv values above 1.0.
void Ogre::TextureUnitState::setTextureAddressingMode | ( | TextureAddressingMode | u, | |
TextureAddressingMode | v, | |||
TextureAddressingMode | w | |||
) |
Sets the texture addressing mode, i.e.
what happens at uv values above 1.0.
void Ogre::TextureUnitState::setTextureAddressingMode | ( | TextureAddressingMode | tam | ) |
Sets the texture addressing mode, i.e.
what happens at uv values above 1.0.
void Ogre::TextureUnitState::setTextureAnisotropy | ( | unsigned int | maxAniso | ) |
Sets the anisotropy level to be used for this texture level.
void Ogre::TextureUnitState::setTextureBorderColour | ( | const ColourValue & | colour | ) |
Sets the texture border colour.
void Ogre::TextureUnitState::setTextureCoordSet | ( | unsigned int | set | ) |
Sets the index of the set of texture co-ords this layer uses.
void Ogre::TextureUnitState::setTextureFiltering | ( | FilterOptions | minFilter, | |
FilterOptions | magFilter, | |||
FilterOptions | mipFilter | |||
) |
Set a the detailed filtering options on this texture unit.
minFilter The filtering to use when reducing the size of the texture. Can be FO_POINT, FO_LINEAR or FO_ANISOTROPIC magFilter The filtering to use when increasing the size of the texture Can be FO_POINT, FO_LINEAR or FO_ANISOTROPIC mipFilter The filtering to use between mip levels Can be FO_NONE (turns off mipmapping), FO_POINT or FO_LINEAR (trilinear filtering)
void Ogre::TextureUnitState::setTextureFiltering | ( | FilterType | ftype, | |
FilterOptions | opts | |||
) |
Set a single filtering option on this texture unit.
ftype The filtering type to set opts The filtering option to set
void Ogre::TextureUnitState::setTextureFiltering | ( | TextureFilterOptions | filterType | ) |
Set the texture filtering for this unit, using the simplified interface.
filterType | The high-level filter type to use. |
void Ogre::TextureUnitState::setTextureMipmapBias | ( | float | bias | ) |
Sets the bias value applied to the mipmap calculation.
bias | The bias value as described above, can be positive or negative. |
Definition at line 1074 of file OgreTextureUnitState.h.
void Ogre::TextureUnitState::setTextureName | ( | const String & | name, | |
TextureType | ttype = TEX_TYPE_2D | |||
) |
Sets this texture layer to use a single texture, given the name of the texture to use on this layer.
void Ogre::TextureUnitState::setTextureNameAlias | ( | const String & | name | ) |
Set the alias name used for texture frame names.
name | can be any sequence of characters and does not have to be unique |
void Ogre::TextureUnitState::setTextureRotate | ( | const Radian & | angle | ) |
Sets the anticlockwise rotation factor applied to texture coordinates.
angle | The angle of rotation (anticlockwise). |
Sets the scaling factor applied to texture coordinates.
uScale | The value by which the texture is to be scaled horizontally. | |
vScale | The value by which the texture is to be scaled vertically. |
Sets the translation offset of the texture, ie scrolls the texture.
u | The amount the texture should be moved horizontally (u direction). | |
v | The amount the texture should be moved vertically (v direction). |
void Ogre::TextureUnitState::setTextureTransform | ( | const Matrix4 & | xform | ) |
Sets a matrix used to transform any texture coordinates on this layer.
void Ogre::TextureUnitState::setTextureUScale | ( | Real | value | ) |
As setTextureScale, but sets only U value.
void Ogre::TextureUnitState::setTextureUScroll | ( | Real | value | ) |
As setTextureScroll, but sets only U value.
void Ogre::TextureUnitState::setTextureVScale | ( | Real | value | ) |
As setTextureScale, but sets only V value.
void Ogre::TextureUnitState::setTextureVScroll | ( | Real | value | ) |
As setTextureScroll, but sets only V value.
void Ogre::TextureUnitState::setTransformAnimation | ( | const TextureTransformType | ttype, | |
const WaveformType | waveType, | |||
Real | base = 0 , |
|||
Real | frequency = 1 , |
|||
Real | phase = 0 , |
|||
Real | amplitude = 1 | |||
) |
Sets up a general time-relative texture modification effect.
ttype | The type of transform, either translate (scroll), scale (stretch) or rotate (spin) | |
waveType | The shape of the wave, see WaveformType enum for details | |
base | The base value for the function (range of output = {base, base + amplitude}) | |
frequency | The speed of the wave in cycles per second | |
phase | The offset of the start of the wave, e.g. 0.5 to start half-way through the wave | |
amplitude | Scales the output so that instead of lying within 0..1 it lies within 0..1*amplitude for exaggerated effects |
friend class RenderSystem [friend] |
Definition at line 63 of file OgreTextureUnitState.h.
Definition at line 1179 of file OgreTextureUnitState.h.
Definition at line 1186 of file OgreTextureUnitState.h.
Controller<Real>* Ogre::TextureUnitState::mAnimController [protected] |
Definition at line 1236 of file OgreTextureUnitState.h.
Real Ogre::TextureUnitState::mAnimDuration [protected] |
Duration of animation in seconds.
Definition at line 1171 of file OgreTextureUnitState.h.
BindingType Ogre::TextureUnitState::mBindingType [protected] |
Binding type (fragment or vertex pipeline).
Definition at line 1211 of file OgreTextureUnitState.h.
ColourValue Ogre::TextureUnitState::mBorderColour [protected] |
Definition at line 1180 of file OgreTextureUnitState.h.
Definition at line 1184 of file OgreTextureUnitState.h.
Definition at line 1183 of file OgreTextureUnitState.h.
Definition at line 1182 of file OgreTextureUnitState.h.
size_t Ogre::TextureUnitState::mCompositorRefMrtIndex [protected] |
The index of the referenced texture if referencing an MRT in a compositor.
Definition at line 1215 of file OgreTextureUnitState.h.
String Ogre::TextureUnitState::mCompositorRefName [protected] |
The data that references the compositor.
Definition at line 1227 of file OgreTextureUnitState.h.
String Ogre::TextureUnitState::mCompositorRefTexName [protected] |
Definition at line 1228 of file OgreTextureUnitState.h.
ContentType Ogre::TextureUnitState::mContentType [protected] |
Content type of texture (normal loaded texture, auto-texture).
Definition at line 1213 of file OgreTextureUnitState.h.
bool Ogre::TextureUnitState::mCubic [protected] |
Definition at line 1172 of file OgreTextureUnitState.h.
unsigned int Ogre::TextureUnitState::mCurrentFrame [protected] |
The current animation frame.
Definition at line 1168 of file OgreTextureUnitState.h.
PixelFormat Ogre::TextureUnitState::mDesiredFormat [protected] |
Definition at line 1175 of file OgreTextureUnitState.h.
EffectMap Ogre::TextureUnitState::mEffects [protected] |
Definition at line 1225 of file OgreTextureUnitState.h.
vector<TexturePtr>::type Ogre::TextureUnitState::mFramePtrs [mutable, protected] |
Definition at line 1222 of file OgreTextureUnitState.h.
vector<String>::type Ogre::TextureUnitState::mFrames [protected] |
Definition at line 1221 of file OgreTextureUnitState.h.
bool Ogre::TextureUnitState::mHwGamma [protected] |
Definition at line 1189 of file OgreTextureUnitState.h.
bool Ogre::TextureUnitState::mIsAlpha [protected] |
Definition at line 1188 of file OgreTextureUnitState.h.
bool Ogre::TextureUnitState::mIsDefaultAniso [protected] |
Definition at line 1208 of file OgreTextureUnitState.h.
bool Ogre::TextureUnitState::mIsDefaultFiltering [protected] |
Definition at line 1209 of file OgreTextureUnitState.h.
FilterOptions Ogre::TextureUnitState::mMagFilter [protected] |
Texture filtering - magnification.
Definition at line 1200 of file OgreTextureUnitState.h.
unsigned int Ogre::TextureUnitState::mMaxAniso [protected] |
Texture anisotropy.
Definition at line 1204 of file OgreTextureUnitState.h.
FilterOptions Ogre::TextureUnitState::mMinFilter [protected] |
Texture filtering - minification.
Definition at line 1198 of file OgreTextureUnitState.h.
FilterOptions Ogre::TextureUnitState::mMipFilter [protected] |
Texture filtering - mipmapping.
Definition at line 1202 of file OgreTextureUnitState.h.
float Ogre::TextureUnitState::mMipmapBias [protected] |
Mipmap bias (always float, not Real).
Definition at line 1206 of file OgreTextureUnitState.h.
String Ogre::TextureUnitState::mName [protected] |
Definition at line 1223 of file OgreTextureUnitState.h.
Pass* Ogre::TextureUnitState::mParent [protected] |
Definition at line 1235 of file OgreTextureUnitState.h.
bool Ogre::TextureUnitState::mRecalcTexMatrix [mutable, protected] |
Definition at line 1191 of file OgreTextureUnitState.h.
Radian Ogre::TextureUnitState::mRotate [protected] |
Definition at line 1194 of file OgreTextureUnitState.h.
Matrix4 Ogre::TextureUnitState::mTexModMatrix [mutable, protected] |
Definition at line 1195 of file OgreTextureUnitState.h.
unsigned int Ogre::TextureUnitState::mTextureCoordSetIndex [protected] |
Definition at line 1178 of file OgreTextureUnitState.h.
bool Ogre::TextureUnitState::mTextureLoadFailed [mutable, protected] |
Definition at line 1187 of file OgreTextureUnitState.h.
String Ogre::TextureUnitState::mTextureNameAlias [protected] |
Definition at line 1224 of file OgreTextureUnitState.h.
int Ogre::TextureUnitState::mTextureSrcMipmaps [protected] |
Definition at line 1176 of file OgreTextureUnitState.h.
TextureType Ogre::TextureUnitState::mTextureType [protected] |
Definition at line 1174 of file OgreTextureUnitState.h.
Real Ogre::TextureUnitState::mUMod [protected] |
Definition at line 1192 of file OgreTextureUnitState.h.
Real Ogre::TextureUnitState::mUScale [protected] |
Definition at line 1193 of file OgreTextureUnitState.h.
Real Ogre::TextureUnitState::mVMod [protected] |
Definition at line 1192 of file OgreTextureUnitState.h.
Real Ogre::TextureUnitState::mVScale [protected] |
Definition at line 1193 of file OgreTextureUnitState.h.
Copyright © 2012 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Fri May 25 23:41:18 2012