Function SDL_HasLSX

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

Determine whether the CPU has LSX (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 LSX 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.