Update raylib_api.* by CI
This commit is contained in:
parent
eda239cc97
commit
7c75746b91
4 changed files with 42 additions and 24 deletions
|
@ -335,6 +335,12 @@
|
||||||
"type": "UNKNOWN",
|
"type": "UNKNOWN",
|
||||||
"value": "SHADER_LOC_MAP_METALNESS",
|
"value": "SHADER_LOC_MAP_METALNESS",
|
||||||
"description": ""
|
"description": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "GetMouseRay",
|
||||||
|
"type": "UNKNOWN",
|
||||||
|
"value": "GetScreenToWorldRay",
|
||||||
|
"description": "Compatibility hack for previous raylib versions"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"structs": [
|
"structs": [
|
||||||
|
@ -2223,7 +2229,7 @@
|
||||||
{
|
{
|
||||||
"name": "GAMEPAD_BUTTON_RIGHT_FACE_RIGHT",
|
"name": "GAMEPAD_BUTTON_RIGHT_FACE_RIGHT",
|
||||||
"value": 6,
|
"value": 6,
|
||||||
"description": "Gamepad right button right (i.e. PS3: Square, Xbox: X)"
|
"description": "Gamepad right button right (i.e. PS3: Circle, Xbox: B)"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "GAMEPAD_BUTTON_RIGHT_FACE_DOWN",
|
"name": "GAMEPAD_BUTTON_RIGHT_FACE_DOWN",
|
||||||
|
@ -2233,7 +2239,7 @@
|
||||||
{
|
{
|
||||||
"name": "GAMEPAD_BUTTON_RIGHT_FACE_LEFT",
|
"name": "GAMEPAD_BUTTON_RIGHT_FACE_LEFT",
|
||||||
"value": 8,
|
"value": 8,
|
||||||
"description": "Gamepad right button left (i.e. PS3: Circle, Xbox: B)"
|
"description": "Gamepad right button left (i.e. PS3: Square, Xbox: X)"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "GAMEPAD_BUTTON_LEFT_TRIGGER_1",
|
"name": "GAMEPAD_BUTTON_LEFT_TRIGGER_1",
|
||||||
|
@ -3873,12 +3879,12 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "GetScreenToWorldRay",
|
"name": "GetScreenToWorldRay",
|
||||||
"description": "Get a ray trace from mouse position",
|
"description": "Get a ray trace from screen position (i.e mouse)",
|
||||||
"returnType": "Ray",
|
"returnType": "Ray",
|
||||||
"params": [
|
"params": [
|
||||||
{
|
{
|
||||||
"type": "Vector2",
|
"type": "Vector2",
|
||||||
"name": "mousePosition"
|
"name": "position"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Camera",
|
"type": "Camera",
|
||||||
|
@ -3888,12 +3894,12 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "GetScreenToWorldRayEx",
|
"name": "GetScreenToWorldRayEx",
|
||||||
"description": "Get a ray trace from mouse position in a viewport",
|
"description": "Get a ray trace from screen position (i.e mouse) in a viewport",
|
||||||
"returnType": "Ray",
|
"returnType": "Ray",
|
||||||
"params": [
|
"params": [
|
||||||
{
|
{
|
||||||
"type": "Vector2",
|
"type": "Vector2",
|
||||||
"name": "mousePosition"
|
"name": "position"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Camera",
|
"type": "Camera",
|
||||||
|
|
|
@ -335,6 +335,12 @@ return {
|
||||||
type = "UNKNOWN",
|
type = "UNKNOWN",
|
||||||
value = "SHADER_LOC_MAP_METALNESS",
|
value = "SHADER_LOC_MAP_METALNESS",
|
||||||
description = ""
|
description = ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name = "GetMouseRay",
|
||||||
|
type = "UNKNOWN",
|
||||||
|
value = "GetScreenToWorldRay",
|
||||||
|
description = "Compatibility hack for previous raylib versions"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
structs = {
|
structs = {
|
||||||
|
@ -2223,7 +2229,7 @@ return {
|
||||||
{
|
{
|
||||||
name = "GAMEPAD_BUTTON_RIGHT_FACE_RIGHT",
|
name = "GAMEPAD_BUTTON_RIGHT_FACE_RIGHT",
|
||||||
value = 6,
|
value = 6,
|
||||||
description = "Gamepad right button right (i.e. PS3: Square, Xbox: X)"
|
description = "Gamepad right button right (i.e. PS3: Circle, Xbox: B)"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name = "GAMEPAD_BUTTON_RIGHT_FACE_DOWN",
|
name = "GAMEPAD_BUTTON_RIGHT_FACE_DOWN",
|
||||||
|
@ -2233,7 +2239,7 @@ return {
|
||||||
{
|
{
|
||||||
name = "GAMEPAD_BUTTON_RIGHT_FACE_LEFT",
|
name = "GAMEPAD_BUTTON_RIGHT_FACE_LEFT",
|
||||||
value = 8,
|
value = 8,
|
||||||
description = "Gamepad right button left (i.e. PS3: Circle, Xbox: B)"
|
description = "Gamepad right button left (i.e. PS3: Square, Xbox: X)"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name = "GAMEPAD_BUTTON_LEFT_TRIGGER_1",
|
name = "GAMEPAD_BUTTON_LEFT_TRIGGER_1",
|
||||||
|
@ -3636,19 +3642,19 @@ return {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name = "GetScreenToWorldRay",
|
name = "GetScreenToWorldRay",
|
||||||
description = "Get a ray trace from mouse position",
|
description = "Get a ray trace from screen position (i.e mouse)",
|
||||||
returnType = "Ray",
|
returnType = "Ray",
|
||||||
params = {
|
params = {
|
||||||
{type = "Vector2", name = "mousePosition"},
|
{type = "Vector2", name = "position"},
|
||||||
{type = "Camera", name = "camera"}
|
{type = "Camera", name = "camera"}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name = "GetScreenToWorldRayEx",
|
name = "GetScreenToWorldRayEx",
|
||||||
description = "Get a ray trace from mouse position in a viewport",
|
description = "Get a ray trace from screen position (i.e mouse) in a viewport",
|
||||||
returnType = "Ray",
|
returnType = "Ray",
|
||||||
params = {
|
params = {
|
||||||
{type = "Vector2", name = "mousePosition"},
|
{type = "Vector2", name = "position"},
|
||||||
{type = "Camera", name = "camera"},
|
{type = "Camera", name = "camera"},
|
||||||
{type = "float", name = "width"},
|
{type = "float", name = "width"},
|
||||||
{type = "float", name = "height"}
|
{type = "float", name = "height"}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
Defines found: 56
|
Defines found: 57
|
||||||
|
|
||||||
Define 001: RAYLIB_H
|
Define 001: RAYLIB_H
|
||||||
Name: RAYLIB_H
|
Name: RAYLIB_H
|
||||||
|
@ -281,6 +281,11 @@ Define 056: SHADER_LOC_MAP_SPECULAR
|
||||||
Type: UNKNOWN
|
Type: UNKNOWN
|
||||||
Value: SHADER_LOC_MAP_METALNESS
|
Value: SHADER_LOC_MAP_METALNESS
|
||||||
Description:
|
Description:
|
||||||
|
Define 057: GetMouseRay
|
||||||
|
Name: GetMouseRay
|
||||||
|
Type: UNKNOWN
|
||||||
|
Value: GetScreenToWorldRay
|
||||||
|
Description: Compatibility hack for previous raylib versions
|
||||||
|
|
||||||
Structures found: 34
|
Structures found: 34
|
||||||
|
|
||||||
|
@ -1424,14 +1429,14 @@ Function 083: UnloadShader() (1 input parameters)
|
||||||
Function 084: GetScreenToWorldRay() (2 input parameters)
|
Function 084: GetScreenToWorldRay() (2 input parameters)
|
||||||
Name: GetScreenToWorldRay
|
Name: GetScreenToWorldRay
|
||||||
Return type: Ray
|
Return type: Ray
|
||||||
Description: Get a ray trace from mouse position
|
Description: Get a ray trace from screen position (i.e mouse)
|
||||||
Param[1]: mousePosition (type: Vector2)
|
Param[1]: position (type: Vector2)
|
||||||
Param[2]: camera (type: Camera)
|
Param[2]: camera (type: Camera)
|
||||||
Function 085: GetScreenToWorldRayEx() (4 input parameters)
|
Function 085: GetScreenToWorldRayEx() (4 input parameters)
|
||||||
Name: GetScreenToWorldRayEx
|
Name: GetScreenToWorldRayEx
|
||||||
Return type: Ray
|
Return type: Ray
|
||||||
Description: Get a ray trace from mouse position in a viewport
|
Description: Get a ray trace from screen position (i.e mouse) in a viewport
|
||||||
Param[1]: mousePosition (type: Vector2)
|
Param[1]: position (type: Vector2)
|
||||||
Param[2]: camera (type: Camera)
|
Param[2]: camera (type: Camera)
|
||||||
Param[3]: width (type: float)
|
Param[3]: width (type: float)
|
||||||
Param[4]: height (type: float)
|
Param[4]: height (type: float)
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?xml version="1.0" encoding="Windows-1252" ?>
|
<?xml version="1.0" encoding="Windows-1252" ?>
|
||||||
<raylibAPI>
|
<raylibAPI>
|
||||||
<Defines count="56">
|
<Defines count="57">
|
||||||
<Define name="RAYLIB_H" type="GUARD" value="" desc="" />
|
<Define name="RAYLIB_H" type="GUARD" value="" desc="" />
|
||||||
<Define name="RAYLIB_VERSION_MAJOR" type="INT" value="5" desc="" />
|
<Define name="RAYLIB_VERSION_MAJOR" type="INT" value="5" desc="" />
|
||||||
<Define name="RAYLIB_VERSION_MINOR" type="INT" value="1" desc="" />
|
<Define name="RAYLIB_VERSION_MINOR" type="INT" value="1" desc="" />
|
||||||
|
@ -57,6 +57,7 @@
|
||||||
<Define name="MATERIAL_MAP_SPECULAR" type="UNKNOWN" value="MATERIAL_MAP_METALNESS" desc="" />
|
<Define name="MATERIAL_MAP_SPECULAR" type="UNKNOWN" value="MATERIAL_MAP_METALNESS" desc="" />
|
||||||
<Define name="SHADER_LOC_MAP_DIFFUSE" type="UNKNOWN" value="SHADER_LOC_MAP_ALBEDO" desc="" />
|
<Define name="SHADER_LOC_MAP_DIFFUSE" type="UNKNOWN" value="SHADER_LOC_MAP_ALBEDO" desc="" />
|
||||||
<Define name="SHADER_LOC_MAP_SPECULAR" type="UNKNOWN" value="SHADER_LOC_MAP_METALNESS" desc="" />
|
<Define name="SHADER_LOC_MAP_SPECULAR" type="UNKNOWN" value="SHADER_LOC_MAP_METALNESS" desc="" />
|
||||||
|
<Define name="GetMouseRay" type="UNKNOWN" value="GetScreenToWorldRay" desc="Compatibility hack for previous raylib versions" />
|
||||||
</Defines>
|
</Defines>
|
||||||
<Structs count="34">
|
<Structs count="34">
|
||||||
<Struct name="Vector2" fieldCount="2" desc="Vector2, 2 components">
|
<Struct name="Vector2" fieldCount="2" desc="Vector2, 2 components">
|
||||||
|
@ -470,9 +471,9 @@
|
||||||
<Value name="GAMEPAD_BUTTON_LEFT_FACE_DOWN" integer="3" desc="Gamepad left DPAD down button" />
|
<Value name="GAMEPAD_BUTTON_LEFT_FACE_DOWN" integer="3" desc="Gamepad left DPAD down button" />
|
||||||
<Value name="GAMEPAD_BUTTON_LEFT_FACE_LEFT" integer="4" desc="Gamepad left DPAD left button" />
|
<Value name="GAMEPAD_BUTTON_LEFT_FACE_LEFT" integer="4" desc="Gamepad left DPAD left button" />
|
||||||
<Value name="GAMEPAD_BUTTON_RIGHT_FACE_UP" integer="5" desc="Gamepad right button up (i.e. PS3: Triangle, Xbox: Y)" />
|
<Value name="GAMEPAD_BUTTON_RIGHT_FACE_UP" integer="5" desc="Gamepad right button up (i.e. PS3: Triangle, Xbox: Y)" />
|
||||||
<Value name="GAMEPAD_BUTTON_RIGHT_FACE_RIGHT" integer="6" desc="Gamepad right button right (i.e. PS3: Square, Xbox: X)" />
|
<Value name="GAMEPAD_BUTTON_RIGHT_FACE_RIGHT" integer="6" desc="Gamepad right button right (i.e. PS3: Circle, Xbox: B)" />
|
||||||
<Value name="GAMEPAD_BUTTON_RIGHT_FACE_DOWN" integer="7" desc="Gamepad right button down (i.e. PS3: Cross, Xbox: A)" />
|
<Value name="GAMEPAD_BUTTON_RIGHT_FACE_DOWN" integer="7" desc="Gamepad right button down (i.e. PS3: Cross, Xbox: A)" />
|
||||||
<Value name="GAMEPAD_BUTTON_RIGHT_FACE_LEFT" integer="8" desc="Gamepad right button left (i.e. PS3: Circle, Xbox: B)" />
|
<Value name="GAMEPAD_BUTTON_RIGHT_FACE_LEFT" integer="8" desc="Gamepad right button left (i.e. PS3: Square, Xbox: X)" />
|
||||||
<Value name="GAMEPAD_BUTTON_LEFT_TRIGGER_1" integer="9" desc="Gamepad top/back trigger left (first), it could be a trailing button" />
|
<Value name="GAMEPAD_BUTTON_LEFT_TRIGGER_1" integer="9" desc="Gamepad top/back trigger left (first), it could be a trailing button" />
|
||||||
<Value name="GAMEPAD_BUTTON_LEFT_TRIGGER_2" integer="10" desc="Gamepad top/back trigger left (second), it could be a trailing button" />
|
<Value name="GAMEPAD_BUTTON_LEFT_TRIGGER_2" integer="10" desc="Gamepad top/back trigger left (second), it could be a trailing button" />
|
||||||
<Value name="GAMEPAD_BUTTON_RIGHT_TRIGGER_1" integer="11" desc="Gamepad top/back trigger right (one), it could be a trailing button" />
|
<Value name="GAMEPAD_BUTTON_RIGHT_TRIGGER_1" integer="11" desc="Gamepad top/back trigger right (one), it could be a trailing button" />
|
||||||
|
@ -902,12 +903,12 @@
|
||||||
<Function name="UnloadShader" retType="void" paramCount="1" desc="Unload shader from GPU memory (VRAM)">
|
<Function name="UnloadShader" retType="void" paramCount="1" desc="Unload shader from GPU memory (VRAM)">
|
||||||
<Param type="Shader" name="shader" desc="" />
|
<Param type="Shader" name="shader" desc="" />
|
||||||
</Function>
|
</Function>
|
||||||
<Function name="GetScreenToWorldRay" retType="Ray" paramCount="2" desc="Get a ray trace from mouse position">
|
<Function name="GetScreenToWorldRay" retType="Ray" paramCount="2" desc="Get a ray trace from screen position (i.e mouse)">
|
||||||
<Param type="Vector2" name="mousePosition" desc="" />
|
<Param type="Vector2" name="position" desc="" />
|
||||||
<Param type="Camera" name="camera" desc="" />
|
<Param type="Camera" name="camera" desc="" />
|
||||||
</Function>
|
</Function>
|
||||||
<Function name="GetScreenToWorldRayEx" retType="Ray" paramCount="4" desc="Get a ray trace from mouse position in a viewport">
|
<Function name="GetScreenToWorldRayEx" retType="Ray" paramCount="4" desc="Get a ray trace from screen position (i.e mouse) in a viewport">
|
||||||
<Param type="Vector2" name="mousePosition" desc="" />
|
<Param type="Vector2" name="position" desc="" />
|
||||||
<Param type="Camera" name="camera" desc="" />
|
<Param type="Camera" name="camera" desc="" />
|
||||||
<Param type="float" name="width" desc="" />
|
<Param type="float" name="width" desc="" />
|
||||||
<Param type="float" name="height" desc="" />
|
<Param type="float" name="height" desc="" />
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue