#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. | |
| void | setMaterialName (const String &name) |
| update the material name in use | |
| void | set32BitIndices (bool n32) |
| Set whether we need 32-bit indices. | |
| bool | get32BitIndices () const |
| Get whether we need 32-bit indices. | |
| const MaterialPtr & | getMaterial (void) const |
| |
| void | getRenderOperation (RenderOperation &op) |
| . | |
| void | getWorldTransforms (Matrix4 *xform) 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 bool | preRender (SceneManager *sm, RenderSystem *rsys) |
| Called just prior to the Renderable being rendered. | |
| virtual void | postRender (SceneManager *sm, RenderSystem *rsys) |
| Called immediately after the Renderable has been rendered. | |
| virtual unsigned short | getNumWorldTransforms (void) const |
| Returns the number of world transform matrices this renderable requires. | |
| void | setUseIdentityProjection (bool useIdentityProjection) |
| Sets whether or not to use an 'identity' projection. | |
| bool | getUseIdentityProjection (void) const |
| Returns whether or not to use an 'identity' projection. | |
| void | setUseIdentityView (bool useIdentityView) |
| Sets whether or not to use an 'identity' view. | |
| bool | getUseIdentityView (void) const |
| Returns whether or not to use an 'identity' view. | |
| virtual Real | getSquaredViewDepth (const Camera *cam) const =0 |
| Returns the camera-relative squared depth of this renderable. | |
| 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. | |
| virtual void | setUserAny (const Any &anything) |
| Sets any kind of user value on this object. | |
| virtual const Any & | getUserAny (void) const |
| Retrieves the custom user value associated with this object. | |
| virtual RenderSystemData * | getRenderSystemData () const |
| Sets render system private data. | |
| virtual void | setRenderSystemData (RenderSystemData *val) const |
| gets render system private data | |
| AllocatedObject () | |
| void * | operator new (size_t sz, const char *file, int line, const char *func) |
| operator new, with debug line info | |
| void * | operator new (size_t sz) |
| void * | operator new (size_t sz, void *ptr) |
| placement operator new | |
| void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
| array operator new, with debug line info | |
| void * | operator new[] (size_t sz) |
| 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 *) |
Protected Types | |
| typedef std::map< size_t, Vector4 > | CustomParameterMap |
Protected Attributes | |
| ManualObject * | mParent |
| String | mMaterialName |
| MaterialPtr | mMaterial |
| RenderOperation | mRenderOperation |
| bool | m32BitIndices |
| CustomParameterMap | mCustomParameters |
| bool | mPolygonModeOverrideable |
| bool | mUseIdentityProjection |
| bool | mUseIdentityView |
| Any | mUserAny |
| RenderSystemData * | mRenderSystemData |
Definition at line 380 of file OgreManualObject.h.
|
|
Definition at line 371 of file OgreRenderable.h. |
|
||||||||||||||||
|
|
|
|
|
|
||||||||||||
|
Update a custom GpuProgramParameters constant which is derived from information only this Renderable knows.
Reimplemented in Ogre::SubEntity. Definition at line 279 of file OgreRenderable.h. References Ogre::GpuProgramParameters::_writeRawConstant(), Ogre::GpuProgramParameters::AutoConstantEntry::data, Ogre::GpuProgramParameters::AutoConstantEntry::elementCount, and Ogre::GpuProgramParameters::AutoConstantEntry::physicalIndex. |
|
|
Definition at line 55 of file OgreMemoryAllocatedObject.h. |
|
|
Get whether we need 32-bit indices.
Definition at line 404 of file OgreManualObject.h. |
|
|
Method which reports whether this renderable would normally cast a shadow.
Reimplemented in Ogre::InstancedGeometry::GeometryBucket, Ogre::StaticGeometry::GeometryBucket, and Ogre::SubEntity. Definition at line 214 of file OgreRenderable.h. |
|
|
Gets the custom value associated with this Renderable at the given index.
Definition at line 240 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 398 of file OgreManualObject.h. |
|
|
Returns the number of world transform matrices this renderable requires.
Reimplemented in Ogre::BorderRenderable, Ogre::InstancedGeometry::GeometryBucket, and Ogre::SubEntity. Definition at line 143 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 304 of file OgreRenderable.h. |
|
|
.
Implements Ogre::Renderable. |
|
|
Retrieve render operation for manipulation.
|
|
|
Sets render system private data.
Definition at line 356 of file OgreRenderable.h. |
|
|
Returns the camera-relative squared depth of this renderable.
Implemented in Ogre::BillboardChain, Ogre::BillboardSet, Ogre::BorderRenderable, Ogre::Frustum, Ogre::InstancedGeometry::GeometryBucket, Ogre::Node, Ogre::OverlayElement, Ogre::Rectangle2D, Ogre::ShadowRenderable, Ogre::StaticGeometry::GeometryBucket, Ogre::SubEntity, and Ogre::WireBoundingBox. 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::InstancedGeometry::GeometryBucket, Ogre::StaticGeometry::GeometryBucket, and Ogre::SubEntity. Definition at line 87 of file OgreRenderable.h. |
|
|
Returns whether or not to use an 'identity' projection.
Definition at line 168 of file OgreRenderable.h. |
|
|
Returns whether or not to use an 'identity' view.
Definition at line 193 of file OgreRenderable.h. |
|
|
Retrieves the custom user value associated with this object.
Definition at line 319 of file OgreRenderable.h. |
|
|
Implements Ogre::Renderable. |
|
||||||||||||||||||||
|
Definition at line 101 of file OgreMemoryAllocatedObject.h. |
|
||||||||||||
|
Definition at line 95 of file OgreMemoryAllocatedObject.h. |
|
|
Definition at line 89 of file OgreMemoryAllocatedObject.h. |
|
||||||||||||||||||||
|
Definition at line 112 of file OgreMemoryAllocatedObject.h. |
|
|
Definition at line 106 of file OgreMemoryAllocatedObject.h. |
|
||||||||||||
|
placement operator new
Definition at line 73 of file OgreMemoryAllocatedObject.h. |
|
|
Definition at line 67 of file OgreMemoryAllocatedObject.h. |
|
||||||||||||||||||||
|
operator new, with debug line info
Definition at line 62 of file OgreMemoryAllocatedObject.h. |
|
|
Definition at line 84 of file OgreMemoryAllocatedObject.h. |
|
||||||||||||||||||||
|
array operator new, with debug line info
Definition at line 79 of file OgreMemoryAllocatedObject.h. |
|
||||||||||||
|
Called immediately after the Renderable has been rendered.
Definition at line 119 of file OgreRenderable.h. |
|
||||||||||||
|
Called just prior to the Renderable being rendered.
Definition at line 116 of file OgreRenderable.h. |
|
|
Set whether we need 32-bit indices.
Definition at line 402 of file OgreManualObject.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 231 of file OgreRenderable.h. |
|
|
update the material name in use
|
|
|
Sets whether this renderable's chosen detail level can be overridden (downgraded) by the camera setting.
Definition at line 296 of file OgreRenderable.h. |
|
|
gets render system private data
Definition at line 364 of file OgreRenderable.h. |
|
|
Sets whether or not to use an 'identity' projection.
Definition at line 154 of file OgreRenderable.h. |
|
|
Sets whether or not to use an 'identity' view.
Definition at line 179 of file OgreRenderable.h. |
|
|
Sets any kind of user value on this object.
Definition at line 315 of file OgreRenderable.h. |
|
|
Definition at line 387 of file OgreManualObject.h. |
|
|
Definition at line 372 of file OgreRenderable.h. |
|
|
Definition at line 385 of file OgreManualObject.h. |
|
|
Definition at line 384 of file OgreManualObject.h. |
|
|
Definition at line 383 of file OgreManualObject.h. |
|
|
Definition at line 373 of file OgreRenderable.h. |
|
|
Definition at line 386 of file OgreManualObject.h. |
|
|
Definition at line 377 of file OgreRenderable.h. |
|
|
Definition at line 374 of file OgreRenderable.h. |
|
|
Definition at line 375 of file OgreRenderable.h. |
|
|
Definition at line 376 of file OgreRenderable.h. |
Copyright © 2008 Torus Knot Software Ltd

This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sat Apr 11 13:48:59 2009