Ogre::AutoParamDataSource Class Reference
Core » Materials

This utility class is used to hold the information used to generate the matrices and other information required to automatically populate GpuProgramParameters. More...

`#include <OgreAutoParamDataSource.h>`

Inheritance diagram for Ogre::AutoParamDataSource:
[legend]

## Public Member Functions

| AutoParamDataSource ()
virtual | ~AutoParamDataSource ()
virtual const ColourValue & | getAmbientLightColour (void) const
virtual const Vector4 & | getCameraPosition (void) const
virtual const Vector4 & | getCameraPositionObjectSpace (void) const
virtual Real | getCosTime_0_1 (Real x) const
virtual Real | getCosTime_0_2Pi (Real x) const
virtual Real | getCosTime_0_X (Real x) const
virtual const Pass * | getCurrentPass (void) const
virtual const Renderable * | getCurrentRenderable (void) const
virtual const RenderTarget * | getCurrentRenderTarget (void) const
virtual ColourValue | getDerivedAmbientLightColour (void) const
virtual ColourValue | getDerivedSceneColour (void) const
virtual Real | getFarClipDistance () const
virtual const ColourValue & | getFogColour (void) const
virtual const Vector4 & | getFogParams (void) const
virtual Real | getFOV () const
virtual Real | getFPS () const
virtual Real | getFrameTime (void) const
virtual Matrix4 | getInverseProjectionMatrix () const
virtual Vector4 | getInverseTextureSize (size_t index) const
virtual Matrix4 | getInverseTransposeProjectionMatrix () const
virtual Matrix4 | getInverseTransposeViewMatrix () const
virtual Matrix4 | getInverseTransposeViewProjMatrix () const
virtual const Matrix4 & | getInverseTransposeWorldMatrix (void) const
virtual const Matrix4 & | getInverseTransposeWorldViewMatrix (void) const
virtual Matrix4 | getInverseTransposeWorldViewProjMatrix () const
virtual const Matrix4 & | getInverseViewMatrix (void) const
virtual Real | getInverseViewportHeight () const
virtual Real | getInverseViewportWidth () const
virtual Matrix4 | getInverseViewProjMatrix (void) const
virtual const Matrix4 & | getInverseWorldMatrix (void) const
virtual const Matrix4 & | getInverseWorldViewMatrix (void) const
virtual Matrix4 | getInverseWorldViewProjMatrix () const
virtual Vector4 | getLightAs4DVector (size_t index) const
virtual Vector4 | getLightAttenuation (size_t index) const
virtual float | getLightCastsShadows (size_t index) const
virtual float | getLightCount () const
virtual const ColourValue & | getLightDiffuseColour (size_t index) const
virtual const ColourValue | getLightDiffuseColourWithPower (size_t index) const
virtual const Vector3 & | getLightDirection (size_t index) const
virtual float | getLightNumber (size_t index) const
| Get the light which is 'index'th closest to the current object. More...
virtual const Vector3 & | getLightPosition (size_t index) const
virtual Real | getLightPowerScale (size_t index) const
virtual const ColourValue & | getLightSpecularColour (size_t index) const
virtual const ColourValue | getLightSpecularColourWithPower (size_t index) const
virtual const Vector4 & | getLodCameraPosition (void) const
virtual const Vector4 & | getLodCameraPositionObjectSpace (void) const
virtual Real | getNearClipDistance () const
virtual Vector4 | getPackedTextureSize (size_t index) const
virtual int | getPassNumber (void) const
virtual const Matrix4 & | getProjectionMatrix (void) const
virtual const Vector4 & | getSceneDepthRange () const
virtual const ColourValue & | getShadowColour () const
virtual Real | getShadowExtrusionDistance (void) const
virtual const Vector4 & | getShadowSceneDepthRange (size_t index) const
virtual Real | getSinTime_0_1 (Real x) const
virtual Real | getSinTime_0_2Pi (Real x) const
virtual Real | getSinTime_0_X (Real x) const
virtual Vector4 | getSpotlightParams (size_t index) const
virtual const Matrix4 & | getSpotlightViewProjMatrix (size_t index) const
virtual const Matrix4 & | getSpotlightWorldViewProjMatrix (size_t index) const
virtual Real | getSurfaceAlphaRejectionValue (void) const
virtual const ColourValue & | getSurfaceAmbientColour (void) const
virtual const ColourValue & | getSurfaceDiffuseColour (void) const
virtual const ColourValue & | getSurfaceEmissiveColour (void) const
virtual Real | getSurfaceShininess (void) const
virtual const ColourValue & | getSurfaceSpecularColour (void) const
virtual Real | getTanTime_0_1 (Real x) const
virtual Real | getTanTime_0_2Pi (Real x) const
virtual Real | getTanTime_0_X (Real x) const
virtual Vector4 | getTextureSize (size_t index) const
virtual const Matrix4 & | getTextureTransformMatrix (size_t index) const
virtual const Matrix4 & | getTextureViewProjMatrix (size_t index) const
virtual const Matrix4 & | getTextureWorldViewProjMatrix (size_t index) const
virtual Real | getTime (void) const
virtual Real | getTime_0_1 (Real x) const
virtual Vector4 | getTime_0_1_packed (Real x) const
virtual Real | getTime_0_2Pi (Real x) const
virtual Vector4 | getTime_0_2Pi_packed (Real x) const
virtual Real | getTime_0_X (Real x) const
virtual Vector4 | getTime_0_X_packed (Real x) const
virtual Matrix4 | getTransposeProjectionMatrix () const
virtual Matrix4 | getTransposeViewMatrix () const
virtual Matrix4 | getTransposeViewProjMatrix () const
virtual Matrix4 | getTransposeWorldMatrix () const
virtual Matrix4 | getTransposeWorldViewMatrix () const
virtual Matrix4 | getTransposeWorldViewProjMatrix () const
virtual Vector3 | getViewDirection () const
virtual const Matrix4 & | getViewMatrix (void) const
virtual Real | getViewportHeight () const
virtual Real | getViewportWidth () const
virtual const Matrix4 & | getViewProjectionMatrix (void) const
virtual Vector3 | getViewSideVector () const
virtual Vector3 | getViewUpVector () const
virtual const Matrix4 & | getWorldMatrix (void) const
virtual const Matrix4 * | getWorldMatrixArray (void) const
virtual size_t | getWorldMatrixCount (void) const
virtual const Matrix4 & | getWorldViewMatrix (void) const
virtual const Matrix4 & | getWorldViewProjMatrix (void) const
virtual bool | hasLightList () const
virtual void | incPassNumber (void)
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)
virtual void | setAmbientLightColour (const ColourValue &ambient)
virtual void | setCurrentCamera (const Camera *cam, bool useCameraRelative)
| Updates the current camera. More...
virtual void | setCurrentLightList (const LightList *ll)
| Sets the light list that should be used, and it's base index from the global list. More...
virtual void | setCurrentPass (const Pass *pass)
| Sets the current pass. More...
virtual void | setCurrentRenderable (const Renderable *rend)
| Updates the current renderable. More...
virtual void | setCurrentRenderTarget (const RenderTarget *target)
| Sets the current render target. More...
virtual void | setCurrentSceneManager (const SceneManager *sm)
| Set the current scene manager for enquiring on demand. More...
virtual void | setCurrentViewport (const Viewport *viewport)
| Sets the current viewport. More...
virtual void | setFog (FogMode mode, const ColourValue &colour, Real expDensity, Real linearStart, Real linearEnd)
virtual void | setMainCamBoundsInfo (VisibleObjectsBoundsInfo *info)
| Sets the main camera's scene bounding information. More...
virtual void | setPassNumber (const int passNumber)
virtual void | setShadowDirLightExtrusionDistance (Real dist)
| Sets the shadow extrusion distance to be used for point lights. More...
virtual void | setTextureProjector (const Frustum *frust, size_t index)
| Sets the current texture projector for a index. More...
virtual void | setWorldMatrices (const Matrix4 *m, size_t count)
| Sets the world matrices, avoid query from renderable again. More...
virtual void | updateLightCustomGpuParameter (const GpuProgramParameters::AutoConstantEntry &constantEntry, GpuProgramParameters *params) const

