chickadee » sdl2 » texture-w

texture-w textureprocedure

Get the sdl2:texture's width, as a nonnegative integer measured in pixels. This is equivalent to (nth-value 2 (query-texture texture)), but more convenient and efficient.

Requires sdl2 egg 0.2.0 or higher.