Texture.pixelFormat

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

class Texture
const @property @trusted
pixelFormat
()

Return Value

Type: const(PixelFormat)

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

Throws

dsdl2.SDLException if failed to query the information

Meta