Constant SDL_CACHELINE_SIZE

pub const SDL_CACHELINE_SIZE: i32 = 128;
Available on crate feature dep_sdl3 only.
Expand description

A guess for the cacheline size used for padding.

Most x86 processors have a 64 byte cache line. The 64-bit PowerPC processors have a 128 byte cache line. We use the larger value to be generally safe.

§Availability

This macro is available since SDL 3.2.0.