mirror of
https://github.com/raysan5/raylib.git
synced 2026-04-12 01:59:09 -04:00
rlparser: update raylib_api.* by CI
This commit is contained in:
@ -837,6 +837,21 @@
|
||||
"name": "indices",
|
||||
"description": "Vertex indices (in case vertex data comes indexed)"
|
||||
},
|
||||
{
|
||||
"type": "int",
|
||||
"name": "boneCount",
|
||||
"description": "Number of bones (MAX: 256 bones)"
|
||||
},
|
||||
{
|
||||
"type": "unsigned char *",
|
||||
"name": "boneIndices",
|
||||
"description": "Vertex bone indices, up to 4 bones influence by vertex (skinning) (shader-location = 6)"
|
||||
},
|
||||
{
|
||||
"type": "float *",
|
||||
"name": "boneWeights",
|
||||
"description": "Vertex bone weight, up to 4 bones influence by vertex (skinning) (shader-location = 7)"
|
||||
},
|
||||
{
|
||||
"type": "float *",
|
||||
"name": "animVertices",
|
||||
@ -847,26 +862,6 @@
|
||||
"name": "animNormals",
|
||||
"description": "Animated normals (after bones transformations)"
|
||||
},
|
||||
{
|
||||
"type": "unsigned char *",
|
||||
"name": "boneIds",
|
||||
"description": "Vertex bone ids, max 255 bone ids, up to 4 bones influence by vertex (skinning) (shader-location = 6)"
|
||||
},
|
||||
{
|
||||
"type": "float *",
|
||||
"name": "boneWeights",
|
||||
"description": "Vertex bone weight, up to 4 bones influence by vertex (skinning) (shader-location = 7)"
|
||||
},
|
||||
{
|
||||
"type": "Matrix *",
|
||||
"name": "boneMatrices",
|
||||
"description": "Bones animated transformation matrices"
|
||||
},
|
||||
{
|
||||
"type": "int",
|
||||
"name": "boneCount",
|
||||
"description": "Number of bones"
|
||||
},
|
||||
{
|
||||
"type": "unsigned int",
|
||||
"name": "vaoId",
|
||||
@ -974,6 +969,27 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "ModelSkeleton",
|
||||
"description": "Skeleton, animation bones hierarchy",
|
||||
"fields": [
|
||||
{
|
||||
"type": "int",
|
||||
"name": "boneCount",
|
||||
"description": "Number of bones"
|
||||
},
|
||||
{
|
||||
"type": "BoneInfo *",
|
||||
"name": "bones",
|
||||
"description": "Bones information (skeleton)"
|
||||
},
|
||||
{
|
||||
"type": "ModelAnimPose",
|
||||
"name": "bindPose",
|
||||
"description": "Bones base transformation (Transform[])"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Model",
|
||||
"description": "Model, meshes, materials and animation data",
|
||||
@ -1009,25 +1025,25 @@
|
||||
"description": "Mesh material number"
|
||||
},
|
||||
{
|
||||
"type": "int",
|
||||
"name": "boneCount",
|
||||
"description": "Number of bones"
|
||||
"type": "ModelSkeleton",
|
||||
"name": "skeleton",
|
||||
"description": "Skeleton for animation"
|
||||
},
|
||||
{
|
||||
"type": "BoneInfo *",
|
||||
"name": "bones",
|
||||
"description": "Bones information (skeleton)"
|
||||
"type": "ModelAnimPose",
|
||||
"name": "currentPose",
|
||||
"description": "Current animation pose (Transform[])"
|
||||
},
|
||||
{
|
||||
"type": "Transform *",
|
||||
"name": "bindPose",
|
||||
"description": "Bones base transformation (pose)"
|
||||
"type": "Matrix *",
|
||||
"name": "boneMatrices",
|
||||
"description": "Bones animated transformation matrices"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "ModelAnimation",
|
||||
"description": "ModelAnimation",
|
||||
"description": "ModelAnimation, contains a full animation sequence",
|
||||
"fields": [
|
||||
{
|
||||
"type": "char[32]",
|
||||
@ -1037,22 +1053,17 @@
|
||||
{
|
||||
"type": "int",
|
||||
"name": "boneCount",
|
||||
"description": "Number of bones"
|
||||
"description": "Number of bones (per pose)"
|
||||
},
|
||||
{
|
||||
"type": "int",
|
||||
"name": "frameCount",
|
||||
"description": "Number of animation frames"
|
||||
"name": "keyframeCount",
|
||||
"description": "Number of animation key frames"
|
||||
},
|
||||
{
|
||||
"type": "BoneInfo *",
|
||||
"name": "bones",
|
||||
"description": "Bones information (skeleton)"
|
||||
},
|
||||
{
|
||||
"type": "Transform **",
|
||||
"name": "framePoses",
|
||||
"description": "Poses array by frame"
|
||||
"type": "ModelAnimPose *",
|
||||
"name": "keyframePoses",
|
||||
"description": "Animation sequence keyframe poses [keyframe][pose]"
|
||||
}
|
||||
]
|
||||
},
|
||||
@ -1404,6 +1415,11 @@
|
||||
"type": "Camera3D",
|
||||
"name": "Camera",
|
||||
"description": "Camera type fallback, defaults to Camera3D"
|
||||
},
|
||||
{
|
||||
"type": "Transform",
|
||||
"name": "*ModelAnimPose",
|
||||
"description": "Anim pose, an array of Transform[]"
|
||||
}
|
||||
],
|
||||
"enums": [
|
||||
@ -2502,7 +2518,7 @@
|
||||
{
|
||||
"name": "SHADER_LOC_MAP_HEIGHT",
|
||||
"value": 21,
|
||||
"description": "Shader location: sampler2d texture: height"
|
||||
"description": "Shader location: sampler2d texture: heightmap"
|
||||
},
|
||||
{
|
||||
"name": "SHADER_LOC_MAP_CUBEMAP",
|
||||
@ -2527,22 +2543,22 @@
|
||||
{
|
||||
"name": "SHADER_LOC_VERTEX_BONEIDS",
|
||||
"value": 26,
|
||||
"description": "Shader location: vertex attribute: boneIds"
|
||||
"description": "Shader location: vertex attribute: bone indices"
|
||||
},
|
||||
{
|
||||
"name": "SHADER_LOC_VERTEX_BONEWEIGHTS",
|
||||
"value": 27,
|
||||
"description": "Shader location: vertex attribute: boneWeights"
|
||||
"description": "Shader location: vertex attribute: bone weights"
|
||||
},
|
||||
{
|
||||
"name": "SHADER_LOC_BONE_MATRICES",
|
||||
"name": "SHADER_LOC_MATRIX_BONETRANSFORMS",
|
||||
"value": 28,
|
||||
"description": "Shader location: array of matrices uniform: boneMatrices"
|
||||
"description": "Shader location: matrix attribute: bone transforms (animation)"
|
||||
},
|
||||
{
|
||||
"name": "SHADER_LOC_VERTEX_INSTANCE_TX",
|
||||
"name": "SHADER_LOC_VERTEX_INSTANCETRANSFORMS",
|
||||
"value": 29,
|
||||
"description": "Shader location: vertex attribute: instanceTransform"
|
||||
"description": "Shader location: vertex attribute: instance transforms"
|
||||
}
|
||||
]
|
||||
},
|
||||
@ -11400,7 +11416,7 @@
|
||||
},
|
||||
{
|
||||
"name": "UpdateModelAnimation",
|
||||
"description": "Update model animation pose (CPU)",
|
||||
"description": "Update model animation pose (vertex buffers and bone matrices)",
|
||||
"returnType": "void",
|
||||
"params": [
|
||||
{
|
||||
@ -11412,33 +11428,14 @@
|
||||
"name": "anim"
|
||||
},
|
||||
{
|
||||
"type": "int",
|
||||
"type": "float",
|
||||
"name": "frame"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "UpdateModelAnimationBones",
|
||||
"description": "Update model animation mesh bone matrices (GPU skinning)",
|
||||
"returnType": "void",
|
||||
"params": [
|
||||
{
|
||||
"type": "Model",
|
||||
"name": "model"
|
||||
},
|
||||
{
|
||||
"type": "ModelAnimation",
|
||||
"name": "anim"
|
||||
},
|
||||
{
|
||||
"type": "int",
|
||||
"name": "frame"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "UpdateModelAnimationBonesLerp",
|
||||
"description": "Update model animation mesh bone matrices with interpolation between two poses(GPU skinning)",
|
||||
"name": "UpdateModelAnimationEx",
|
||||
"description": "Update model animation pose, blending two animations",
|
||||
"returnType": "void",
|
||||
"params": [
|
||||
{
|
||||
@ -11450,7 +11447,7 @@
|
||||
"name": "animA"
|
||||
},
|
||||
{
|
||||
"type": "int",
|
||||
"type": "float",
|
||||
"name": "frameA"
|
||||
},
|
||||
{
|
||||
@ -11458,34 +11455,12 @@
|
||||
"name": "animB"
|
||||
},
|
||||
{
|
||||
"type": "int",
|
||||
"type": "float",
|
||||
"name": "frameB"
|
||||
},
|
||||
{
|
||||
"type": "float",
|
||||
"name": "value"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "UpdateModelVertsToCurrentBones",
|
||||
"description": "Update model vertices according to mesh bone matrices (CPU)",
|
||||
"returnType": "void",
|
||||
"params": [
|
||||
{
|
||||
"type": "Model",
|
||||
"name": "model"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "UnloadModelAnimation",
|
||||
"description": "Unload animation data",
|
||||
"returnType": "void",
|
||||
"params": [
|
||||
{
|
||||
"type": "ModelAnimation",
|
||||
"name": "anim"
|
||||
"name": "blend"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user