This commit is contained in:
Ray 2024-09-15 13:03:38 +02:00
commit 329b2df4f2
4 changed files with 45 additions and 45 deletions

View File

@ -8780,6 +8780,25 @@
}
]
},
{
"name": "ColorLerp",
"description": "Get color lerp interpolation between two colors, factor [0.0f..1.0f]",
"returnType": "Color",
"params": [
{
"type": "Color",
"name": "color1"
},
{
"type": "Color",
"name": "color2"
},
{
"type": "float",
"name": "factor"
}
]
},
{
"name": "GetColor",
"description": "Get Color structure from hexadecimal value",
@ -8844,25 +8863,6 @@
}
]
},
{
"name": "ColorLerp",
"description": "Mix 2 Colors Together",
"returnType": "Color",
"params": [
{
"type": "Color",
"name": "color1"
},
{
"type": "Color",
"name": "color2"
},
{
"type": "float",
"name": "d"
}
]
},
{
"name": "GetFontDefault",
"description": "Get the default Font",

View File

@ -6377,6 +6377,16 @@ return {
{type = "Color", name = "tint"}
}
},
{
name = "ColorLerp",
description = "Get color lerp interpolation between two colors, factor [0.0f..1.0f]",
returnType = "Color",
params = {
{type = "Color", name = "color1"},
{type = "Color", name = "color2"},
{type = "float", name = "factor"}
}
},
{
name = "GetColor",
description = "Get Color structure from hexadecimal value",
@ -6414,16 +6424,6 @@ return {
{type = "int", name = "format"}
}
},
{
name = "ColorLerp",
description = "Mix 2 Colors Together",
returnType = "Color",
params = {
{type = "Color", name = "color1"},
{type = "Color", name = "color2"},
{type = "float", name = "d"}
}
},
{
name = "GetFontDefault",
description = "Get the default Font",

View File

@ -3368,38 +3368,38 @@ Function 380: ColorAlphaBlend() (3 input parameters)
Param[1]: dst (type: Color)
Param[2]: src (type: Color)
Param[3]: tint (type: Color)
Function 381: GetColor() (1 input parameters)
Function 381: ColorLerp() (3 input parameters)
Name: ColorLerp
Return type: Color
Description: Get color lerp interpolation between two colors, factor [0.0f..1.0f]
Param[1]: color1 (type: Color)
Param[2]: color2 (type: Color)
Param[3]: factor (type: float)
Function 382: GetColor() (1 input parameters)
Name: GetColor
Return type: Color
Description: Get Color structure from hexadecimal value
Param[1]: hexValue (type: unsigned int)
Function 382: GetPixelColor() (2 input parameters)
Function 383: GetPixelColor() (2 input parameters)
Name: GetPixelColor
Return type: Color
Description: Get Color from a source pixel pointer of certain format
Param[1]: srcPtr (type: void *)
Param[2]: format (type: int)
Function 383: SetPixelColor() (3 input parameters)
Function 384: SetPixelColor() (3 input parameters)
Name: SetPixelColor
Return type: void
Description: Set color formatted into destination pixel pointer
Param[1]: dstPtr (type: void *)
Param[2]: color (type: Color)
Param[3]: format (type: int)
Function 384: GetPixelDataSize() (3 input parameters)
Function 385: GetPixelDataSize() (3 input parameters)
Name: GetPixelDataSize
Return type: int
Description: Get pixel data size in bytes for certain format
Param[1]: width (type: int)
Param[2]: height (type: int)
Param[3]: format (type: int)
Function 385: ColorLerp() (3 input parameters)
Name: ColorLerp
Return type: Color
Description: Mix 2 Colors Together
Param[1]: color1 (type: Color)
Param[2]: color2 (type: Color)
Param[3]: d (type: float)
Function 386: GetFontDefault() (0 input parameters)
Name: GetFontDefault
Return type: Font

View File

@ -2219,6 +2219,11 @@
<Param type="Color" name="src" desc="" />
<Param type="Color" name="tint" desc="" />
</Function>
<Function name="ColorLerp" retType="Color" paramCount="3" desc="Get color lerp interpolation between two colors, factor [0.0f..1.0f]">
<Param type="Color" name="color1" desc="" />
<Param type="Color" name="color2" desc="" />
<Param type="float" name="factor" desc="" />
</Function>
<Function name="GetColor" retType="Color" paramCount="1" desc="Get Color structure from hexadecimal value">
<Param type="unsigned int" name="hexValue" desc="" />
</Function>
@ -2236,11 +2241,6 @@
<Param type="int" name="height" desc="" />
<Param type="int" name="format" desc="" />
</Function>
<Function name="ColorLerp" retType="Color" paramCount="3" desc="Mix 2 Colors Together">
<Param type="Color" name="color1" desc="" />
<Param type="Color" name="color2" desc="" />
<Param type="float" name="d" desc="" />
</Function>
<Function name="GetFontDefault" retType="Font" paramCount="0" desc="Get the default Font">
</Function>
<Function name="LoadFont" retType="Font" paramCount="1" desc="Load font from file into GPU memory (VRAM)">