Skip to content

image

FreeBodyEngine.graphics.image #

Image(texture) #

Backend-agnostic wrapper around a Texture that exposes its pixel data as a plain image, rather than as something sampled by a shader.

Stores the texture this Image wraps.

texture = texture instance-attribute #

get_data() #

Returns this image's raw pixel data.