Function Texture.pixelFormat

Wraps SDL_QueryTexture which gets the dsdl.PixelFormat of the dsdl.Texture

const(PixelFormat) pixelFormat() @property @trusted const;

Returns

const proxy to the dsdl.PixelFormat of the dsdl.Texture

Throws

dsdl.SDLException if failed to query the information