## Protected Member Functions

const Light & | getLight (size_t index) const

## Protected Attributes

ColourValue | mAmbientLight
Light | mBlankLight
Vector4 | mCameraPosition
bool | mCameraPositionDirty
Vector4 | mCameraPositionObjectSpace
bool | mCameraPositionObjectSpaceDirty
Vector3 | mCameraRelativePosition
bool | mCameraRelativeRendering
const Camera * | mCurrentCamera
const LightList * | mCurrentLightList
const Pass * | mCurrentPass
const Renderable * | mCurrentRenderable
const RenderTarget * | mCurrentRenderTarget
const SceneManager * | mCurrentSceneManager
const Frustum * | mCurrentTextureProjector [OGRE_MAX_SIMULTANEOUS_LIGHTS]
const Viewport * | mCurrentViewport
Real | mDirLightExtrusionDistance
ColourValue | mFogColour
Vector4 | mFogParams
Matrix4 | mInverseTransposeWorldMatrix
bool | mInverseTransposeWorldMatrixDirty
Matrix4 | mInverseTransposeWorldViewMatrix
bool | mInverseTransposeWorldViewMatrixDirty
Matrix4 | mInverseViewMatrix
bool | mInverseViewMatrixDirty
Matrix4 | mInverseWorldMatrix
bool | mInverseWorldMatrixDirty
Matrix4 | mInverseWorldViewMatrix
bool | mInverseWorldViewMatrixDirty
Vector4 | mLodCameraPosition
bool | mLodCameraPositionDirty
Vector4 | mLodCameraPositionObjectSpace
bool | mLodCameraPositionObjectSpaceDirty
const VisibleObjectsBoundsInfo * | mMainCamBoundsInfo
int | mPassNumber
Matrix4 | mProjectionMatrix
bool | mProjMatrixDirty
Vector4 | mSceneDepthRange
bool | mSceneDepthRangeDirty
Vector4 | mShadowCamDepthRanges [OGRE_MAX_SIMULTANEOUS_LIGHTS]
bool | mShadowCamDepthRangesDirty [OGRE_MAX_SIMULTANEOUS_LIGHTS]
Matrix4 | mSpotlightViewProjMatrix [OGRE_MAX_SIMULTANEOUS_LIGHTS]
bool | mSpotlightViewProjMatrixDirty [OGRE_MAX_SIMULTANEOUS_LIGHTS]
Matrix4 | mSpotlightWorldViewProjMatrix [OGRE_MAX_SIMULTANEOUS_LIGHTS]
bool | mSpotlightWorldViewProjMatrixDirty [OGRE_MAX_SIMULTANEOUS_LIGHTS]
Matrix4 | mTextureViewProjMatrix [OGRE_MAX_SIMULTANEOUS_LIGHTS]
bool | mTextureViewProjMatrixDirty [OGRE_MAX_SIMULTANEOUS_LIGHTS]
Matrix4 | mTextureWorldViewProjMatrix [OGRE_MAX_SIMULTANEOUS_LIGHTS]
bool | mTextureWorldViewProjMatrixDirty [OGRE_MAX_SIMULTANEOUS_LIGHTS]
Matrix4 | mViewMatrix
bool | mViewMatrixDirty
Matrix4 | mViewProjMatrix
bool | mViewProjMatrixDirty
Matrix4 | mWorldMatrix [256]
const Matrix4 * | mWorldMatrixArray
size_t | mWorldMatrixCount
bool | mWorldMatrixDirty
Matrix4 | mWorldViewMatrix
bool | mWorldViewMatrixDirty
Matrix4 | mWorldViewProjMatrix
bool | mWorldViewProjMatrixDirty

