Allocate memory aligned to a specific value
void* SDL_aligned_alloc(size_t alignment, size_t size);SDL_MALLOC
|alignment||the alignment requested|
|size||the size to allocate|
Returns a pointer to the aligned memory
alignment is less than the size of
void *, then it will be increased to match that.
The returned memory address will be a multiple of the alignment value, and the amount of memory allocated will be a multiple of the alignment value.
The memory returned by this function must be freed with SDL_aligned_free()
This function is available since SDL 3.0.0.