library-ts/browser/text/lexer/library/GodotShader.ts

21 lines
411 B
TypeScript
Raw Normal View History

2025-03-08 08:16:54 +00:00
export class GodotShader
{
public static readonly token ="gdshader";
public static readonly keywords:string[] =
[
"shader_type","uniform","void",
"sampler2D","vec4","vec3","vec2","float","void"
]
public static readonly keywords2:string[] =
[
"canvas_item","spatial",
"hint_screen_texture",
"repeat_disable",
"filter_linear_mipmap",
"COLOR","UV","ALBEDO"
]
}