## Detailed Description

This utility class is used to hold the information used to generate the matrices and other information required to automatically populate GpuProgramParameters.

Remarks
  This class exercises a lazy-update scheme in order to avoid having to update all the information a GpuProgramParameters class could possibly want all the time. It relies on the SceneManager to update it when the base data has changed, and will calculate concatenated matrices etc only when required, passing back precalculated matrices when they are requested more than once when the underlying information has not altered.

Definition at line 60 of file OgreAutoParamDataSource.h.

## Constructor & Destructor Documentation

## AutoParamDataSource()

Ogre::AutoParamDataSource::AutoParamDataSource | ( |  | ) |

## ~AutoParamDataSource()

virtual Ogre::AutoParamDataSource::~AutoParamDataSource | ( |  | ) |

virtual

## Member Function Documentation

## getAmbientLightColour()

virtual const ColourValue& Ogre::AutoParamDataSource::getAmbientLightColour | ( | void |  | ) | const

virtual

## getCameraPosition()

virtual const Vector4& Ogre::AutoParamDataSource::getCameraPosition | ( | void |  | ) | const

virtual

## getCameraPositionObjectSpace()

virtual const Vector4& Ogre::AutoParamDataSource::getCameraPositionObjectSpace | ( | void |  | ) | const

virtual

## getCosTime_0_1()

virtual Real Ogre::AutoParamDataSource::getCosTime_0_1 | ( | Real | x | ) | const

virtual

## getCosTime_0_2Pi()

virtual Real Ogre::AutoParamDataSource::getCosTime_0_2Pi | ( | Real | x | ) | const

virtual

## getCosTime_0_X()

virtual Real Ogre::AutoParamDataSource::getCosTime_0_X | ( | Real | x | ) | const

virtual

## getCurrentPass()

virtual const Pass* Ogre::AutoParamDataSource::getCurrentPass | ( | void |  | ) | const

virtual

## getCurrentRenderable()

virtual const Renderable* Ogre::AutoParamDataSource::getCurrentRenderable | ( | void |  | ) | const

virtual

## getCurrentRenderTarget()

virtual const RenderTarget* Ogre::AutoParamDataSource::getCurrentRenderTarget | ( | void |  | ) | const

virtual

## getDerivedAmbientLightColour()

virtual ColourValue Ogre::AutoParamDataSource::getDerivedAmbientLightColour | ( | void |  | ) | const

virtual

## getDerivedSceneColour()

virtual ColourValue Ogre::AutoParamDataSource::getDerivedSceneColour | ( | void |  | ) | const

virtual

## getFarClipDistance()

virtual Real Ogre::AutoParamDataSource::getFarClipDistance | ( |  | ) | const

virtual

## getFogColour()

virtual const ColourValue& Ogre::AutoParamDataSource::getFogColour | ( | void |  | ) | const

virtual

## getFogParams()

virtual const Vector4& Ogre::AutoParamDataSource::getFogParams | ( | void |  | ) | const

virtual

## getFOV()

virtual Real Ogre::AutoParamDataSource::getFOV | ( |  | ) | const

virtual

## getFPS()

virtual Real Ogre::AutoParamDataSource::getFPS | ( |  | ) | const

virtual

## getFrameTime()

virtual Real Ogre::AutoParamDataSource::getFrameTime | ( | void |  | ) | const

virtual

## getInverseProjectionMatrix()

virtual Matrix4 Ogre::AutoParamDataSource::getInverseProjectionMatrix | ( |  | ) | const

virtual

## getInverseTextureSize()

virtual Vector4 Ogre::AutoParamDataSource::getInverseTextureSize | ( | size_t | index | ) | const

virtual

## getInverseTransposeProjectionMatrix()

virtual Matrix4 Ogre::AutoParamDataSource::getInverseTransposeProjectionMatrix | ( |  | ) | const

virtual

## getInverseTransposeViewMatrix()

virtual Matrix4 Ogre::AutoParamDataSource::getInverseTransposeViewMatrix | ( |  | ) | const

virtual

## getInverseTransposeViewProjMatrix()

virtual Matrix4 Ogre::AutoParamDataSource::getInverseTransposeViewProjMatrix | ( |  | ) | const

virtual

## getInverseTransposeWorldMatrix()

virtual const Matrix4& Ogre::AutoParamDataSource::getInverseTransposeWorldMatrix | ( | void |  | ) | const

virtual

## getInverseTransposeWorldViewMatrix()

virtual const Matrix4& Ogre::AutoParamDataSource::getInverseTransposeWorldViewMatrix | ( | void |  | ) | const

virtual

## getInverseTransposeWorldViewProjMatrix()

virtual Matrix4 Ogre::AutoParamDataSource::getInverseTransposeWorldViewProjMatrix | ( |  | ) | const

virtual

## getInverseViewMatrix()

virtual const Matrix4& Ogre::AutoParamDataSource::getInverseViewMatrix | ( | void |  | ) | const

virtual

## getInverseViewportHeight()

virtual Real Ogre::AutoParamDataSource::getInverseViewportHeight | ( |  | ) | const

virtual

## getInverseViewportWidth()

virtual Real Ogre::AutoParamDataSource::getInverseViewportWidth | ( |  | ) | const

virtual

## getInverseViewProjMatrix()

virtual Matrix4 Ogre::AutoParamDataSource::getInverseViewProjMatrix | ( | void |  | ) | const

