Skip to main content

Function: canRenderFloatTextures()

canRenderFloatTextures(): boolean

Whether float (32-bit) textures can be linearly sampled, based on the probed capability profile (OES_texture_float_linear draw + readback). Historically this was a user-agent iOS check; environments where the probe cannot run (no WebGL context, e.g. unit tests, or WebGL1-only browsers -- the texture probes require WebGL2) keep the legacy user-agent behavior so data-preparation code paths stay deterministic there.

Returns

boolean

Defined in

packages/core/src/init.ts:313