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>
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 |
This utility class is used to hold the information used to generate the matrices and other information required to automatically populate GpuProgramParameters.
Definition at line 60 of file OgreAutoParamDataSource.h.
Ogre::AutoParamDataSource::AutoParamDataSource | ( | ) |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
protected |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Get the light which is 'index'th closest to the current object.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
inlinevirtual |
Definition at line 173 of file OgreAutoParamDataSource.h.
|
virtual |
|
inlineinherited |
Definition at line 96 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
Definition at line 102 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
Definition at line 108 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
Definition at line 113 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
Definition at line 119 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
operator new, with debug line info
Definition at line 68 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
Definition at line 73 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
placement operator new
Definition at line 79 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
array operator new, with debug line info
Definition at line 86 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
Definition at line 91 of file OgreMemoryAllocatedObject.h.
|
virtual |
|
virtual |
Updates the current camera.
|
virtual |
Sets the light list that should be used, and it's base index from the global list.
|
virtual |
Sets the current pass.
|
virtual |
Updates the current renderable.
|
virtual |
Sets the current render target.
|
virtual |
Set the current scene manager for enquiring on demand.
|
virtual |
Sets the current viewport.
|
virtual |
|
virtual |
Sets the main camera's scene bounding information.
|
virtual |
|
virtual |
Sets the shadow extrusion distance to be used for point lights.
|
virtual |
Sets the current texture projector for a index.
|
virtual |
Sets the world matrices, avoid query from renderable again.
|
virtual |
|
mutableprotected |
Definition at line 106 of file OgreAutoParamDataSource.h.
|
protected |
Definition at line 127 of file OgreAutoParamDataSource.h.
|
mutableprotected |
Definition at line 75 of file OgreAutoParamDataSource.h.
|
mutableprotected |
Definition at line 99 of file OgreAutoParamDataSource.h.
|
mutableprotected |
Definition at line 76 of file OgreAutoParamDataSource.h.
|
mutableprotected |
Definition at line 100 of file OgreAutoParamDataSource.h.
|
protected |
Definition at line 118 of file OgreAutoParamDataSource.h.
|
protected |
Definition at line 117 of file OgreAutoParamDataSource.h.
|
protected |
Definition at line 116 of file OgreAutoParamDataSource.h.
|
protected |
Definition at line 119 of file OgreAutoParamDataSource.h.
|
protected |
Definition at line 125 of file OgreAutoParamDataSource.h.
|
protected |
Definition at line 115 of file OgreAutoParamDataSource.h.
|
protected |
Definition at line 121 of file OgreAutoParamDataSource.h.
|
protected |
Definition at line 123 of file OgreAutoParamDataSource.h.
|
protected |
Definition at line 120 of file OgreAutoParamDataSource.h.
|
protected |
Definition at line 122 of file OgreAutoParamDataSource.h.
|
mutableprotected |
Definition at line 84 of file OgreAutoParamDataSource.h.
|
mutableprotected |
Definition at line 107 of file OgreAutoParamDataSource.h.
|
mutableprotected |
Definition at line 108 of file OgreAutoParamDataSource.h.
|
mutableprotected |
Definition at line 73 of file OgreAutoParamDataSource.h.
|
mutableprotected |
Definition at line 97 of file OgreAutoParamDataSource.h.
|
mutableprotected |
Definition at line 74 of file OgreAutoParamDataSource.h.
|
mutableprotected |
Definition at line 98 of file OgreAutoParamDataSource.h.
|
mutableprotected |
Definition at line 72 of file OgreAutoParamDataSource.h.
|
mutableprotected |
Definition at line 96 of file OgreAutoParamDataSource.h.
|
mutableprotected |
Definition at line 70 of file OgreAutoParamDataSource.h.
|
mutableprotected |
Definition at line 94 of file OgreAutoParamDataSource.h.
|
mutableprotected |
Definition at line 71 of file OgreAutoParamDataSource.h.
|
mutableprotected |
Definition at line 95 of file OgreAutoParamDataSource.h.
|
mutableprotected |
Definition at line 85 of file OgreAutoParamDataSource.h.
|
mutableprotected |
Definition at line 112 of file OgreAutoParamDataSource.h.
|
mutableprotected |
Definition at line 86 of file OgreAutoParamDataSource.h.
|
mutableprotected |
Definition at line 113 of file OgreAutoParamDataSource.h.
|
protected |
Definition at line 124 of file OgreAutoParamDataSource.h.
|
mutableprotected |
Definition at line 109 of file OgreAutoParamDataSource.h.
|
mutableprotected |
Definition at line 83 of file OgreAutoParamDataSource.h.
|
mutableprotected |
Definition at line 90 of file OgreAutoParamDataSource.h.
|
mutableprotected |
Definition at line 110 of file OgreAutoParamDataSource.h.
|
mutableprotected |
Definition at line 111 of file OgreAutoParamDataSource.h.
|
mutableprotected |
Definition at line 81 of file OgreAutoParamDataSource.h.
|
mutableprotected |
Definition at line 105 of file OgreAutoParamDataSource.h.
|
mutableprotected |
Definition at line 79 of file OgreAutoParamDataSource.h.
|
mutableprotected |
Definition at line 103 of file OgreAutoParamDataSource.h.
|
mutableprotected |
Definition at line 80 of file OgreAutoParamDataSource.h.
|
mutableprotected |
Definition at line 104 of file OgreAutoParamDataSource.h.
|
mutableprotected |
Definition at line 77 of file OgreAutoParamDataSource.h.
|
mutableprotected |
Definition at line 101 of file OgreAutoParamDataSource.h.
|
mutableprotected |
Definition at line 78 of file OgreAutoParamDataSource.h.
|
mutableprotected |
Definition at line 102 of file OgreAutoParamDataSource.h.
|
mutableprotected |
Definition at line 82 of file OgreAutoParamDataSource.h.
|
mutableprotected |
Definition at line 89 of file OgreAutoParamDataSource.h.
|
mutableprotected |
Definition at line 68 of file OgreAutoParamDataSource.h.
|
mutableprotected |
Definition at line 92 of file OgreAutoParamDataSource.h.
|
mutableprotected |
Definition at line 64 of file OgreAutoParamDataSource.h.
|
mutableprotected |
Definition at line 66 of file OgreAutoParamDataSource.h.
|
mutableprotected |
Definition at line 65 of file OgreAutoParamDataSource.h.
|
mutableprotected |
Definition at line 88 of file OgreAutoParamDataSource.h.
|
mutableprotected |
Definition at line 67 of file OgreAutoParamDataSource.h.
|
mutableprotected |
Definition at line 91 of file OgreAutoParamDataSource.h.
|
mutableprotected |
Definition at line 69 of file OgreAutoParamDataSource.h.
|
mutableprotected |
Definition at line 93 of file OgreAutoParamDataSource.h.