virtual

## getInverseWorldMatrix()

virtual const Matrix4& Ogre::AutoParamDataSource::getInverseWorldMatrix | ( | void |  | ) | const

virtual

## getInverseWorldViewMatrix()

virtual const Matrix4& Ogre::AutoParamDataSource::getInverseWorldViewMatrix | ( | void |  | ) | const

virtual

## getInverseWorldViewProjMatrix()

virtual Matrix4 Ogre::AutoParamDataSource::getInverseWorldViewProjMatrix | ( |  | ) | const

virtual

## getLight()

const Light& Ogre::AutoParamDataSource::getLight | ( | size_t | index | ) | const

protected

## getLightAs4DVector()

virtual Vector4 Ogre::AutoParamDataSource::getLightAs4DVector | ( | size_t | index | ) | const

virtual

## getLightAttenuation()

virtual Vector4 Ogre::AutoParamDataSource::getLightAttenuation | ( | size_t | index | ) | const

virtual

## getLightCastsShadows()

virtual float Ogre::AutoParamDataSource::getLightCastsShadows | ( | size_t | index | ) | const

virtual

## getLightCount()

virtual float Ogre::AutoParamDataSource::getLightCount | ( |  | ) | const

virtual

## getLightDiffuseColour()

virtual const ColourValue& Ogre::AutoParamDataSource::getLightDiffuseColour | ( | size_t | index | ) | const

virtual

## getLightDiffuseColourWithPower()

virtual const ColourValue Ogre::AutoParamDataSource::getLightDiffuseColourWithPower | ( | size_t | index | ) | const

virtual

## getLightDirection()

virtual const Vector3& Ogre::AutoParamDataSource::getLightDirection | ( | size_t | index | ) | const

virtual

## getLightNumber()

virtual float Ogre::AutoParamDataSource::getLightNumber | ( | size_t | index | ) | const

virtual

Get the light which is 'index'th closest to the current object.

## getLightPosition()

virtual const Vector3& Ogre::AutoParamDataSource::getLightPosition | ( | size_t | index | ) | const

virtual

## getLightPowerScale()

virtual Real Ogre::AutoParamDataSource::getLightPowerScale | ( | size_t | index | ) | const

virtual

## getLightSpecularColour()

virtual const ColourValue& Ogre::AutoParamDataSource::getLightSpecularColour | ( | size_t | index | ) | const

virtual

## getLightSpecularColourWithPower()

virtual const ColourValue Ogre::AutoParamDataSource::getLightSpecularColourWithPower | ( | size_t | index | ) | const

virtual

## getLodCameraPosition()

virtual const Vector4& Ogre::AutoParamDataSource::getLodCameraPosition | ( | void |  | ) | const

virtual

## getLodCameraPositionObjectSpace()

virtual const Vector4& Ogre::AutoParamDataSource::getLodCameraPositionObjectSpace | ( | void |  | ) | const

virtual

## getNearClipDistance()

virtual Real Ogre::AutoParamDataSource::getNearClipDistance | ( |  | ) | const

virtual

## getPackedTextureSize()

virtual Vector4 Ogre::AutoParamDataSource::getPackedTextureSize | ( | size_t | index | ) | const

virtual

## getPassNumber()

virtual int Ogre::AutoParamDataSource::getPassNumber | ( | void |  | ) | const

virtual

## getProjectionMatrix()

virtual const Matrix4& Ogre::AutoParamDataSource::getProjectionMatrix | ( | void |  | ) | const

virtual

## getSceneDepthRange()

virtual const Vector4& Ogre::AutoParamDataSource::getSceneDepthRange | ( |  | ) | const

virtual

## getShadowColour()

virtual const ColourValue& Ogre::AutoParamDataSource::getShadowColour | ( |  | ) | const

virtual

## getShadowExtrusionDistance()

virtual Real Ogre::AutoParamDataSource::getShadowExtrusionDistance | ( | void |  | ) | const

virtual

## getShadowSceneDepthRange()

virtual const Vector4& Ogre::AutoParamDataSource::getShadowSceneDepthRange | ( | size_t | index | ) | const

virtual

## getSinTime_0_1()

virtual Real Ogre::AutoParamDataSource::getSinTime_0_1 | ( | Real | x | ) | const

virtual

## getSinTime_0_2Pi()

virtual Real Ogre::AutoParamDataSource::getSinTime_0_2Pi | ( | Real | x | ) | const

virtual

## getSinTime_0_X()

virtual Real Ogre::AutoParamDataSource::getSinTime_0_X | ( | Real | x | ) | const

virtual

## getSpotlightParams()

virtual Vector4 Ogre::AutoParamDataSource::getSpotlightParams | ( | size_t | index | ) | const

virtual

## getSpotlightViewProjMatrix()

virtual const Matrix4& Ogre::AutoParamDataSource::getSpotlightViewProjMatrix | ( | size_t | index | ) | const

virtual

## getSpotlightWorldViewProjMatrix()

virtual const Matrix4& Ogre::AutoParamDataSource::getSpotlightWorldViewProjMatrix | ( | size_t | index | ) | const

virtual

## getSurfaceAlphaRejectionValue()

virtual Real Ogre::AutoParamDataSource::getSurfaceAlphaRejectionValue | ( | void |  | ) | const

virtual

## getSurfaceAmbientColour()

virtual const ColourValue& Ogre::AutoParamDataSource::getSurfaceAmbientColour | ( | void |  | ) | const

virtual

## getSurfaceDiffuseColour()

virtual const ColourValue& Ogre::AutoParamDataSource::getSurfaceDiffuseColour | ( | void |  | ) | const

virtual

## getSurfaceEmissiveColour()

virtual const ColourValue& Ogre::AutoParamDataSource::getSurfaceEmissiveColour | ( | void |  | ) | const

virtual

## getSurfaceShininess()

virtual Real Ogre::AutoParamDataSource::getSurfaceShininess | ( | void |  | ) | const

virtual

## getSurfaceSpecularColour()

virtual const ColourValue& Ogre::AutoParamDataSource::getSurfaceSpecularColour | ( | void |  | ) | const

virtual

## getTanTime_0_1()

virtual Real Ogre::AutoParamDataSource::getTanTime_0_1 | ( | Real | x | ) | const

virtual

## getTanTime_0_2Pi()

virtual Real Ogre::AutoParamDataSource::getTanTime_0_2Pi | ( | Real | x | ) | const

virtual

## getTanTime_0_X()

virtual Real Ogre::AutoParamDataSource::getTanTime_0_X | ( | Real | x | ) | const

virtual

## getTextureSize()

virtual Vector4 Ogre::AutoParamDataSource::getTextureSize | ( | size_t | index | ) | const

virtual

## getTextureTransformMatrix()

virtual const Matrix4& Ogre::AutoParamDataSource::getTextureTransformMatrix | ( | size_t | index | ) | const

virtual

## getTextureViewProjMatrix()

virtual const Matrix4& Ogre::AutoParamDataSource::getTextureViewProjMatrix | ( | size_t | index | ) | const

virtual

## getTextureWorldViewProjMatrix()

virtual const Matrix4& Ogre::AutoParamDataSource::getTextureWorldViewProjMatrix | ( | size_t | index | ) | const

virtual

## getTime()

virtual Real Ogre::AutoParamDataSource::getTime | ( | void |  | ) | const

virtual

## getTime_0_1()

virtual Real Ogre::AutoParamDataSource::getTime_0_1 | ( | Real | x | ) | const

virtual

## getTime_0_1_packed()

virtual Vector4 Ogre::AutoParamDataSource::getTime_0_1_packed | ( | Real | x | ) | const

virtual

## getTime_0_2Pi()

virtual Real Ogre::AutoParamDataSource::getTime_0_2Pi | ( | Real | x | ) | const

virtual

## getTime_0_2Pi_packed()

virtual Vector4 Ogre::AutoParamDataSource::getTime_0_2Pi_packed | ( | Real | x | ) | const

virtual

## getTime_0_X()

virtual Real Ogre::AutoParamDataSource::getTime_0_X | ( | Real | x | ) | const

virtual

## getTime_0_X_packed()

virtual Vector4 Ogre::AutoParamDataSource::getTime_0_X_packed | ( | Real | x | ) | const

virtual

## getTransposeProjectionMatrix()

virtual Matrix4 Ogre::AutoParamDataSource::getTransposeProjectionMatrix | ( |  | ) | const

virtual

## getTransposeViewMatrix()

virtual Matrix4 Ogre::AutoParamDataSource::getTransposeViewMatrix | ( |  | ) | const

virtual

## getTransposeViewProjMatrix()

virtual Matrix4 Ogre::AutoParamDataSource::getTransposeViewProjMatrix | ( |  | ) | const

virtual

## getTransposeWorldMatrix()

virtual Matrix4 Ogre::AutoParamDataSource::getTransposeWorldMatrix | ( |  | ) | const

virtual

## getTransposeWorldViewMatrix()

virtual Matrix4 Ogre::AutoParamDataSource::getTransposeWorldViewMatrix | ( |  | ) | const

virtual

## getTransposeWorldViewProjMatrix()

virtual Matrix4 Ogre::AutoParamDataSource::getTransposeWorldViewProjMatrix | ( |  | ) | const

virtual

## getViewDirection()

virtual Vector3 Ogre::AutoParamDataSource::getViewDirection | ( |  | ) | const

virtual

## getViewMatrix()

virtual const Matrix4& Ogre::AutoParamDataSource::getViewMatrix | ( | void |  | ) | const

virtual

## getViewportHeight()

virtual Real Ogre::AutoParamDataSource::getViewportHeight | ( |  | ) | const

virtual

## getViewportWidth()

virtual Real Ogre::AutoParamDataSource::getViewportWidth | ( |  | ) | const

virtual

## getViewProjectionMatrix()

virtual const Matrix4& Ogre::AutoParamDataSource::getViewProjectionMatrix | ( | void |  | ) | const

virtual

## getViewSideVector()

virtual Vector3 Ogre::AutoParamDataSource::getViewSideVector | ( |  | ) | const

virtual

## getViewUpVector()

virtual Vector3 Ogre::AutoParamDataSource::getViewUpVector | ( |  | ) | const

virtual

## getWorldMatrix()

virtual const Matrix4& Ogre::AutoParamDataSource::getWorldMatrix | ( | void |  | ) | const

virtual

## getWorldMatrixArray()

virtual const Matrix4* Ogre::AutoParamDataSource::getWorldMatrixArray | ( | void |  | ) | const

virtual

## getWorldMatrixCount()

virtual size_t Ogre::AutoParamDataSource::getWorldMatrixCount | ( | void |  | ) | const

virtual

## getWorldViewMatrix()

virtual const Matrix4& Ogre::AutoParamDataSource::getWorldViewMatrix | ( | void |  | ) | const

virtual

## getWorldViewProjMatrix()

virtual const Matrix4& Ogre::AutoParamDataSource::getWorldViewProjMatrix | ( | void |  | ) | const

virtual

## hasLightList()

virtual bool Ogre::AutoParamDataSource::hasLightList | ( |  | ) | const

virtual

Definition at line 173 of file OgreAutoParamDataSource.h.

## incPassNumber()

virtual void Ogre::AutoParamDataSource::incPassNumber | ( | void |  | ) |

virtual

## operator delete() [1/3]

template<class Alloc >

