chickadee » sdl2 » texture-format

texture-format textureprocedure

Get the sdl2:texture's pixel format, as a pixel format enum symbol. This is equivalent to (nth-value 0 (query-texture texture)), but more convenient and efficient.

Requires sdl2 egg 0.2.0 or higher.