Module d2d.sdl2.Texture

Texture

Classes

NameDescription
Texture Textures are a rectangular collection of pixels Textures are fast and can be drawn using a renderer Textures can be created from a more easily edited surface Textures are handled in hardware as opposed to surfaces which are handled in software When used repeatedly and stored, textures should be preferred, but surfaces should be used when flexibility is desired