#include <OgreManualObject.h>
Inheritance diagram for Ogre::ManualObject::ManualObjectSection:
Public Member Functions | |
ManualObjectSection (ManualObject *parent, const String &materialName, RenderOperation::OperationType opType) | |
virtual | ~ManualObjectSection () |
RenderOperation * | getRenderOperation (void) |
Retrieve render operation for manipulation. | |
const String & | getMaterialName (void) const |
Retrieve the material name in use. | |
const MaterialPtr & | getMaterial (void) const |
| |
void | getRenderOperation (RenderOperation &op) |
. | |
void | getWorldTransforms (Matrix4 *xform) const |
| |
const Quaternion & | getWorldOrientation (void) const |
. | |
const Vector3 & | getWorldPosition (void) const |
. | |
Real | getSquaredViewDepth (const Ogre::Camera *) const |
| |
const LightList & | getLights (void) const |
| |
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 Real | getSquaredViewDepth (const Camera *cam) const =0 |
Returns the camera-relative squared depth of this renderable. | |
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 | |
ManualObject * | mParent |
String | mMaterialName |
MaterialPtr | mMaterial |
RenderOperation | mRenderOperation |
CustomParameterMap | mCustomParameters |
bool | mPolygonModeOverrideable |
Static Protected Attributes | |
static const PlaneList | msDummyPlaneList |
Definition at line 245 of file OgreManualObject.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. |
|
Gets the custom value associated with this Renderable at the given index.
Definition at line 176 of file OgreRenderable.h. References Ogre::Exception::ERR_ITEM_NOT_FOUND, and OGRE_EXCEPT. |
|
Implements Ogre::Renderable. |
|
Implements Ogre::Renderable. |
|
Retrieve the material name in use.
Definition at line 261 of file OgreManualObject.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. |
|
.
Implements Ogre::Renderable. |
|
Retrieve render operation for manipulation.
|
|
Returns the camera-relative squared depth of this renderable.
Implemented in Ogre::BillboardChain, Ogre::BillboardSet, Ogre::BorderRenderable, Ogre::Frustum, Ogre::Node, Ogre::OverlayElement, Ogre::Rectangle2D, Ogre::ShadowRenderable, Ogre::StaticGeometry::GeometryBucket, Ogre::SubEntity, Ogre::WireBoundingBox, and Ogre::TerrainRenderable. Referenced by Ogre::QueuedRenderableCollection::RadixSortFunctorDistance::operator()(), and Ogre::QueuedRenderableCollection::DepthSortDescendingLess::operator()(). |
|
|
|
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. |
|
.
Implements Ogre::Renderable. |
|
.
Implements Ogre::Renderable. |
|
Implements Ogre::Renderable. |
|
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. |
|
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 250 of file OgreManualObject.h. |
|
Definition at line 249 of file OgreManualObject.h. |
|
Definition at line 248 of file OgreManualObject.h. |
|
Definition at line 249 of file OgreRenderable.h. |
|
Definition at line 251 of file OgreManualObject.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 Nov 12 10:51:16 2006