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.

This procedure is available in sdl2 egg version 0.2.0 and higher.