Remove some obsolete autocomplete keywords - closes #18

This commit is contained in:
ChaoticByte 2024-12-29 21:07:12 +01:00
parent 5b939a3d20
commit 7f1415dada
No known key found for this signature in database

View file

@ -76,7 +76,7 @@ const gdshader_builtin_functions = [
"radians", "degrees", "radians", "degrees",
"sin", "cos", "tan", "asin", "acos", "atan", "sinh", "cosh", "tanh", "sin", "cos", "tan", "asin", "acos", "atan", "sinh", "cosh", "tanh",
"asinh", "acosh", "atanh", "asinh", "acosh", "atanh",
"pow", "exp", "log", "exp2", "log2", "sqrt", "inversesqrt", "pow", "exp", "exp2", "log", "log2", "sqrt", "inversesqrt",
"abs", "sign", "floor", "trunc", "round", "roundEven", "ceil", "fract", "abs", "sign", "floor", "trunc", "round", "roundEven", "ceil", "fract",
"mod", "modf", "min", "max", "clamp", "mod", "modf", "min", "max", "clamp",
"mix", "step", "smoothstep", "mix", "step", "smoothstep",
@ -112,18 +112,14 @@ const gdshader_builtins = [
"UV", "UV",
"COLOR", "COLOR",
"POINT_SIZE", "POINT_SIZE",
"MODEL_MATRIX", "CANVAS_MATRIX", "SCREEN_MATRIX",
"INSTANCE_CUSTOM", "INSTANCE_ID",
"VERTEX_ID",
"AT_LIGHT_PASS", "AT_LIGHT_PASS",
"TEXTURE_PIXEL_SIZE", "TEXTURE_PIXEL_SIZE",
"CUSTOM0", "CUSTOM1",
"SHADOW_VERTEX", "LIGHT_VERTEX", "SHADOW_VERTEX", "LIGHT_VERTEX",
"FRAGCOORD", "FRAGCOORD",
"NORMAL", "NORMAL_MAP", "NORMAL_MAP_DEPTH", "NORMAL", "NORMAL_MAP", "NORMAL_MAP_DEPTH",
"TEXTURE", "NORMAL_TEXTURE", "TEXTURE",
"SCREEN_UV", "SCREEN_PIXEL_SIZE",
"POINT_COORD", "POINT_COORD",
"SPECULAR_SHININESS"
] ]
# #
# configure Highlighter # configure Highlighter