void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr | ) |

inherited

Definition at line 96 of file OgreMemoryAllocatedObject.h.

## operator delete() [2/3]

template<class Alloc >

void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr,
|  | void * |
| ) |  |

inherited

Definition at line 102 of file OgreMemoryAllocatedObject.h.

## operator delete() [3/3]

template<class Alloc >

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

inherited

Definition at line 108 of file OgreMemoryAllocatedObject.h.

## operator delete[]() [1/2]

template<class Alloc >

void Ogre::AllocatedObject< Alloc >::operator delete[] | ( | void * | ptr | ) |

inherited

Definition at line 113 of file OgreMemoryAllocatedObject.h.

## operator delete[]() [2/2]

template<class Alloc >

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

inherited

Definition at line 119 of file OgreMemoryAllocatedObject.h.

## operator new() [1/3]

template<class Alloc >

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 68 of file OgreMemoryAllocatedObject.h.

## operator new() [2/3]

template<class Alloc >

void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz | ) |

inherited

Definition at line 73 of file OgreMemoryAllocatedObject.h.

## operator new() [3/3]

template<class Alloc >

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

inherited

placement operator new

Definition at line 79 of file OgreMemoryAllocatedObject.h.

## operator new[]() [1/2]

template<class Alloc >

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 86 of file OgreMemoryAllocatedObject.h.

## operator new[]() [2/2]

template<class Alloc >

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

inherited

Definition at line 91 of file OgreMemoryAllocatedObject.h.

## setAmbientLightColour()

virtual void Ogre::AutoParamDataSource::setAmbientLightColour | ( | const ColourValue & | ambient | ) |

virtual

## setCurrentCamera()

virtual void Ogre::AutoParamDataSource::setCurrentCamera | ( | const Camera * | cam,
|  | bool | useCameraRelative
| ) |  |

virtual

Updates the current camera.

## setCurrentLightList()

virtual void Ogre::AutoParamDataSource::setCurrentLightList | ( | const LightList * | ll | ) |

virtual

Sets the light list that should be used, and it's base index from the global list.

## setCurrentPass()

virtual void Ogre::AutoParamDataSource::setCurrentPass | ( | const Pass * | pass | ) |

virtual

Sets the current pass.

## setCurrentRenderable()

virtual void Ogre::AutoParamDataSource::setCurrentRenderable | ( | const Renderable * | rend | ) |

virtual

Updates the current renderable.

## setCurrentRenderTarget()

virtual void Ogre::AutoParamDataSource::setCurrentRenderTarget | ( | const RenderTarget * | target | ) |

virtual

Sets the current render target.

## setCurrentSceneManager()

virtual void Ogre::AutoParamDataSource::setCurrentSceneManager | ( | const SceneManager * | sm | ) |

virtual

Set the current scene manager for enquiring on demand.

## setCurrentViewport()

virtual void Ogre::AutoParamDataSource::setCurrentViewport | ( | const Viewport * | viewport | ) |

virtual

Sets the current viewport.

## setFog()

virtual void Ogre::AutoParamDataSource::setFog | ( | FogMode | mode,
|  | const ColourValue & | colour,
|  | Real | expDensity,
|  | Real | linearStart,
|  | Real | linearEnd
| ) |  |

virtual

## setMainCamBoundsInfo()

virtual void Ogre::AutoParamDataSource::setMainCamBoundsInfo | ( | VisibleObjectsBoundsInfo * | info | ) |

virtual

Sets the main camera's scene bounding information.

## setPassNumber()

virtual void Ogre::AutoParamDataSource::setPassNumber | ( | const int | passNumber | ) |

virtual

## setShadowDirLightExtrusionDistance()

virtual void Ogre::AutoParamDataSource::setShadowDirLightExtrusionDistance | ( | Real | dist | ) |

virtual

Sets the shadow extrusion distance to be used for point lights.

## setTextureProjector()

virtual void Ogre::AutoParamDataSource::setTextureProjector | ( | const Frustum * | frust,
|  | size_t | index
| ) |  |

virtual

Sets the current texture projector for a index.

## setWorldMatrices()

virtual void Ogre::AutoParamDataSource::setWorldMatrices | ( | const Matrix4 * | m,
|  | size_t | count
| ) |  |

virtual

Sets the world matrices, avoid query from renderable again.

## updateLightCustomGpuParameter()

virtual void Ogre::AutoParamDataSource::updateLightCustomGpuParameter | ( | const GpuProgramParameters::AutoConstantEntry & | constantEntry,
|  | GpuProgramParameters * | params
| ) |  | const

virtual

## Member Data Documentation

## mAmbientLight

ColourValue Ogre::AutoParamDataSource::mAmbientLight

mutable protected

Definition at line 106 of file OgreAutoParamDataSource.h.

## mBlankLight

Light Ogre::AutoParamDataSource::mBlankLight

protected

Definition at line 127 of file OgreAutoParamDataSource.h.

## mCameraPosition

Vector4 Ogre::AutoParamDataSource::mCameraPosition

mutable protected

Definition at line 75 of file OgreAutoParamDataSource.h.

## mCameraPositionDirty

bool Ogre::AutoParamDataSource::mCameraPositionDirty

mutable protected

Definition at line 99 of file OgreAutoParamDataSource.h.

## mCameraPositionObjectSpace

Vector4 Ogre::AutoParamDataSource::mCameraPositionObjectSpace

mutable protected

Definition at line 76 of file OgreAutoParamDataSource.h.

## mCameraPositionObjectSpaceDirty

bool Ogre::AutoParamDataSource::mCameraPositionObjectSpaceDirty

mutable protected

Definition at line 100 of file OgreAutoParamDataSource.h.

## mCameraRelativePosition

Vector3 Ogre::AutoParamDataSource::mCameraRelativePosition

