#include <OgreShadowCaster.h>
Inheritance diagram for Ogre::ShadowRenderable:
Public Member Functions | |
ShadowRenderable () | |
virtual | ~ShadowRenderable () |
void | setMaterial (MaterialPtr &mat) |
Set the material to be used by the shadow, should be set by the caller before adding to a render queue. | |
const MaterialPtr & | getMaterial (void) const |
Overridden from Renderable. | |
void | getRenderOperation (RenderOperation &op) |
Overridden from Renderable. | |
RenderOperation * | getRenderOperationForUpdate (void) |
Get the internal render operation for set up. | |
void | getWorldTransforms (Matrix4 *xform) const=0 |
Overridden from Renderable. | |
const Quaternion & | getWorldOrientation (void) const=0 |
Overridden from Renderable. | |
const Vector3 & | getWorldPosition (void) const=0 |
Overridden from Renderable. | |
Real | getSquaredViewDepth (const Camera *cam) const |
Overridden from Renderable. | |
const LightList & | getLights (void) const |
Overridden from Renderable. | |
bool | isLightCapSeparate (void) const |
Does this renderable require a separate light cap? | |
ShadowRenderable * | getLightCapRenderable (void) |
Get the light cap version of this renderable. | |
virtual bool | isVisible (void) const |
Should this ShadowRenderable be treated as visible? | |
virtual Technique * | getTechnique (void) const |
Retrieves a pointer to the Material Technique this renderable object uses. | |
virtual unsigned short | getNumWorldTransforms (void) const |
Returns the number of world transform matrices this renderable requires. | |
virtual bool | useIdentityProjection (void) const |
Returns whether or not to use an 'identity' projection. | |
virtual bool | useIdentityView (void) const |
Returns whether or not to use an 'identity' projection. | |
virtual bool | getNormaliseNormals (void) const |
Returns whether or not this Renderable wishes the hardware to normalise normals. | |
virtual const PlaneList & | getClipPlanes () const |
virtual bool | getCastsShadows (void) const |
Method which reports whether this renderable would normally cast a shadow. | |
void | setCustomParameter (size_t index, const Vector4 &value) |
Sets a custom parameter for this Renderable, which may be used to drive calculations for this specific Renderable, like GPU program parameters. | |
const Vector4 & | getCustomParameter (size_t index) const |
Gets the custom value associated with this Renderable at the given index. | |
virtual void | _updateCustomGpuParameter (const GpuProgramParameters::AutoConstantEntry &constantEntry, GpuProgramParameters *params) const |
Update a custom GpuProgramParameters constant which is derived from information only this Renderable knows. | |
virtual void | setPolygonModeOverrideable (bool override) |
Sets whether this renderable's chosen detail level can be overridden (downgraded) by the camera setting. | |
virtual bool | getPolygonModeOverrideable (void) const |
Gets whether this renderable's chosen detail level can be overridden (downgraded) by the camera setting. | |
Protected Types | |
typedef std::map< size_t, Vector4 > | CustomParameterMap |
Protected Attributes | |
MaterialPtr | mMaterial |
RenderOperation | mRenderOp |
ShadowRenderable * | mLightCap |
CustomParameterMap | mCustomParameters |
bool | mPolygonModeOverrideable |
Static Protected Attributes | |
const PlaneList | msDummyPlaneList |
Definition at line 43 of file OgreShadowCaster.h.
|
Definition at line 247 of file OgreRenderable.h. |
|
Definition at line 50 of file OgreShadowCaster.h. |
|
Definition at line 51 of file OgreShadowCaster.h. |
|
Update a custom GpuProgramParameters constant which is derived from information only this Renderable knows.
Reimplemented in Ogre::SubEntity, and Ogre::TerrainRenderable. Definition at line 215 of file OgreRenderable.h. References Ogre::GpuProgramParameters::AutoConstantEntry::data, Ogre::GpuProgramParameters::AutoConstantEntry::index, and Ogre::GpuProgramParameters::setConstant(). |
|
Method which reports whether this renderable would normally cast a shadow.
Reimplemented in Ogre::StaticGeometry::GeometryBucket, and Ogre::SubEntity. Definition at line 150 of file OgreRenderable.h. |
|
Definition at line 142 of file OgreRenderable.h. References Ogre::PlaneList. |
|
Gets the custom value associated with this Renderable at the given index.
Definition at line 176 of file OgreRenderable.h. References OGRE_EXCEPT. |
|
Get the light cap version of this renderable.
Definition at line 85 of file OgreShadowCaster.h. |
|
Overridden from Renderable.
Implements Ogre::Renderable. |
|
Overridden from Renderable.
Implements Ogre::Renderable. Definition at line 57 of file OgreShadowCaster.h. |
|
Returns whether or not this Renderable wishes the hardware to normalise normals.
Reimplemented in Ogre::SubEntity. Definition at line 134 of file OgreRenderable.h. |
|
Returns the number of world transform matrices this renderable requires.
Reimplemented in Ogre::BorderRenderable, and Ogre::SubEntity. Definition at line 104 of file OgreRenderable.h. |
|
Gets whether this renderable's chosen detail level can be overridden (downgraded) by the camera setting.
Reimplemented in Ogre::BorderRenderable. Definition at line 239 of file OgreRenderable.h. |
|
Overridden from Renderable.
Implements Ogre::Renderable. Definition at line 59 of file OgreShadowCaster.h. |
|
Get the internal render operation for set up.
Definition at line 61 of file OgreShadowCaster.h. |
|
Overridden from Renderable.
Implements Ogre::Renderable. Definition at line 69 of file OgreShadowCaster.h. References Ogre::Real. |
|
Retrieves a pointer to the Material Technique this renderable object uses.
Reimplemented in Ogre::StaticGeometry::GeometryBucket, and Ogre::SubEntity. Definition at line 69 of file OgreRenderable.h. |
|
Overridden from Renderable.
Implements Ogre::Renderable. Implemented in Ogre::Entity::EntityShadowRenderable, Ogre::ManualObject::ManualObjectSectionShadowRenderable, and Ogre::StaticGeometry::Region::RegionShadowRenderable. |
|
Overridden from Renderable.
Implements Ogre::Renderable. Implemented in Ogre::Entity::EntityShadowRenderable, Ogre::ManualObject::ManualObjectSectionShadowRenderable, and Ogre::StaticGeometry::Region::RegionShadowRenderable. |
|
Overridden from Renderable.
Implements Ogre::Renderable. Implemented in Ogre::Entity::EntityShadowRenderable, Ogre::ManualObject::ManualObjectSectionShadowRenderable, and Ogre::StaticGeometry::Region::RegionShadowRenderable. |
|
Does this renderable require a separate light cap?
Definition at line 82 of file OgreShadowCaster.h. |
|
Should this ShadowRenderable be treated as visible?
Reimplemented in Ogre::Entity::EntityShadowRenderable. Definition at line 87 of file OgreShadowCaster.h. |
|
Sets a custom parameter for this Renderable, which may be used to drive calculations for this specific Renderable, like GPU program parameters.
Definition at line 167 of file OgreRenderable.h. |
|
Set the material to be used by the shadow, should be set by the caller before adding to a render queue.
Definition at line 55 of file OgreShadowCaster.h. |
|
Sets whether this renderable's chosen detail level can be overridden (downgraded) by the camera setting.
Definition at line 231 of file OgreRenderable.h. |
|
Returns whether or not to use an 'identity' projection.
Reimplemented in Ogre::BorderRenderable, Ogre::OverlayElement, and Ogre::Rectangle2D. Definition at line 114 of file OgreRenderable.h. |
|
Returns whether or not to use an 'identity' projection.
Reimplemented in Ogre::BorderRenderable, Ogre::OverlayElement, and Ogre::Rectangle2D. Definition at line 124 of file OgreRenderable.h. |
|
Definition at line 248 of file OgreRenderable.h. |
|
Definition at line 48 of file OgreShadowCaster.h. |
|
Definition at line 46 of file OgreShadowCaster.h. |
|
Definition at line 249 of file OgreRenderable.h. |
|
Definition at line 47 of file OgreShadowCaster.h. |
|
Definition at line 246 of file OgreRenderable.h. |
Copyright © 2000-2005 by The OGRE Team
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Mar 12 14:44:06 2006