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.
TressFXSample Class Reference

Inherits FrameworkWindows.

Public Member Functions

 TressFXSample (LPCSTR name)
 
void LoadScene (TressFXSceneDescription &desc)
 
void DrawHairShadows ()
 
void OnCreate (HWND hWnd)
 
void OnDestroy ()
 
void OnRender ()
 
bool OnEvent (MSG msg)
 
void OnResize (uint32_t Width, uint32_t Height)
 
void RecreateSizeDependentResources ()
 
void SetFullScreen (bool fullscreen)
 
void DrawHair ()
 
void Simulate (double fTime, bool bUpdateCollMesh, bool bSDFCollisionResponse, bool bAsyncCompute)
 
void WaitSimulateDone ()
 
void SetSDFCollisionMargin (float collisionMargin)
 
void UpdateSimulationParameters ()
 
void UpdateRenderingParameters ()
 
void UpdateRenderShadowParameters (AMD::float4 &CameraPos)
 
void ToggleShortCut ()
 
void DrawCollisionMesh ()
 
void DrawSDFGrid ()
 
void DrawSDF ()
 
void GenerateMarchingCubes ()
 
void SetSDFIsoLevel (float isoLevel)
 
void LoadScene (int sceneNumber)
 
int GetNumTressFXObjects ()
 

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