| SDL_HasLASX(3) | SDL3 FUNCTIONS | SDL_HasLASX(3) |
SDL_HasLASX - Determine whether the CPU has LASX (LOONGARCH SIMD) features.
Defined in SDL3/SDL_cpuinfo.h
#include "SDL3/SDL.h"
bool SDL_HasLASX(void);
This always returns false on CPUs that aren't using LOONGARCH instruction sets.
Returns true if the CPU has LOONGARCH LASX features or false if not.
It is safe to call this function from any thread.
This function is available since SDL 3.2.0.
| SDL 3.2.10 | Simple Directmedia Layer |