love-typescript-definitions
Version:
Write LÖVE 2D projects with TypeScript
15 lines (14 loc) • 359 B
TypeScript
declare module "love.graphics" {
/**
* Graphics features that can be checked for with love.graphics.getSupported.
* @link [GraphicsFeature](https://love2d.org/wiki/GraphicsFeature)
*/
type GraphicsFeature =
| "clampzero"
| "lighten"
| "multicanvasformats"
| "glsl3"
| "instancing"
| "fullnpot"
| "pixelshaderhighp";
}