Documentation / scene / isHairSimulationSupported
Function: isHairSimulationSupported()
isHairSimulationSupported(
device?):boolean
Defined in: libs/scene/src/animation/hair/gpu_hair_simulation.ts:220
Whether GPU hair dynamics can run on a device.
Parameters
device?
AbstractDevice
Device to test, or the current one when omitted.
Returns
boolean
True when the simulation can run.
Remarks
WebGPU only: the solver is a compute pass. Strand rendering carries the same requirement, so there is no configuration where the hair draws but cannot simulate.