Texture.width

Wraps SDL_QueryTexture which gets the width of the dsdl2.Texture in pixels

class Texture
const @property @trusted
uint
width
()

Return Value

Type: uint

width of the dsdl2.Texture in pixels

Throws

dsdl2.SDLException if failed to query the information

Meta