Function SDL_HasLASX

pub unsafe extern "C" fn SDL_HasLASX() -> bool
Available on crate feature dep_sdl3 only.
Expand description

Determine whether the CPU has LASX (LOONGARCH SIMD) features.

This always returns false on CPUs that aren’t using LOONGARCH instruction sets.

§Return value

Returns true if the CPU has LOONGARCH LASX features or false if not.

§Thread safety

It is safe to call this function from any thread.

§Availability

This function is available since SDL 3.2.0.