Open 3D Engine AtomTressFX Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
TressFXHairObject Class Reference

Inherits TressFXNonCopyable.

Public Member Functions

 TressFXHairObject (TressFXAsset *asset, EI_Device *pDevice, EI_CommandContext &commandContext, const char *name, int RenderIndex)
 
void UpdateBoneMatrices (const AMD::float4x4 *pBoneMatricesInWS, int numBoneMatrices)
 
void UpdateConstantBuffer (EI_CommandContext &commandContext)
 
void UpdateCapsuleCollisions ()
 
void UpdateSimulationParameters (const TressFXSimulationSettings *parameters, float timeStep)
 
void UpdateRenderingParameters (const TressFXRenderingSettings *parameters, const int NodePoolSize, float timeStep, float Distance, bool ShadowUpdate=false)
 
void ResetPositions ()
 
void DrawStrands (EI_CommandContext &commandContext, EI_PSO &pso, EI_BindSet **extraBindSets=nullptr, uint32_t numExtraBindSets=0)
 
TressFXDynamicStateGetDynamicState ()
 
int GetNumTotalHairVertices () const
 
int GetNumTotalHairStrands () const
 
int GetNumVerticesPerStrand () const
 
int GetCPULocalShapeIterations () const
 
int GetNumFollowHairsPerGuideHair () const
 
EI_BindSetGetRenderLayoutBindSet () const
 
int GetNumTotalHairVertices ()
 
int GetNumTotalHairStrands ()
 
int GetNumVerticesPerStrand ()
 
EI_BindSetGetSimBindSet ()
 
void UpdatePerObjectRenderParams (EI_CommandContext &commandContext)
 
void IncreaseSimulationFrame ()
 
void PopulateDrawStrandsBindSet (EI_Device *pDevice, TressFXRenderingSettings *pRenderSettings=nullptr)
 

The documentation for this class was generated from the following file: