21 lines
411 B
TypeScript
21 lines
411 B
TypeScript
![]() |
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"
|
||
|
]
|
||
|
|
||
|
|
||
|
}
|