Function SDL_FOURCC
pub const fn SDL_FOURCC(A: u8, B: u8, C: u8, D: u8) -> u32 ⓘ
Available on crate feature
dep_sdl3
only.Expand description
Define a four character code as a Uint32.
§Parameters
A
: the first ASCII character.B
: the second ASCII character.C
: the third ASCII character.D
: the fourth ASCII character.
§Return value
Returns the four characters converted into a Uint32, one character per-byte.
§Thread safety
It is safe to call this macro from any thread.
§Availability
This macro is available since SDL 3.2.0.