protected

Definition at line 118 of file OgreAutoParamDataSource.h.

## mCameraRelativeRendering

bool Ogre::AutoParamDataSource::mCameraRelativeRendering

protected

Definition at line 117 of file OgreAutoParamDataSource.h.

## mCurrentCamera

const Camera* Ogre::AutoParamDataSource::mCurrentCamera

protected

Definition at line 116 of file OgreAutoParamDataSource.h.

## mCurrentLightList

const LightList* Ogre::AutoParamDataSource::mCurrentLightList

protected

Definition at line 119 of file OgreAutoParamDataSource.h.

## mCurrentPass

const Pass* Ogre::AutoParamDataSource::mCurrentPass

protected

Definition at line 125 of file OgreAutoParamDataSource.h.

## mCurrentRenderable

const Renderable* Ogre::AutoParamDataSource::mCurrentRenderable

protected

Definition at line 115 of file OgreAutoParamDataSource.h.

## mCurrentRenderTarget

const RenderTarget* Ogre::AutoParamDataSource::mCurrentRenderTarget

protected

Definition at line 121 of file OgreAutoParamDataSource.h.

## mCurrentSceneManager

const SceneManager* Ogre::AutoParamDataSource::mCurrentSceneManager

protected

Definition at line 123 of file OgreAutoParamDataSource.h.

## mCurrentTextureProjector

const Frustum* Ogre::AutoParamDataSource::mCurrentTextureProjector[OGRE_MAX_SIMULTANEOUS_LIGHTS]

protected

Definition at line 120 of file OgreAutoParamDataSource.h.

## mCurrentViewport

const Viewport* Ogre::AutoParamDataSource::mCurrentViewport

protected

Definition at line 122 of file OgreAutoParamDataSource.h.

## mDirLightExtrusionDistance

Real Ogre::AutoParamDataSource::mDirLightExtrusionDistance

mutable protected

Definition at line 84 of file OgreAutoParamDataSource.h.

## mFogColour

ColourValue Ogre::AutoParamDataSource::mFogColour

mutable protected

Definition at line 107 of file OgreAutoParamDataSource.h.

## mFogParams

Vector4 Ogre::AutoParamDataSource::mFogParams

mutable protected

Definition at line 108 of file OgreAutoParamDataSource.h.

## mInverseTransposeWorldMatrix

Matrix4 Ogre::AutoParamDataSource::mInverseTransposeWorldMatrix

mutable protected

Definition at line 73 of file OgreAutoParamDataSource.h.

## mInverseTransposeWorldMatrixDirty

bool Ogre::AutoParamDataSource::mInverseTransposeWorldMatrixDirty

mutable protected

Definition at line 97 of file OgreAutoParamDataSource.h.

## mInverseTransposeWorldViewMatrix

Matrix4 Ogre::AutoParamDataSource::mInverseTransposeWorldViewMatrix

mutable protected

Definition at line 74 of file OgreAutoParamDataSource.h.

## mInverseTransposeWorldViewMatrixDirty

bool Ogre::AutoParamDataSource::mInverseTransposeWorldViewMatrixDirty

mutable protected

Definition at line 98 of file OgreAutoParamDataSource.h.

## mInverseViewMatrix

Matrix4 Ogre::AutoParamDataSource::mInverseViewMatrix

mutable protected

Definition at line 72 of file OgreAutoParamDataSource.h.

## mInverseViewMatrixDirty

bool Ogre::AutoParamDataSource::mInverseViewMatrixDirty

mutable protected

Definition at line 96 of file OgreAutoParamDataSource.h.

## mInverseWorldMatrix

Matrix4 Ogre::AutoParamDataSource::mInverseWorldMatrix

mutable protected

Definition at line 70 of file OgreAutoParamDataSource.h.

## mInverseWorldMatrixDirty

bool Ogre::AutoParamDataSource::mInverseWorldMatrixDirty

mutable protected

Definition at line 94 of file OgreAutoParamDataSource.h.

## mInverseWorldViewMatrix

Matrix4 Ogre::AutoParamDataSource::mInverseWorldViewMatrix

mutable protected

Definition at line 71 of file OgreAutoParamDataSource.h.

## mInverseWorldViewMatrixDirty

bool Ogre::AutoParamDataSource::mInverseWorldViewMatrixDirty

mutable protected

Definition at line 95 of file OgreAutoParamDataSource.h.

## mLodCameraPosition

Vector4 Ogre::AutoParamDataSource::mLodCameraPosition

mutable protected

Definition at line 85 of file OgreAutoParamDataSource.h.

## mLodCameraPositionDirty

bool Ogre::AutoParamDataSource::mLodCameraPositionDirty

mutable protected

Definition at line 112 of file OgreAutoParamDataSource.h.

## mLodCameraPositionObjectSpace

Vector4 Ogre::AutoParamDataSource::mLodCameraPositionObjectSpace

mutable protected

Definition at line 86 of file OgreAutoParamDataSource.h.

## mLodCameraPositionObjectSpaceDirty

bool Ogre::AutoParamDataSource::mLodCameraPositionObjectSpaceDirty

mutable protected

Definition at line 113 of file OgreAutoParamDataSource.h.

## mMainCamBoundsInfo

const VisibleObjectsBoundsInfo* Ogre::AutoParamDataSource::mMainCamBoundsInfo

protected

Definition at line 124 of file OgreAutoParamDataSource.h.

## mPassNumber

int Ogre::AutoParamDataSource::mPassNumber

mutable protected

Definition at line 109 of file OgreAutoParamDataSource.h.

## mProjectionMatrix

Matrix4 Ogre::AutoParamDataSource::mProjectionMatrix

mutable protected

Definition at line 83 of file OgreAutoParamDataSource.h.

