|
virtual | ~SubEntity () |
| Destructor.
|
|
bool | _getBuffersMarkedForAnimation (void) const |
| Are buffers already marked as vertex animated?
|
|
VertexData * | _getHardwareVertexAnimVertexData (void) |
| Advanced method to get the hardware morph vertex information.
|
|
TempBlendedBufferInfo * | _getSkelAnimTempBufferInfo (void) |
| Advanced method to get the temp buffer information for software skeletal animation.
|
|
VertexData * | _getSkelAnimVertexData (void) |
| Advanced method to get the temporarily blended vertex information for entities which are software skinned.
|
|
VertexData * | _getSoftwareVertexAnimVertexData (void) |
| Advanced method to get the temporarily blended software morph vertex information.
|
|
TempBlendedBufferInfo * | _getVertexAnimTempBufferInfo (void) |
| Advanced method to get the temp buffer information for software morph animation.
|
|
const TempBlendedBufferInfo * | _getVertexAnimTempBufferInfo (void) const |
|
void | _markBuffersUnusedForAnimation (void) |
| Mark all vertex data as so far unanimated.
|
|
void | _markBuffersUsedForAnimation (void) |
| Mark all vertex data as animated.
|
|
void | _restoreBuffersForUnusedAnimation (bool hardwareAnimation) |
| Internal method to copy original vertex data to the morph structures should there be no active animation in use.
|
|
virtual void | _setHlmsHashes (uint32 hash, uint32 casterHash) |
| Manually sets the hlms hashes. Don't call this directly.
|
|
virtual void | _setNullDatablock (void) |
| Sets the datablock to a null pointer.
|
|
void | _updateCustomGpuParameter (const GpuProgramParameters::AutoConstantEntry &constantEntry, GpuProgramParameters *params) const |
| Overridden from Renderable to provide some custom behaviour.
|
|
void | addPoseWeight (size_t index, float w) |
|
bool | getCastsShadows (void) const |
| Method which reports whether this renderable would normally cast a shadow.
|
|
uint8 | getCurrentMaterialLod (void) const |
|
const Vector4 & | getCustomParameter (size_t index) const |
| Gets the custom value associated with this Renderable at the given index.
|
|
const CustomParameterMap & | getCustomParameters (void) const |
|
HlmsDatablock * | getDatablock (void) const |
|
uint32 | getHlmsCasterHash (void) const |
|
uint32 | getHlmsHash (void) const |
|
size_t | getIndexDataEndIndex () const |
| Returns the current value of the start index used for drawing.
|
|
size_t | getIndexDataStartIndex () const |
| Returns the current value of the start index used for drawing.
|
|
const LightList & | getLights (void) const |
| Gets a list of lights, ordered relative to how close they are to this renderable.
|
|
MaterialPtr | getMaterial (void) const |
| Retrieves the material this renderable object uses.
|
|
unsigned short | getNumPoses (void) const |
|
unsigned short | getNumWorldTransforms (void) const |
| Overridden - see Renderable.
|
|
Entity * | getParent (void) const |
| Accessor to get parent Entity.
|
|
virtual bool | getPolygonModeOverrideable (void) const |
| Gets whether this renderable's chosen detail level can be overridden (downgraded) by the camera setting.
|
|
bool | getPoseHalfPrecision () const |
|
bool | getPoseNormals () const |
|
TexBufferPacked * | getPoseTexBuffer () const |
|
float | getPoseWeight (size_t index) const |
|
float * | getPoseWeights () const |
|
void | getRenderOperation (RenderOperation &op, bool casterPass) |
| Overridden - see Renderable.
|
|
uint8 | getRenderQueueSubGroup (void) const |
|
Real | getSquaredViewDepth (const Camera *cam) const |
| Overridden, see Renderable.
|
|
SubMesh * | getSubMesh (void) const |
| Accessor method to read mesh data.
|
|
bool | getUseIdentityProjection (void) const |
| Returns whether or not to use an 'identity' projection.
|
|
bool | getUseIdentityView (void) const |
| Returns whether or not to use an 'identity' view.
|
|
virtual bool | getUseIdentityViewProjMatrixIsDynamic (void) const |
| Returns whether the Hlms implementation should evaluate getUseIdentityProjection per object at runtime, or if it can assume the Renderable will remain with the same setting until the datablock is flushed (performance optimization)
|
|
virtual bool | getUseIdentityWorldMatrix (void) const |
| Returns whether the world matrix is an identity matrix.
|
|
virtual OGRE_DEPRECATED const Any & | getUserAny (void) const |
|
UserObjectBindings & | getUserObjectBindings () |
| Return an instance of user objects binding associated with this class.
|
|
const UserObjectBindings & | getUserObjectBindings () const |
| Return an instance of user objects binding associated with this class.
|
|
const VertexArrayObjectArray & | getVaos (VertexPass vertexPass) const |
|
VertexData * | getVertexDataForBinding (bool casterPass) |
| Retrieve the VertexData which should be used for GPU binding.
|
|
void | getWorldTransforms (Matrix4 *xform) const |
| Overridden - see Renderable.
|
|
bool | hasCustomParameter (size_t index) const |
| Checks whether a custom value is associated with this Renderable at the given index.
|
|
bool | hasSkeletonAnimation (void) const |
|
void | operator delete (void *ptr) |
|
void | operator delete (void *ptr, const char *, int, const char *) |
|
void | operator delete (void *ptr, void *) |
|
void | operator delete[] (void *ptr) |
|
void | operator delete[] (void *ptr, const char *, int, const char *) |
|
void * | operator new (size_t sz) |
|
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 *ptr) |
| placement operator new
|
|
void * | operator new[] (size_t sz) |
|
void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
| array operator new, with debug line info
|
|
virtual void | postRender (SceneManager *sm, RenderSystem *rsys) |
| Called immediately after the Renderable has been rendered.
|
|
virtual bool | preRender (SceneManager *sm, RenderSystem *rsys) |
| Called just prior to the Renderable being rendered.
|
|
void | removeCustomParameter (size_t index) |
| Removes a custom value which is associated with this Renderable at the given index.
|
|
void | resetIndexDataStartEndIndex () |
| Reset the custom start/end index to the default values.
|
|
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.
|
|
virtual void | setDatablock (HlmsDatablock *datablock) |
| Make every setDatablock method from Renderable available.
|
|
virtual void | setDatablock (HlmsDatablock *datablock) |
| Assigns a datablock (i.e. HLMS Material) to this renderable.
|
|
void | setDatablock (IdString datablockName) |
| Make every setDatablock method from Renderable available.
|
|
void | setDatablockOrMaterialName (String materialName, String groupName) |
| First tries to see if an HLMS datablock exist with the given name, if not, tries to search among low level materials.
|
|
void | setIndexDataEndIndex (size_t end_index) |
| Tells this SubEntity to draw a subset of the SubMesh by adjusting the index buffer extents.
|
|
void | setIndexDataStartIndex (size_t start_index) |
| Tells this SubEntity to draw a subset of the SubMesh by adjusting the index buffer extents.
|
|
virtual void | setMaterial (const MaterialPtr &material) |
| Sets a Material to be used.
|
|
void | setMaterialName (const String &name, const String &groupName) |
| Sets the name of the Material to be used. Prefer using HLMS @See setHlms.
|
|
virtual void | setPolygonModeOverrideable (bool override) |
| Sets whether this renderable's chosen detail level can be overridden (downgraded) by the camera setting.
|
|
void | setPoseWeight (size_t index, float w) |
|
void | setRenderQueueSubGroup (uint8 subGroup) |
| Sets the render queue sub group.
|
|
void | setUseIdentityProjection (bool useIdentityProjection) |
| Sets whether or not to use an 'identity' projection.
|
|
void | setUseIdentityView (bool useIdentityView) |
| Sets whether or not to use an 'identity' view.
|
|
virtual OGRE_DEPRECATED void | setUserAny (const Any &anything) |
|
Utility class which defines the sub-parts of an Entity.
- The SubEntity also allows the application some flexibility in the material properties for this section of a particular instance of this Mesh, e.g. tinting the windows on a car model.
- SubEntity instances are never created manually. They are created at the same time as their parent Entity by the SceneManager method createEntity.