#include <OgreEntity.h>
Inheritance diagram for Ogre::Entity::EntityShadowRenderable:
Public Member Functions | |
EntityShadowRenderable (Entity *parent, HardwareIndexBufferSharedPtr *indexBuffer, const VertexData *vertexData, bool createSeparateLightCap, SubEntity *subent, bool isLightCap=false) | |
~EntityShadowRenderable () | |
void | getWorldTransforms (Matrix4 *xform) const |
Overridden from ShadowRenderable. | |
const Quaternion & | getWorldOrientation (void) const |
Overridden from ShadowRenderable. | |
const Vector3 & | getWorldPosition (void) const |
Overridden from ShadowRenderable. | |
HardwareVertexBufferSharedPtr | getPositionBuffer (void) |
HardwareVertexBufferSharedPtr | getWBuffer (void) |
void | rebindPositionBuffer (const VertexData *vertexData, bool force) |
Rebind the source positions (for temp buffer users). | |
bool | isVisible (void) const |
Overridden from 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. | |
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 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 | |
Entity * | mParent |
HardwareVertexBufferSharedPtr | mPositionBuffer |
HardwareVertexBufferSharedPtr | mWBuffer |
const VertexData * | mCurrentVertexData |
unsigned short | mOriginalPosBufferBinding |
SubEntity * | mSubEntity |
Link to SubEntity, only present if SubEntity has it's own geometry. | |
MaterialPtr | mMaterial |
RenderOperation | mRenderOp |
ShadowRenderable * | mLightCap |
CustomParameterMap | mCustomParameters |
bool | mPolygonModeOverrideable |
Static Protected Attributes | |
const PlaneList | msDummyPlaneList |
Definition at line 252 of file OgreEntity.h.
|
Definition at line 247 of file OgreRenderable.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. |
|
Definition at line 279 of file OgreEntity.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. |
|
Definition at line 280 of file OgreEntity.h. |
|
Overridden from ShadowRenderable.
Implements Ogre::ShadowRenderable. |
|
Overridden from ShadowRenderable.
Implements Ogre::ShadowRenderable. |
|
Overridden from ShadowRenderable.
Implements Ogre::ShadowRenderable. |
|
Does this renderable require a separate light cap?
Definition at line 82 of file OgreShadowCaster.h. |
|
Overridden from ShadowRenderable.
Reimplemented from Ogre::ShadowRenderable. |
|
Rebind the source positions (for temp buffer users).
|
|
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 261 of file OgreEntity.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 263 of file OgreEntity.h. |
|
Definition at line 255 of file OgreEntity.h. |
|
Definition at line 249 of file OgreRenderable.h. |
|
Definition at line 257 of file OgreEntity.h. |
|
Definition at line 47 of file OgreShadowCaster.h. |
|
Definition at line 246 of file OgreRenderable.h. |
|
Link to SubEntity, only present if SubEntity has it's own geometry.
Definition at line 265 of file OgreEntity.h. |
|
Definition at line 259 of file OgreEntity.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:38:47 2006