UNPKG

love-typescript-definitions

Version:
16 lines (14 loc) 483 B
declare module "love.graphics" { type ImageSettings = { /** * True to make the image use mipmaps, false to disable them. Mipmaps will be automatically generated if the image isn't a compressed texture format. * @default false */ mipmaps?: boolean; /** * True to treat the image's pixels as linear instead of sRGB, when gamma correct rendering is enabled. Most images are authored as sRGB. * @default false */ linear?: boolean; }; }