## mProjMatrixDirty

bool Ogre::AutoParamDataSource::mProjMatrixDirty

mutable protected

Definition at line 90 of file OgreAutoParamDataSource.h.

## mSceneDepthRange

Vector4 Ogre::AutoParamDataSource::mSceneDepthRange

mutable protected

Definition at line 110 of file OgreAutoParamDataSource.h.

## mSceneDepthRangeDirty

bool Ogre::AutoParamDataSource::mSceneDepthRangeDirty

mutable protected

Definition at line 111 of file OgreAutoParamDataSource.h.

## mShadowCamDepthRanges

Vector4 Ogre::AutoParamDataSource::mShadowCamDepthRanges[OGRE_MAX_SIMULTANEOUS_LIGHTS]

mutable protected

Definition at line 81 of file OgreAutoParamDataSource.h.

## mShadowCamDepthRangesDirty

bool Ogre::AutoParamDataSource::mShadowCamDepthRangesDirty[OGRE_MAX_SIMULTANEOUS_LIGHTS]

mutable protected

Definition at line 105 of file OgreAutoParamDataSource.h.

## mSpotlightViewProjMatrix

Matrix4 Ogre::AutoParamDataSource::mSpotlightViewProjMatrix[OGRE_MAX_SIMULTANEOUS_LIGHTS]

mutable protected

Definition at line 79 of file OgreAutoParamDataSource.h.

## mSpotlightViewProjMatrixDirty

bool Ogre::AutoParamDataSource::mSpotlightViewProjMatrixDirty[OGRE_MAX_SIMULTANEOUS_LIGHTS]

mutable protected

Definition at line 103 of file OgreAutoParamDataSource.h.

## mSpotlightWorldViewProjMatrix

Matrix4 Ogre::AutoParamDataSource::mSpotlightWorldViewProjMatrix[OGRE_MAX_SIMULTANEOUS_LIGHTS]

mutable protected

Definition at line 80 of file OgreAutoParamDataSource.h.

## mSpotlightWorldViewProjMatrixDirty

bool Ogre::AutoParamDataSource::mSpotlightWorldViewProjMatrixDirty[OGRE_MAX_SIMULTANEOUS_LIGHTS]

mutable protected

Definition at line 104 of file OgreAutoParamDataSource.h.

## mTextureViewProjMatrix

Matrix4 Ogre::AutoParamDataSource::mTextureViewProjMatrix[OGRE_MAX_SIMULTANEOUS_LIGHTS]

mutable protected

Definition at line 77 of file OgreAutoParamDataSource.h.

## mTextureViewProjMatrixDirty

bool Ogre::AutoParamDataSource::mTextureViewProjMatrixDirty[OGRE_MAX_SIMULTANEOUS_LIGHTS]

mutable protected

Definition at line 101 of file OgreAutoParamDataSource.h.

## mTextureWorldViewProjMatrix

Matrix4 Ogre::AutoParamDataSource::mTextureWorldViewProjMatrix[OGRE_MAX_SIMULTANEOUS_LIGHTS]

mutable protected

Definition at line 78 of file OgreAutoParamDataSource.h.

## mTextureWorldViewProjMatrixDirty

bool Ogre::AutoParamDataSource::mTextureWorldViewProjMatrixDirty[OGRE_MAX_SIMULTANEOUS_LIGHTS]

mutable protected

Definition at line 102 of file OgreAutoParamDataSource.h.

## mViewMatrix

Matrix4 Ogre::AutoParamDataSource::mViewMatrix

mutable protected

Definition at line 82 of file OgreAutoParamDataSource.h.

## mViewMatrixDirty

bool Ogre::AutoParamDataSource::mViewMatrixDirty

mutable protected

Definition at line 89 of file OgreAutoParamDataSource.h.

## mViewProjMatrix

Matrix4 Ogre::AutoParamDataSource::mViewProjMatrix

mutable protected

Definition at line 68 of file OgreAutoParamDataSource.h.

## mViewProjMatrixDirty

bool Ogre::AutoParamDataSource::mViewProjMatrixDirty

mutable protected

Definition at line 92 of file OgreAutoParamDataSource.h.

## mWorldMatrix

Matrix4 Ogre::AutoParamDataSource::mWorldMatrix[256]

mutable protected

Definition at line 64 of file OgreAutoParamDataSource.h.

## mWorldMatrixArray

const Matrix4* Ogre::AutoParamDataSource::mWorldMatrixArray

mutable protected

Definition at line 66 of file OgreAutoParamDataSource.h.

## mWorldMatrixCount

size_t Ogre::AutoParamDataSource::mWorldMatrixCount

mutable protected

Definition at line 65 of file OgreAutoParamDataSource.h.

## mWorldMatrixDirty

bool Ogre::AutoParamDataSource::mWorldMatrixDirty

mutable protected

Definition at line 88 of file OgreAutoParamDataSource.h.

## mWorldViewMatrix

Matrix4 Ogre::AutoParamDataSource::mWorldViewMatrix

mutable protected

Definition at line 67 of file OgreAutoParamDataSource.h.

## mWorldViewMatrixDirty

bool Ogre::AutoParamDataSource::mWorldViewMatrixDirty

mutable protected

Definition at line 91 of file OgreAutoParamDataSource.h.

## mWorldViewProjMatrix

Matrix4 Ogre::AutoParamDataSource::mWorldViewProjMatrix

mutable protected

Definition at line 69 of file OgreAutoParamDataSource.h.

## mWorldViewProjMatrixDirty

bool Ogre::AutoParamDataSource::mWorldViewProjMatrixDirty

mutable protected

Definition at line 93 of file OgreAutoParamDataSource.h.

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

- OgreAutoParamDataSource.h

Copyright © 2012 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.