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