Function sdl2_sys::SDL_HasLSX

source ·
pub unsafe extern "C" fn SDL_HasLSX() -> SDL_bool
Expand description

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

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

\returns SDL_TRUE if the CPU has LOONGARCH LSX features or SDL_FALSE if not.

\since This function is available since SDL 2.24.0.