#include <SoftSkinManager.h>
Inherits EMotionFX::BaseObject.
Public Member Functions | |
SoftSkinDeformer * | CreateDeformer (Mesh *mesh) |
Public Member Functions inherited from EMotionFX::BaseObject | |
BaseObject () | |
virtual | ~BaseObject () |
Public Member Functions inherited from MCore::MemoryObject | |
MemoryObject () | |
virtual | ~MemoryObject () |
void | IncreaseReferenceCount () |
void | DecreaseReferenceCount () |
void | Destroy () |
uint32 | GetReferenceCount () const |
Static Public Member Functions | |
static SoftSkinManager * | Create () |
Additional Inherited Members | |
Protected Member Functions inherited from EMotionFX::BaseObject | |
void | Delete () override |
virtual void | Delete () |
The softskin manager. This manager allows to create optimized softskin deformers, which will run as fast as possible on the hardware of the user. In other words, specialised version of softskin deformers can be created using this class. For example: if the hardware supports SSE, an SSE optimized softskin deformer will be returned, instead of the normal C++ version.
|
static |
The constructor. When constructed, the class checks if SSE is available on the hardware.
SoftSkinDeformer * EMotionFX::SoftSkinManager::CreateDeformer | ( | Mesh * | mesh | ) |
Creates the softskin deformer, by looking at the hardware capabilities. If SSE is present, an SSE optimized softskinner will be returned, otherwise a normal C++ version.
mesh | The mesh that will be deformed. |