Move DrawModelPoints methods to example - point rendering (#5697)

This commit is contained in:
Maicon Santana
2026-03-26 17:29:05 +00:00
committed by GitHub
parent bd3a35ca21
commit a693365bf2
9 changed files with 141 additions and 270 deletions

View File

@ -16,6 +16,7 @@
********************************************************************************************/ ********************************************************************************************/
#include "raylib.h" #include "raylib.h"
#include "rlgl.h"
#include <stdlib.h> // Required for: rand() #include <stdlib.h> // Required for: rand()
#include <math.h> // Required for: cosf(), sinf() #include <math.h> // Required for: cosf(), sinf()
@ -26,8 +27,9 @@
//------------------------------------------------------------------------------------ //------------------------------------------------------------------------------------
// Module Functions Declaration // Module Functions Declaration
//------------------------------------------------------------------------------------ //------------------------------------------------------------------------------------
// Generate mesh using points static Mesh GenMeshPoints(int numPoints); // Generate mesh using points
static Mesh GenMeshPoints(int numPoints); void DrawModelPoints(Model model, Vector3 position, float scale, Color tint); // Draw a model as points
void DrawModelPointsEx(Model model, Vector3 position, Vector3 rotationAxis, float rotationAngle, Vector3 scale, Color tint); // Draw a model as points with extended parameters
//------------------------------------------------------------------------------------ //------------------------------------------------------------------------------------
// Program main entry point // Program main entry point
@ -184,3 +186,30 @@ static Mesh GenMeshPoints(int numPoints)
return mesh; return mesh;
} }
// Draw a model points
// WARNING: OpenGL ES 2.0 does not support point mode drawing
void DrawModelPoints(Model model, Vector3 position, float scale, Color tint)
{
rlEnablePointMode();
rlDisableBackfaceCulling();
DrawModel(model, position, scale, tint);
rlEnableBackfaceCulling();
rlDisablePointMode();
}
// Draw a model points
// WARNING: OpenGL ES 2.0 does not support point mode drawing
void DrawModelPointsEx(Model model, Vector3 position, Vector3 rotationAxis, float rotationAngle, Vector3 scale, Color tint)
{
rlEnablePointMode();
rlDisableBackfaceCulling();
DrawModelEx(model, position, rotationAxis, rotationAngle, scale, tint);
rlEnableBackfaceCulling();
rlDisablePointMode();
}

View File

@ -2960,24 +2960,6 @@
<Param name="Color tint" /> <Param name="Color tint" />
</Overload> </Overload>
</KeyWord> </KeyWord>
<KeyWord name="DrawModelPoints" func="yes">
<Overload retVal="void" descr="Draw a model as points">
<Param name="Model model" />
<Param name="Vector3 position" />
<Param name="float scale" />
<Param name="Color tint" />
</Overload>
</KeyWord>
<KeyWord name="DrawModelPointsEx" func="yes">
<Overload retVal="void" descr="Draw a model as points with extended parameters">
<Param name="Model model" />
<Param name="Vector3 position" />
<Param name="Vector3 rotationAxis" />
<Param name="float rotationAngle" />
<Param name="Vector3 scale" />
<Param name="Color tint" />
</Overload>
</KeyWord>
<KeyWord name="DrawBoundingBox" func="yes"> <KeyWord name="DrawBoundingBox" func="yes">
<Overload retVal="void" descr="Draw bounding box (wires)"> <Overload retVal="void" descr="Draw bounding box (wires)">
<Param name="BoundingBox box" /> <Param name="BoundingBox box" />
@ -3013,7 +2995,7 @@
<Param name="Vector2 size" /> <Param name="Vector2 size" />
<Param name="Vector2 origin" /> <Param name="Vector2 origin" />
<Param name="float rotation" /> <Param name="float rotation" />
<Param name="<22><>_)% " /> <Param name="<22><>_)% " />
</Overload> </Overload>
</KeyWord> </KeyWord>

View File

@ -600,8 +600,6 @@ RLAPI void DrawModel(Model model, Vector3 position, float scale, Color tint);
RLAPI void DrawModelEx(Model model, Vector3 position, Vector3 rotationAxis, float rotationAngle, Vector3 scale, Color tint); // Draw a model with extended parameters RLAPI void DrawModelEx(Model model, Vector3 position, Vector3 rotationAxis, float rotationAngle, Vector3 scale, Color tint); // Draw a model with extended parameters
RLAPI void DrawModelWires(Model model, Vector3 position, float scale, Color tint); // Draw a model wires (with texture if set) RLAPI void DrawModelWires(Model model, Vector3 position, float scale, Color tint); // Draw a model wires (with texture if set)
RLAPI void DrawModelWiresEx(Model model, Vector3 position, Vector3 rotationAxis, float rotationAngle, Vector3 scale, Color tint); // Draw a model wires (with texture if set) with extended parameters RLAPI void DrawModelWiresEx(Model model, Vector3 position, Vector3 rotationAxis, float rotationAngle, Vector3 scale, Color tint); // Draw a model wires (with texture if set) with extended parameters
RLAPI void DrawModelPoints(Model model, Vector3 position, float scale, Color tint); // Draw a model as points
RLAPI void DrawModelPointsEx(Model model, Vector3 position, Vector3 rotationAxis, float rotationAngle, Vector3 scale, Color tint); // Draw a model as points with extended parameters
RLAPI void DrawBoundingBox(BoundingBox box, Color color); // Draw bounding box (wires) RLAPI void DrawBoundingBox(BoundingBox box, Color color); // Draw bounding box (wires)
RLAPI void DrawBillboard(Camera camera, Texture2D texture, Vector3 position, float scale, Color tint); // Draw a billboard texture RLAPI void DrawBillboard(Camera camera, Texture2D texture, Vector3 position, float scale, Color tint); // Draw a billboard texture
RLAPI void DrawBillboardRec(Camera camera, Texture2D texture, Rectangle source, Vector3 position, Vector2 size, Color tint); // Draw a billboard texture defined by source RLAPI void DrawBillboardRec(Camera camera, Texture2D texture, Rectangle source, Vector3 position, Vector2 size, Color tint); // Draw a billboard texture defined by source

View File

@ -1596,8 +1596,6 @@ RLAPI void DrawModel(Model model, Vector3 position, float scale, Color tint);
RLAPI void DrawModelEx(Model model, Vector3 position, Vector3 rotationAxis, float rotationAngle, Vector3 scale, Color tint); // Draw a model with extended parameters RLAPI void DrawModelEx(Model model, Vector3 position, Vector3 rotationAxis, float rotationAngle, Vector3 scale, Color tint); // Draw a model with extended parameters
RLAPI void DrawModelWires(Model model, Vector3 position, float scale, Color tint); // Draw a model wires (with texture if set) RLAPI void DrawModelWires(Model model, Vector3 position, float scale, Color tint); // Draw a model wires (with texture if set)
RLAPI void DrawModelWiresEx(Model model, Vector3 position, Vector3 rotationAxis, float rotationAngle, Vector3 scale, Color tint); // Draw a model wires (with texture if set) with extended parameters RLAPI void DrawModelWiresEx(Model model, Vector3 position, Vector3 rotationAxis, float rotationAngle, Vector3 scale, Color tint); // Draw a model wires (with texture if set) with extended parameters
RLAPI void DrawModelPoints(Model model, Vector3 position, float scale, Color tint); // Draw a model as points
RLAPI void DrawModelPointsEx(Model model, Vector3 position, Vector3 rotationAxis, float rotationAngle, Vector3 scale, Color tint); // Draw a model as points with extended parameters
RLAPI void DrawBoundingBox(BoundingBox box, Color color); // Draw bounding box (wires) RLAPI void DrawBoundingBox(BoundingBox box, Color color); // Draw bounding box (wires)
RLAPI void DrawBillboard(Camera camera, Texture2D texture, Vector3 position, float scale, Color tint); // Draw a billboard texture RLAPI void DrawBillboard(Camera camera, Texture2D texture, Vector3 position, float scale, Color tint); // Draw a billboard texture
RLAPI void DrawBillboardRec(Camera camera, Texture2D texture, Rectangle source, Vector3 position, Vector2 size, Color tint); // Draw a billboard texture defined by source RLAPI void DrawBillboardRec(Camera camera, Texture2D texture, Rectangle source, Vector3 position, Vector2 size, Color tint); // Draw a billboard texture defined by source

View File

@ -3961,32 +3961,6 @@ void DrawModelWiresEx(Model model, Vector3 position, Vector3 rotationAxis, float
rlDisableWireMode(); rlDisableWireMode();
} }
// Draw a model points
// WARNING: OpenGL ES 2.0 does not support point mode drawing
void DrawModelPoints(Model model, Vector3 position, float scale, Color tint)
{
rlEnablePointMode();
rlDisableBackfaceCulling();
DrawModel(model, position, scale, tint);
rlEnableBackfaceCulling();
rlDisablePointMode();
}
// Draw a model points
// WARNING: OpenGL ES 2.0 does not support point mode drawing
void DrawModelPointsEx(Model model, Vector3 position, Vector3 rotationAxis, float rotationAngle, Vector3 scale, Color tint)
{
rlEnablePointMode();
rlDisableBackfaceCulling();
DrawModelEx(model, position, rotationAxis, rotationAngle, scale, tint);
rlEnableBackfaceCulling();
rlDisablePointMode();
}
// Draw a billboard // Draw a billboard
void DrawBillboard(Camera camera, Texture2D texture, Vector3 position, float scale, Color tint) void DrawBillboard(Camera camera, Texture2D texture, Vector3 position, float scale, Color tint)
{ {

View File

@ -10820,60 +10820,6 @@
} }
] ]
}, },
{
"name": "DrawModelPoints",
"description": "Draw a model as points",
"returnType": "void",
"params": [
{
"type": "Model",
"name": "model"
},
{
"type": "Vector3",
"name": "position"
},
{
"type": "float",
"name": "scale"
},
{
"type": "Color",
"name": "tint"
}
]
},
{
"name": "DrawModelPointsEx",
"description": "Draw a model as points with extended parameters",
"returnType": "void",
"params": [
{
"type": "Model",
"name": "model"
},
{
"type": "Vector3",
"name": "position"
},
{
"type": "Vector3",
"name": "rotationAxis"
},
{
"type": "float",
"name": "rotationAngle"
},
{
"type": "Vector3",
"name": "scale"
},
{
"type": "Color",
"name": "tint"
}
]
},
{ {
"name": "DrawBoundingBox", "name": "DrawBoundingBox",
"description": "Draw bounding box (wires)", "description": "Draw bounding box (wires)",

View File

@ -7493,30 +7493,6 @@ return {
{type = "Color", name = "tint"} {type = "Color", name = "tint"}
} }
}, },
{
name = "DrawModelPoints",
description = "Draw a model as points",
returnType = "void",
params = {
{type = "Model", name = "model"},
{type = "Vector3", name = "position"},
{type = "float", name = "scale"},
{type = "Color", name = "tint"}
}
},
{
name = "DrawModelPointsEx",
description = "Draw a model as points with extended parameters",
returnType = "void",
params = {
{type = "Model", name = "model"},
{type = "Vector3", name = "position"},
{type = "Vector3", name = "rotationAxis"},
{type = "float", name = "rotationAngle"},
{type = "Vector3", name = "scale"},
{type = "Color", name = "tint"}
}
},
{ {
name = "DrawBoundingBox", name = "DrawBoundingBox",
description = "Draw bounding box (wires)", description = "Draw bounding box (wires)",

View File

@ -4126,31 +4126,13 @@ Function 488: DrawModelWiresEx() (6 input parameters)
Param[4]: rotationAngle (type: float) Param[4]: rotationAngle (type: float)
Param[5]: scale (type: Vector3) Param[5]: scale (type: Vector3)
Param[6]: tint (type: Color) Param[6]: tint (type: Color)
Function 489: DrawModelPoints() (4 input parameters) Function 489: DrawBoundingBox() (2 input parameters)
Name: DrawModelPoints
Return type: void
Description: Draw a model as points
Param[1]: model (type: Model)
Param[2]: position (type: Vector3)
Param[3]: scale (type: float)
Param[4]: tint (type: Color)
Function 490: DrawModelPointsEx() (6 input parameters)
Name: DrawModelPointsEx
Return type: void
Description: Draw a model as points with extended parameters
Param[1]: model (type: Model)
Param[2]: position (type: Vector3)
Param[3]: rotationAxis (type: Vector3)
Param[4]: rotationAngle (type: float)
Param[5]: scale (type: Vector3)
Param[6]: tint (type: Color)
Function 491: DrawBoundingBox() (2 input parameters)
Name: DrawBoundingBox Name: DrawBoundingBox
Return type: void Return type: void
Description: Draw bounding box (wires) Description: Draw bounding box (wires)
Param[1]: box (type: BoundingBox) Param[1]: box (type: BoundingBox)
Param[2]: color (type: Color) Param[2]: color (type: Color)
Function 492: DrawBillboard() (5 input parameters) Function 490: DrawBillboard() (5 input parameters)
Name: DrawBillboard Name: DrawBillboard
Return type: void Return type: void
Description: Draw a billboard texture Description: Draw a billboard texture
@ -4159,7 +4141,7 @@ Function 492: DrawBillboard() (5 input parameters)
Param[3]: position (type: Vector3) Param[3]: position (type: Vector3)
Param[4]: scale (type: float) Param[4]: scale (type: float)
Param[5]: tint (type: Color) Param[5]: tint (type: Color)
Function 493: DrawBillboardRec() (6 input parameters) Function 491: DrawBillboardRec() (6 input parameters)
Name: DrawBillboardRec Name: DrawBillboardRec
Return type: void Return type: void
Description: Draw a billboard texture defined by source Description: Draw a billboard texture defined by source
@ -4169,7 +4151,7 @@ Function 493: DrawBillboardRec() (6 input parameters)
Param[4]: position (type: Vector3) Param[4]: position (type: Vector3)
Param[5]: size (type: Vector2) Param[5]: size (type: Vector2)
Param[6]: tint (type: Color) Param[6]: tint (type: Color)
Function 494: DrawBillboardPro() (9 input parameters) Function 492: DrawBillboardPro() (9 input parameters)
Name: DrawBillboardPro Name: DrawBillboardPro
Return type: void Return type: void
Description: Draw a billboard texture defined by source and rotation Description: Draw a billboard texture defined by source and rotation
@ -4182,13 +4164,13 @@ Function 494: DrawBillboardPro() (9 input parameters)
Param[7]: origin (type: Vector2) Param[7]: origin (type: Vector2)
Param[8]: rotation (type: float) Param[8]: rotation (type: float)
Param[9]: tint (type: Color) Param[9]: tint (type: Color)
Function 495: UploadMesh() (2 input parameters) Function 493: UploadMesh() (2 input parameters)
Name: UploadMesh Name: UploadMesh
Return type: void Return type: void
Description: Upload mesh vertex data in GPU and provide VAO/VBO ids Description: Upload mesh vertex data in GPU and provide VAO/VBO ids
Param[1]: mesh (type: Mesh *) Param[1]: mesh (type: Mesh *)
Param[2]: dynamic (type: bool) Param[2]: dynamic (type: bool)
Function 496: UpdateMeshBuffer() (5 input parameters) Function 494: UpdateMeshBuffer() (5 input parameters)
Name: UpdateMeshBuffer Name: UpdateMeshBuffer
Return type: void Return type: void
Description: Update mesh vertex data in GPU for a specific buffer index Description: Update mesh vertex data in GPU for a specific buffer index
@ -4197,19 +4179,19 @@ Function 496: UpdateMeshBuffer() (5 input parameters)
Param[3]: data (type: const void *) Param[3]: data (type: const void *)
Param[4]: dataSize (type: int) Param[4]: dataSize (type: int)
Param[5]: offset (type: int) Param[5]: offset (type: int)
Function 497: UnloadMesh() (1 input parameters) Function 495: UnloadMesh() (1 input parameters)
Name: UnloadMesh Name: UnloadMesh
Return type: void Return type: void
Description: Unload mesh data from CPU and GPU Description: Unload mesh data from CPU and GPU
Param[1]: mesh (type: Mesh) Param[1]: mesh (type: Mesh)
Function 498: DrawMesh() (3 input parameters) Function 496: DrawMesh() (3 input parameters)
Name: DrawMesh Name: DrawMesh
Return type: void Return type: void
Description: Draw a 3d mesh with material and transform Description: Draw a 3d mesh with material and transform
Param[1]: mesh (type: Mesh) Param[1]: mesh (type: Mesh)
Param[2]: material (type: Material) Param[2]: material (type: Material)
Param[3]: transform (type: Matrix) Param[3]: transform (type: Matrix)
Function 499: DrawMeshInstanced() (4 input parameters) Function 497: DrawMeshInstanced() (4 input parameters)
Name: DrawMeshInstanced Name: DrawMeshInstanced
Return type: void Return type: void
Description: Draw multiple mesh instances with material and different transforms Description: Draw multiple mesh instances with material and different transforms
@ -4217,35 +4199,35 @@ Function 499: DrawMeshInstanced() (4 input parameters)
Param[2]: material (type: Material) Param[2]: material (type: Material)
Param[3]: transforms (type: const Matrix *) Param[3]: transforms (type: const Matrix *)
Param[4]: instances (type: int) Param[4]: instances (type: int)
Function 500: GetMeshBoundingBox() (1 input parameters) Function 498: GetMeshBoundingBox() (1 input parameters)
Name: GetMeshBoundingBox Name: GetMeshBoundingBox
Return type: BoundingBox Return type: BoundingBox
Description: Compute mesh bounding box limits Description: Compute mesh bounding box limits
Param[1]: mesh (type: Mesh) Param[1]: mesh (type: Mesh)
Function 501: GenMeshTangents() (1 input parameters) Function 499: GenMeshTangents() (1 input parameters)
Name: GenMeshTangents Name: GenMeshTangents
Return type: void Return type: void
Description: Compute mesh tangents Description: Compute mesh tangents
Param[1]: mesh (type: Mesh *) Param[1]: mesh (type: Mesh *)
Function 502: ExportMesh() (2 input parameters) Function 500: ExportMesh() (2 input parameters)
Name: ExportMesh Name: ExportMesh
Return type: bool Return type: bool
Description: Export mesh data to file, returns true on success Description: Export mesh data to file, returns true on success
Param[1]: mesh (type: Mesh) Param[1]: mesh (type: Mesh)
Param[2]: fileName (type: const char *) Param[2]: fileName (type: const char *)
Function 503: ExportMeshAsCode() (2 input parameters) Function 501: ExportMeshAsCode() (2 input parameters)
Name: ExportMeshAsCode Name: ExportMeshAsCode
Return type: bool Return type: bool
Description: Export mesh as code file (.h) defining multiple arrays of vertex attributes Description: Export mesh as code file (.h) defining multiple arrays of vertex attributes
Param[1]: mesh (type: Mesh) Param[1]: mesh (type: Mesh)
Param[2]: fileName (type: const char *) Param[2]: fileName (type: const char *)
Function 504: GenMeshPoly() (2 input parameters) Function 502: GenMeshPoly() (2 input parameters)
Name: GenMeshPoly Name: GenMeshPoly
Return type: Mesh Return type: Mesh
Description: Generate polygonal mesh Description: Generate polygonal mesh
Param[1]: sides (type: int) Param[1]: sides (type: int)
Param[2]: radius (type: float) Param[2]: radius (type: float)
Function 505: GenMeshPlane() (4 input parameters) Function 503: GenMeshPlane() (4 input parameters)
Name: GenMeshPlane Name: GenMeshPlane
Return type: Mesh Return type: Mesh
Description: Generate plane mesh (with subdivisions) Description: Generate plane mesh (with subdivisions)
@ -4253,42 +4235,42 @@ Function 505: GenMeshPlane() (4 input parameters)
Param[2]: length (type: float) Param[2]: length (type: float)
Param[3]: resX (type: int) Param[3]: resX (type: int)
Param[4]: resZ (type: int) Param[4]: resZ (type: int)
Function 506: GenMeshCube() (3 input parameters) Function 504: GenMeshCube() (3 input parameters)
Name: GenMeshCube Name: GenMeshCube
Return type: Mesh Return type: Mesh
Description: Generate cuboid mesh Description: Generate cuboid mesh
Param[1]: width (type: float) Param[1]: width (type: float)
Param[2]: height (type: float) Param[2]: height (type: float)
Param[3]: length (type: float) Param[3]: length (type: float)
Function 507: GenMeshSphere() (3 input parameters) Function 505: GenMeshSphere() (3 input parameters)
Name: GenMeshSphere Name: GenMeshSphere
Return type: Mesh Return type: Mesh
Description: Generate sphere mesh (standard sphere) Description: Generate sphere mesh (standard sphere)
Param[1]: radius (type: float) Param[1]: radius (type: float)
Param[2]: rings (type: int) Param[2]: rings (type: int)
Param[3]: slices (type: int) Param[3]: slices (type: int)
Function 508: GenMeshHemiSphere() (3 input parameters) Function 506: GenMeshHemiSphere() (3 input parameters)
Name: GenMeshHemiSphere Name: GenMeshHemiSphere
Return type: Mesh Return type: Mesh
Description: Generate half-sphere mesh (no bottom cap) Description: Generate half-sphere mesh (no bottom cap)
Param[1]: radius (type: float) Param[1]: radius (type: float)
Param[2]: rings (type: int) Param[2]: rings (type: int)
Param[3]: slices (type: int) Param[3]: slices (type: int)
Function 509: GenMeshCylinder() (3 input parameters) Function 507: GenMeshCylinder() (3 input parameters)
Name: GenMeshCylinder Name: GenMeshCylinder
Return type: Mesh Return type: Mesh
Description: Generate cylinder mesh Description: Generate cylinder mesh
Param[1]: radius (type: float) Param[1]: radius (type: float)
Param[2]: height (type: float) Param[2]: height (type: float)
Param[3]: slices (type: int) Param[3]: slices (type: int)
Function 510: GenMeshCone() (3 input parameters) Function 508: GenMeshCone() (3 input parameters)
Name: GenMeshCone Name: GenMeshCone
Return type: Mesh Return type: Mesh
Description: Generate cone/pyramid mesh Description: Generate cone/pyramid mesh
Param[1]: radius (type: float) Param[1]: radius (type: float)
Param[2]: height (type: float) Param[2]: height (type: float)
Param[3]: slices (type: int) Param[3]: slices (type: int)
Function 511: GenMeshTorus() (4 input parameters) Function 509: GenMeshTorus() (4 input parameters)
Name: GenMeshTorus Name: GenMeshTorus
Return type: Mesh Return type: Mesh
Description: Generate torus mesh Description: Generate torus mesh
@ -4296,7 +4278,7 @@ Function 511: GenMeshTorus() (4 input parameters)
Param[2]: size (type: float) Param[2]: size (type: float)
Param[3]: radSeg (type: int) Param[3]: radSeg (type: int)
Param[4]: sides (type: int) Param[4]: sides (type: int)
Function 512: GenMeshKnot() (4 input parameters) Function 510: GenMeshKnot() (4 input parameters)
Name: GenMeshKnot Name: GenMeshKnot
Return type: Mesh Return type: Mesh
Description: Generate trefoil knot mesh Description: Generate trefoil knot mesh
@ -4304,67 +4286,67 @@ Function 512: GenMeshKnot() (4 input parameters)
Param[2]: size (type: float) Param[2]: size (type: float)
Param[3]: radSeg (type: int) Param[3]: radSeg (type: int)
Param[4]: sides (type: int) Param[4]: sides (type: int)
Function 513: GenMeshHeightmap() (2 input parameters) Function 511: GenMeshHeightmap() (2 input parameters)
Name: GenMeshHeightmap Name: GenMeshHeightmap
Return type: Mesh Return type: Mesh
Description: Generate heightmap mesh from image data Description: Generate heightmap mesh from image data
Param[1]: heightmap (type: Image) Param[1]: heightmap (type: Image)
Param[2]: size (type: Vector3) Param[2]: size (type: Vector3)
Function 514: GenMeshCubicmap() (2 input parameters) Function 512: GenMeshCubicmap() (2 input parameters)
Name: GenMeshCubicmap Name: GenMeshCubicmap
Return type: Mesh Return type: Mesh
Description: Generate cubes-based map mesh from image data Description: Generate cubes-based map mesh from image data
Param[1]: cubicmap (type: Image) Param[1]: cubicmap (type: Image)
Param[2]: cubeSize (type: Vector3) Param[2]: cubeSize (type: Vector3)
Function 515: LoadMaterials() (2 input parameters) Function 513: LoadMaterials() (2 input parameters)
Name: LoadMaterials Name: LoadMaterials
Return type: Material * Return type: Material *
Description: Load materials from model file Description: Load materials from model file
Param[1]: fileName (type: const char *) Param[1]: fileName (type: const char *)
Param[2]: materialCount (type: int *) Param[2]: materialCount (type: int *)
Function 516: LoadMaterialDefault() (0 input parameters) Function 514: LoadMaterialDefault() (0 input parameters)
Name: LoadMaterialDefault Name: LoadMaterialDefault
Return type: Material Return type: Material
Description: Load default material (Supports: DIFFUSE, SPECULAR, NORMAL maps) Description: Load default material (Supports: DIFFUSE, SPECULAR, NORMAL maps)
No input parameters No input parameters
Function 517: IsMaterialValid() (1 input parameters) Function 515: IsMaterialValid() (1 input parameters)
Name: IsMaterialValid Name: IsMaterialValid
Return type: bool Return type: bool
Description: Check if a material is valid (shader assigned, map textures loaded in GPU) Description: Check if a material is valid (shader assigned, map textures loaded in GPU)
Param[1]: material (type: Material) Param[1]: material (type: Material)
Function 518: UnloadMaterial() (1 input parameters) Function 516: UnloadMaterial() (1 input parameters)
Name: UnloadMaterial Name: UnloadMaterial
Return type: void Return type: void
Description: Unload material from GPU memory (VRAM) Description: Unload material from GPU memory (VRAM)
Param[1]: material (type: Material) Param[1]: material (type: Material)
Function 519: SetMaterialTexture() (3 input parameters) Function 517: SetMaterialTexture() (3 input parameters)
Name: SetMaterialTexture Name: SetMaterialTexture
Return type: void Return type: void
Description: Set texture for a material map type (MATERIAL_MAP_DIFFUSE, MATERIAL_MAP_SPECULAR...) Description: Set texture for a material map type (MATERIAL_MAP_DIFFUSE, MATERIAL_MAP_SPECULAR...)
Param[1]: material (type: Material *) Param[1]: material (type: Material *)
Param[2]: mapType (type: int) Param[2]: mapType (type: int)
Param[3]: texture (type: Texture2D) Param[3]: texture (type: Texture2D)
Function 520: SetModelMeshMaterial() (3 input parameters) Function 518: SetModelMeshMaterial() (3 input parameters)
Name: SetModelMeshMaterial Name: SetModelMeshMaterial
Return type: void Return type: void
Description: Set material for a mesh Description: Set material for a mesh
Param[1]: model (type: Model *) Param[1]: model (type: Model *)
Param[2]: meshId (type: int) Param[2]: meshId (type: int)
Param[3]: materialId (type: int) Param[3]: materialId (type: int)
Function 521: LoadModelAnimations() (2 input parameters) Function 519: LoadModelAnimations() (2 input parameters)
Name: LoadModelAnimations Name: LoadModelAnimations
Return type: ModelAnimation * Return type: ModelAnimation *
Description: Load model animations from file Description: Load model animations from file
Param[1]: fileName (type: const char *) Param[1]: fileName (type: const char *)
Param[2]: animCount (type: int *) Param[2]: animCount (type: int *)
Function 522: UpdateModelAnimation() (3 input parameters) Function 520: UpdateModelAnimation() (3 input parameters)
Name: UpdateModelAnimation Name: UpdateModelAnimation
Return type: void Return type: void
Description: Update model animation pose (vertex buffers and bone matrices) Description: Update model animation pose (vertex buffers and bone matrices)
Param[1]: model (type: Model) Param[1]: model (type: Model)
Param[2]: anim (type: ModelAnimation) Param[2]: anim (type: ModelAnimation)
Param[3]: frame (type: float) Param[3]: frame (type: float)
Function 523: UpdateModelAnimationEx() (6 input parameters) Function 521: UpdateModelAnimationEx() (6 input parameters)
Name: UpdateModelAnimationEx Name: UpdateModelAnimationEx
Return type: void Return type: void
Description: Update model animation pose, blending two animations Description: Update model animation pose, blending two animations
@ -4374,19 +4356,19 @@ Function 523: UpdateModelAnimationEx() (6 input parameters)
Param[4]: animB (type: ModelAnimation) Param[4]: animB (type: ModelAnimation)
Param[5]: frameB (type: float) Param[5]: frameB (type: float)
Param[6]: blend (type: float) Param[6]: blend (type: float)
Function 524: UnloadModelAnimations() (2 input parameters) Function 522: UnloadModelAnimations() (2 input parameters)
Name: UnloadModelAnimations Name: UnloadModelAnimations
Return type: void Return type: void
Description: Unload animation array data Description: Unload animation array data
Param[1]: animations (type: ModelAnimation *) Param[1]: animations (type: ModelAnimation *)
Param[2]: animCount (type: int) Param[2]: animCount (type: int)
Function 525: IsModelAnimationValid() (2 input parameters) Function 523: IsModelAnimationValid() (2 input parameters)
Name: IsModelAnimationValid Name: IsModelAnimationValid
Return type: bool Return type: bool
Description: Check model animation skeleton match Description: Check model animation skeleton match
Param[1]: model (type: Model) Param[1]: model (type: Model)
Param[2]: anim (type: ModelAnimation) Param[2]: anim (type: ModelAnimation)
Function 526: CheckCollisionSpheres() (4 input parameters) Function 524: CheckCollisionSpheres() (4 input parameters)
Name: CheckCollisionSpheres Name: CheckCollisionSpheres
Return type: bool Return type: bool
Description: Check collision between two spheres Description: Check collision between two spheres
@ -4394,40 +4376,40 @@ Function 526: CheckCollisionSpheres() (4 input parameters)
Param[2]: radius1 (type: float) Param[2]: radius1 (type: float)
Param[3]: center2 (type: Vector3) Param[3]: center2 (type: Vector3)
Param[4]: radius2 (type: float) Param[4]: radius2 (type: float)
Function 527: CheckCollisionBoxes() (2 input parameters) Function 525: CheckCollisionBoxes() (2 input parameters)
Name: CheckCollisionBoxes Name: CheckCollisionBoxes
Return type: bool Return type: bool
Description: Check collision between two bounding boxes Description: Check collision between two bounding boxes
Param[1]: box1 (type: BoundingBox) Param[1]: box1 (type: BoundingBox)
Param[2]: box2 (type: BoundingBox) Param[2]: box2 (type: BoundingBox)
Function 528: CheckCollisionBoxSphere() (3 input parameters) Function 526: CheckCollisionBoxSphere() (3 input parameters)
Name: CheckCollisionBoxSphere Name: CheckCollisionBoxSphere
Return type: bool Return type: bool
Description: Check collision between box and sphere Description: Check collision between box and sphere
Param[1]: box (type: BoundingBox) Param[1]: box (type: BoundingBox)
Param[2]: center (type: Vector3) Param[2]: center (type: Vector3)
Param[3]: radius (type: float) Param[3]: radius (type: float)
Function 529: GetRayCollisionSphere() (3 input parameters) Function 527: GetRayCollisionSphere() (3 input parameters)
Name: GetRayCollisionSphere Name: GetRayCollisionSphere
Return type: RayCollision Return type: RayCollision
Description: Get collision info between ray and sphere Description: Get collision info between ray and sphere
Param[1]: ray (type: Ray) Param[1]: ray (type: Ray)
Param[2]: center (type: Vector3) Param[2]: center (type: Vector3)
Param[3]: radius (type: float) Param[3]: radius (type: float)
Function 530: GetRayCollisionBox() (2 input parameters) Function 528: GetRayCollisionBox() (2 input parameters)
Name: GetRayCollisionBox Name: GetRayCollisionBox
Return type: RayCollision Return type: RayCollision
Description: Get collision info between ray and box Description: Get collision info between ray and box
Param[1]: ray (type: Ray) Param[1]: ray (type: Ray)
Param[2]: box (type: BoundingBox) Param[2]: box (type: BoundingBox)
Function 531: GetRayCollisionMesh() (3 input parameters) Function 529: GetRayCollisionMesh() (3 input parameters)
Name: GetRayCollisionMesh Name: GetRayCollisionMesh
Return type: RayCollision Return type: RayCollision
Description: Get collision info between ray and mesh Description: Get collision info between ray and mesh
Param[1]: ray (type: Ray) Param[1]: ray (type: Ray)
Param[2]: mesh (type: Mesh) Param[2]: mesh (type: Mesh)
Param[3]: transform (type: Matrix) Param[3]: transform (type: Matrix)
Function 532: GetRayCollisionTriangle() (4 input parameters) Function 530: GetRayCollisionTriangle() (4 input parameters)
Name: GetRayCollisionTriangle Name: GetRayCollisionTriangle
Return type: RayCollision Return type: RayCollision
Description: Get collision info between ray and triangle Description: Get collision info between ray and triangle
@ -4435,7 +4417,7 @@ Function 532: GetRayCollisionTriangle() (4 input parameters)
Param[2]: p1 (type: Vector3) Param[2]: p1 (type: Vector3)
Param[3]: p2 (type: Vector3) Param[3]: p2 (type: Vector3)
Param[4]: p3 (type: Vector3) Param[4]: p3 (type: Vector3)
Function 533: GetRayCollisionQuad() (5 input parameters) Function 531: GetRayCollisionQuad() (5 input parameters)
Name: GetRayCollisionQuad Name: GetRayCollisionQuad
Return type: RayCollision Return type: RayCollision
Description: Get collision info between ray and quad Description: Get collision info between ray and quad
@ -4444,158 +4426,158 @@ Function 533: GetRayCollisionQuad() (5 input parameters)
Param[3]: p2 (type: Vector3) Param[3]: p2 (type: Vector3)
Param[4]: p3 (type: Vector3) Param[4]: p3 (type: Vector3)
Param[5]: p4 (type: Vector3) Param[5]: p4 (type: Vector3)
Function 534: InitAudioDevice() (0 input parameters) Function 532: InitAudioDevice() (0 input parameters)
Name: InitAudioDevice Name: InitAudioDevice
Return type: void Return type: void
Description: Initialize audio device and context Description: Initialize audio device and context
No input parameters No input parameters
Function 535: CloseAudioDevice() (0 input parameters) Function 533: CloseAudioDevice() (0 input parameters)
Name: CloseAudioDevice Name: CloseAudioDevice
Return type: void Return type: void
Description: Close the audio device and context Description: Close the audio device and context
No input parameters No input parameters
Function 536: IsAudioDeviceReady() (0 input parameters) Function 534: IsAudioDeviceReady() (0 input parameters)
Name: IsAudioDeviceReady Name: IsAudioDeviceReady
Return type: bool Return type: bool
Description: Check if audio device has been initialized successfully Description: Check if audio device has been initialized successfully
No input parameters No input parameters
Function 537: SetMasterVolume() (1 input parameters) Function 535: SetMasterVolume() (1 input parameters)
Name: SetMasterVolume Name: SetMasterVolume
Return type: void Return type: void
Description: Set master volume (listener) Description: Set master volume (listener)
Param[1]: volume (type: float) Param[1]: volume (type: float)
Function 538: GetMasterVolume() (0 input parameters) Function 536: GetMasterVolume() (0 input parameters)
Name: GetMasterVolume Name: GetMasterVolume
Return type: float Return type: float
Description: Get master volume (listener) Description: Get master volume (listener)
No input parameters No input parameters
Function 539: LoadWave() (1 input parameters) Function 537: LoadWave() (1 input parameters)
Name: LoadWave Name: LoadWave
Return type: Wave Return type: Wave
Description: Load wave data from file Description: Load wave data from file
Param[1]: fileName (type: const char *) Param[1]: fileName (type: const char *)
Function 540: LoadWaveFromMemory() (3 input parameters) Function 538: LoadWaveFromMemory() (3 input parameters)
Name: LoadWaveFromMemory Name: LoadWaveFromMemory
Return type: Wave Return type: Wave
Description: Load wave from memory buffer, fileType refers to extension: i.e. '.wav' Description: Load wave from memory buffer, fileType refers to extension: i.e. '.wav'
Param[1]: fileType (type: const char *) Param[1]: fileType (type: const char *)
Param[2]: fileData (type: const unsigned char *) Param[2]: fileData (type: const unsigned char *)
Param[3]: dataSize (type: int) Param[3]: dataSize (type: int)
Function 541: IsWaveValid() (1 input parameters) Function 539: IsWaveValid() (1 input parameters)
Name: IsWaveValid Name: IsWaveValid
Return type: bool Return type: bool
Description: Checks if wave data is valid (data loaded and parameters) Description: Checks if wave data is valid (data loaded and parameters)
Param[1]: wave (type: Wave) Param[1]: wave (type: Wave)
Function 542: LoadSound() (1 input parameters) Function 540: LoadSound() (1 input parameters)
Name: LoadSound Name: LoadSound
Return type: Sound Return type: Sound
Description: Load sound from file Description: Load sound from file
Param[1]: fileName (type: const char *) Param[1]: fileName (type: const char *)
Function 543: LoadSoundFromWave() (1 input parameters) Function 541: LoadSoundFromWave() (1 input parameters)
Name: LoadSoundFromWave Name: LoadSoundFromWave
Return type: Sound Return type: Sound
Description: Load sound from wave data Description: Load sound from wave data
Param[1]: wave (type: Wave) Param[1]: wave (type: Wave)
Function 544: LoadSoundAlias() (1 input parameters) Function 542: LoadSoundAlias() (1 input parameters)
Name: LoadSoundAlias Name: LoadSoundAlias
Return type: Sound Return type: Sound
Description: Create a new sound that shares the same sample data as the source sound, does not own the sound data Description: Create a new sound that shares the same sample data as the source sound, does not own the sound data
Param[1]: source (type: Sound) Param[1]: source (type: Sound)
Function 545: IsSoundValid() (1 input parameters) Function 543: IsSoundValid() (1 input parameters)
Name: IsSoundValid Name: IsSoundValid
Return type: bool Return type: bool
Description: Checks if a sound is valid (data loaded and buffers initialized) Description: Checks if a sound is valid (data loaded and buffers initialized)
Param[1]: sound (type: Sound) Param[1]: sound (type: Sound)
Function 546: UpdateSound() (3 input parameters) Function 544: UpdateSound() (3 input parameters)
Name: UpdateSound Name: UpdateSound
Return type: void Return type: void
Description: Update sound buffer with new data (default data format: 32 bit float, stereo) Description: Update sound buffer with new data (default data format: 32 bit float, stereo)
Param[1]: sound (type: Sound) Param[1]: sound (type: Sound)
Param[2]: data (type: const void *) Param[2]: data (type: const void *)
Param[3]: sampleCount (type: int) Param[3]: sampleCount (type: int)
Function 547: UnloadWave() (1 input parameters) Function 545: UnloadWave() (1 input parameters)
Name: UnloadWave Name: UnloadWave
Return type: void Return type: void
Description: Unload wave data Description: Unload wave data
Param[1]: wave (type: Wave) Param[1]: wave (type: Wave)
Function 548: UnloadSound() (1 input parameters) Function 546: UnloadSound() (1 input parameters)
Name: UnloadSound Name: UnloadSound
Return type: void Return type: void
Description: Unload sound Description: Unload sound
Param[1]: sound (type: Sound) Param[1]: sound (type: Sound)
Function 549: UnloadSoundAlias() (1 input parameters) Function 547: UnloadSoundAlias() (1 input parameters)
Name: UnloadSoundAlias Name: UnloadSoundAlias
Return type: void Return type: void
Description: Unload a sound alias (does not deallocate sample data) Description: Unload a sound alias (does not deallocate sample data)
Param[1]: alias (type: Sound) Param[1]: alias (type: Sound)
Function 550: ExportWave() (2 input parameters) Function 548: ExportWave() (2 input parameters)
Name: ExportWave Name: ExportWave
Return type: bool Return type: bool
Description: Export wave data to file, returns true on success Description: Export wave data to file, returns true on success
Param[1]: wave (type: Wave) Param[1]: wave (type: Wave)
Param[2]: fileName (type: const char *) Param[2]: fileName (type: const char *)
Function 551: ExportWaveAsCode() (2 input parameters) Function 549: ExportWaveAsCode() (2 input parameters)
Name: ExportWaveAsCode Name: ExportWaveAsCode
Return type: bool Return type: bool
Description: Export wave sample data to code (.h), returns true on success Description: Export wave sample data to code (.h), returns true on success
Param[1]: wave (type: Wave) Param[1]: wave (type: Wave)
Param[2]: fileName (type: const char *) Param[2]: fileName (type: const char *)
Function 552: PlaySound() (1 input parameters) Function 550: PlaySound() (1 input parameters)
Name: PlaySound Name: PlaySound
Return type: void Return type: void
Description: Play a sound Description: Play a sound
Param[1]: sound (type: Sound) Param[1]: sound (type: Sound)
Function 553: StopSound() (1 input parameters) Function 551: StopSound() (1 input parameters)
Name: StopSound Name: StopSound
Return type: void Return type: void
Description: Stop playing a sound Description: Stop playing a sound
Param[1]: sound (type: Sound) Param[1]: sound (type: Sound)
Function 554: PauseSound() (1 input parameters) Function 552: PauseSound() (1 input parameters)
Name: PauseSound Name: PauseSound
Return type: void Return type: void
Description: Pause a sound Description: Pause a sound
Param[1]: sound (type: Sound) Param[1]: sound (type: Sound)
Function 555: ResumeSound() (1 input parameters) Function 553: ResumeSound() (1 input parameters)
Name: ResumeSound Name: ResumeSound
Return type: void Return type: void
Description: Resume a paused sound Description: Resume a paused sound
Param[1]: sound (type: Sound) Param[1]: sound (type: Sound)
Function 556: IsSoundPlaying() (1 input parameters) Function 554: IsSoundPlaying() (1 input parameters)
Name: IsSoundPlaying Name: IsSoundPlaying
Return type: bool Return type: bool
Description: Check if a sound is currently playing Description: Check if a sound is currently playing
Param[1]: sound (type: Sound) Param[1]: sound (type: Sound)
Function 557: SetSoundVolume() (2 input parameters) Function 555: SetSoundVolume() (2 input parameters)
Name: SetSoundVolume Name: SetSoundVolume
Return type: void Return type: void
Description: Set volume for a sound (1.0 is max level) Description: Set volume for a sound (1.0 is max level)
Param[1]: sound (type: Sound) Param[1]: sound (type: Sound)
Param[2]: volume (type: float) Param[2]: volume (type: float)
Function 558: SetSoundPitch() (2 input parameters) Function 556: SetSoundPitch() (2 input parameters)
Name: SetSoundPitch Name: SetSoundPitch
Return type: void Return type: void
Description: Set pitch for a sound (1.0 is base level) Description: Set pitch for a sound (1.0 is base level)
Param[1]: sound (type: Sound) Param[1]: sound (type: Sound)
Param[2]: pitch (type: float) Param[2]: pitch (type: float)
Function 559: SetSoundPan() (2 input parameters) Function 557: SetSoundPan() (2 input parameters)
Name: SetSoundPan Name: SetSoundPan
Return type: void Return type: void
Description: Set pan for a sound (-1.0 left, 0.0 center, 1.0 right) Description: Set pan for a sound (-1.0 left, 0.0 center, 1.0 right)
Param[1]: sound (type: Sound) Param[1]: sound (type: Sound)
Param[2]: pan (type: float) Param[2]: pan (type: float)
Function 560: WaveCopy() (1 input parameters) Function 558: WaveCopy() (1 input parameters)
Name: WaveCopy Name: WaveCopy
Return type: Wave Return type: Wave
Description: Copy a wave to a new wave Description: Copy a wave to a new wave
Param[1]: wave (type: Wave) Param[1]: wave (type: Wave)
Function 561: WaveCrop() (3 input parameters) Function 559: WaveCrop() (3 input parameters)
Name: WaveCrop Name: WaveCrop
Return type: void Return type: void
Description: Crop a wave to defined frames range Description: Crop a wave to defined frames range
Param[1]: wave (type: Wave *) Param[1]: wave (type: Wave *)
Param[2]: initFrame (type: int) Param[2]: initFrame (type: int)
Param[3]: finalFrame (type: int) Param[3]: finalFrame (type: int)
Function 562: WaveFormat() (4 input parameters) Function 560: WaveFormat() (4 input parameters)
Name: WaveFormat Name: WaveFormat
Return type: void Return type: void
Description: Convert wave data to desired format Description: Convert wave data to desired format
@ -4603,203 +4585,203 @@ Function 562: WaveFormat() (4 input parameters)
Param[2]: sampleRate (type: int) Param[2]: sampleRate (type: int)
Param[3]: sampleSize (type: int) Param[3]: sampleSize (type: int)
Param[4]: channels (type: int) Param[4]: channels (type: int)
Function 563: LoadWaveSamples() (1 input parameters) Function 561: LoadWaveSamples() (1 input parameters)
Name: LoadWaveSamples Name: LoadWaveSamples
Return type: float * Return type: float *
Description: Load samples data from wave as a 32bit float data array Description: Load samples data from wave as a 32bit float data array
Param[1]: wave (type: Wave) Param[1]: wave (type: Wave)
Function 564: UnloadWaveSamples() (1 input parameters) Function 562: UnloadWaveSamples() (1 input parameters)
Name: UnloadWaveSamples Name: UnloadWaveSamples
Return type: void Return type: void
Description: Unload samples data loaded with LoadWaveSamples() Description: Unload samples data loaded with LoadWaveSamples()
Param[1]: samples (type: float *) Param[1]: samples (type: float *)
Function 565: LoadMusicStream() (1 input parameters) Function 563: LoadMusicStream() (1 input parameters)
Name: LoadMusicStream Name: LoadMusicStream
Return type: Music Return type: Music
Description: Load music stream from file Description: Load music stream from file
Param[1]: fileName (type: const char *) Param[1]: fileName (type: const char *)
Function 566: LoadMusicStreamFromMemory() (3 input parameters) Function 564: LoadMusicStreamFromMemory() (3 input parameters)
Name: LoadMusicStreamFromMemory Name: LoadMusicStreamFromMemory
Return type: Music Return type: Music
Description: Load music stream from data Description: Load music stream from data
Param[1]: fileType (type: const char *) Param[1]: fileType (type: const char *)
Param[2]: data (type: const unsigned char *) Param[2]: data (type: const unsigned char *)
Param[3]: dataSize (type: int) Param[3]: dataSize (type: int)
Function 567: IsMusicValid() (1 input parameters) Function 565: IsMusicValid() (1 input parameters)
Name: IsMusicValid Name: IsMusicValid
Return type: bool Return type: bool
Description: Checks if a music stream is valid (context and buffers initialized) Description: Checks if a music stream is valid (context and buffers initialized)
Param[1]: music (type: Music) Param[1]: music (type: Music)
Function 568: UnloadMusicStream() (1 input parameters) Function 566: UnloadMusicStream() (1 input parameters)
Name: UnloadMusicStream Name: UnloadMusicStream
Return type: void Return type: void
Description: Unload music stream Description: Unload music stream
Param[1]: music (type: Music) Param[1]: music (type: Music)
Function 569: PlayMusicStream() (1 input parameters) Function 567: PlayMusicStream() (1 input parameters)
Name: PlayMusicStream Name: PlayMusicStream
Return type: void Return type: void
Description: Start music playing Description: Start music playing
Param[1]: music (type: Music) Param[1]: music (type: Music)
Function 570: IsMusicStreamPlaying() (1 input parameters) Function 568: IsMusicStreamPlaying() (1 input parameters)
Name: IsMusicStreamPlaying Name: IsMusicStreamPlaying
Return type: bool Return type: bool
Description: Check if music is playing Description: Check if music is playing
Param[1]: music (type: Music) Param[1]: music (type: Music)
Function 571: UpdateMusicStream() (1 input parameters) Function 569: UpdateMusicStream() (1 input parameters)
Name: UpdateMusicStream Name: UpdateMusicStream
Return type: void Return type: void
Description: Updates buffers for music streaming Description: Updates buffers for music streaming
Param[1]: music (type: Music) Param[1]: music (type: Music)
Function 572: StopMusicStream() (1 input parameters) Function 570: StopMusicStream() (1 input parameters)
Name: StopMusicStream Name: StopMusicStream
Return type: void Return type: void
Description: Stop music playing Description: Stop music playing
Param[1]: music (type: Music) Param[1]: music (type: Music)
Function 573: PauseMusicStream() (1 input parameters) Function 571: PauseMusicStream() (1 input parameters)
Name: PauseMusicStream Name: PauseMusicStream
Return type: void Return type: void
Description: Pause music playing Description: Pause music playing
Param[1]: music (type: Music) Param[1]: music (type: Music)
Function 574: ResumeMusicStream() (1 input parameters) Function 572: ResumeMusicStream() (1 input parameters)
Name: ResumeMusicStream Name: ResumeMusicStream
Return type: void Return type: void
Description: Resume playing paused music Description: Resume playing paused music
Param[1]: music (type: Music) Param[1]: music (type: Music)
Function 575: SeekMusicStream() (2 input parameters) Function 573: SeekMusicStream() (2 input parameters)
Name: SeekMusicStream Name: SeekMusicStream
Return type: void Return type: void
Description: Seek music to a position (in seconds) Description: Seek music to a position (in seconds)
Param[1]: music (type: Music) Param[1]: music (type: Music)
Param[2]: position (type: float) Param[2]: position (type: float)
Function 576: SetMusicVolume() (2 input parameters) Function 574: SetMusicVolume() (2 input parameters)
Name: SetMusicVolume Name: SetMusicVolume
Return type: void Return type: void
Description: Set volume for music (1.0 is max level) Description: Set volume for music (1.0 is max level)
Param[1]: music (type: Music) Param[1]: music (type: Music)
Param[2]: volume (type: float) Param[2]: volume (type: float)
Function 577: SetMusicPitch() (2 input parameters) Function 575: SetMusicPitch() (2 input parameters)
Name: SetMusicPitch Name: SetMusicPitch
Return type: void Return type: void
Description: Set pitch for a music (1.0 is base level) Description: Set pitch for a music (1.0 is base level)
Param[1]: music (type: Music) Param[1]: music (type: Music)
Param[2]: pitch (type: float) Param[2]: pitch (type: float)
Function 578: SetMusicPan() (2 input parameters) Function 576: SetMusicPan() (2 input parameters)
Name: SetMusicPan Name: SetMusicPan
Return type: void Return type: void
Description: Set pan for a music (-1.0 left, 0.0 center, 1.0 right) Description: Set pan for a music (-1.0 left, 0.0 center, 1.0 right)
Param[1]: music (type: Music) Param[1]: music (type: Music)
Param[2]: pan (type: float) Param[2]: pan (type: float)
Function 579: GetMusicTimeLength() (1 input parameters) Function 577: GetMusicTimeLength() (1 input parameters)
Name: GetMusicTimeLength Name: GetMusicTimeLength
Return type: float Return type: float
Description: Get music time length (in seconds) Description: Get music time length (in seconds)
Param[1]: music (type: Music) Param[1]: music (type: Music)
Function 580: GetMusicTimePlayed() (1 input parameters) Function 578: GetMusicTimePlayed() (1 input parameters)
Name: GetMusicTimePlayed Name: GetMusicTimePlayed
Return type: float Return type: float
Description: Get current music time played (in seconds) Description: Get current music time played (in seconds)
Param[1]: music (type: Music) Param[1]: music (type: Music)
Function 581: LoadAudioStream() (3 input parameters) Function 579: LoadAudioStream() (3 input parameters)
Name: LoadAudioStream Name: LoadAudioStream
Return type: AudioStream Return type: AudioStream
Description: Load audio stream (to stream raw audio pcm data) Description: Load audio stream (to stream raw audio pcm data)
Param[1]: sampleRate (type: unsigned int) Param[1]: sampleRate (type: unsigned int)
Param[2]: sampleSize (type: unsigned int) Param[2]: sampleSize (type: unsigned int)
Param[3]: channels (type: unsigned int) Param[3]: channels (type: unsigned int)
Function 582: IsAudioStreamValid() (1 input parameters) Function 580: IsAudioStreamValid() (1 input parameters)
Name: IsAudioStreamValid Name: IsAudioStreamValid
Return type: bool Return type: bool
Description: Checks if an audio stream is valid (buffers initialized) Description: Checks if an audio stream is valid (buffers initialized)
Param[1]: stream (type: AudioStream) Param[1]: stream (type: AudioStream)
Function 583: UnloadAudioStream() (1 input parameters) Function 581: UnloadAudioStream() (1 input parameters)
Name: UnloadAudioStream Name: UnloadAudioStream
Return type: void Return type: void
Description: Unload audio stream and free memory Description: Unload audio stream and free memory
Param[1]: stream (type: AudioStream) Param[1]: stream (type: AudioStream)
Function 584: UpdateAudioStream() (3 input parameters) Function 582: UpdateAudioStream() (3 input parameters)
Name: UpdateAudioStream Name: UpdateAudioStream
Return type: void Return type: void
Description: Update audio stream buffers with data Description: Update audio stream buffers with data
Param[1]: stream (type: AudioStream) Param[1]: stream (type: AudioStream)
Param[2]: data (type: const void *) Param[2]: data (type: const void *)
Param[3]: frameCount (type: int) Param[3]: frameCount (type: int)
Function 585: IsAudioStreamProcessed() (1 input parameters) Function 583: IsAudioStreamProcessed() (1 input parameters)
Name: IsAudioStreamProcessed Name: IsAudioStreamProcessed
Return type: bool Return type: bool
Description: Check if any audio stream buffers requires refill Description: Check if any audio stream buffers requires refill
Param[1]: stream (type: AudioStream) Param[1]: stream (type: AudioStream)
Function 586: PlayAudioStream() (1 input parameters) Function 584: PlayAudioStream() (1 input parameters)
Name: PlayAudioStream Name: PlayAudioStream
Return type: void Return type: void
Description: Play audio stream Description: Play audio stream
Param[1]: stream (type: AudioStream) Param[1]: stream (type: AudioStream)
Function 587: PauseAudioStream() (1 input parameters) Function 585: PauseAudioStream() (1 input parameters)
Name: PauseAudioStream Name: PauseAudioStream
Return type: void Return type: void
Description: Pause audio stream Description: Pause audio stream
Param[1]: stream (type: AudioStream) Param[1]: stream (type: AudioStream)
Function 588: ResumeAudioStream() (1 input parameters) Function 586: ResumeAudioStream() (1 input parameters)
Name: ResumeAudioStream Name: ResumeAudioStream
Return type: void Return type: void
Description: Resume audio stream Description: Resume audio stream
Param[1]: stream (type: AudioStream) Param[1]: stream (type: AudioStream)
Function 589: IsAudioStreamPlaying() (1 input parameters) Function 587: IsAudioStreamPlaying() (1 input parameters)
Name: IsAudioStreamPlaying Name: IsAudioStreamPlaying
Return type: bool Return type: bool
Description: Check if audio stream is playing Description: Check if audio stream is playing
Param[1]: stream (type: AudioStream) Param[1]: stream (type: AudioStream)
Function 590: StopAudioStream() (1 input parameters) Function 588: StopAudioStream() (1 input parameters)
Name: StopAudioStream Name: StopAudioStream
Return type: void Return type: void
Description: Stop audio stream Description: Stop audio stream
Param[1]: stream (type: AudioStream) Param[1]: stream (type: AudioStream)
Function 591: SetAudioStreamVolume() (2 input parameters) Function 589: SetAudioStreamVolume() (2 input parameters)
Name: SetAudioStreamVolume Name: SetAudioStreamVolume
Return type: void Return type: void
Description: Set volume for audio stream (1.0 is max level) Description: Set volume for audio stream (1.0 is max level)
Param[1]: stream (type: AudioStream) Param[1]: stream (type: AudioStream)
Param[2]: volume (type: float) Param[2]: volume (type: float)
Function 592: SetAudioStreamPitch() (2 input parameters) Function 590: SetAudioStreamPitch() (2 input parameters)
Name: SetAudioStreamPitch Name: SetAudioStreamPitch
Return type: void Return type: void
Description: Set pitch for audio stream (1.0 is base level) Description: Set pitch for audio stream (1.0 is base level)
Param[1]: stream (type: AudioStream) Param[1]: stream (type: AudioStream)
Param[2]: pitch (type: float) Param[2]: pitch (type: float)
Function 593: SetAudioStreamPan() (2 input parameters) Function 591: SetAudioStreamPan() (2 input parameters)
Name: SetAudioStreamPan Name: SetAudioStreamPan
Return type: void Return type: void
Description: Set pan for audio stream (-1.0 to 1.0 range, 0.0 is centered) Description: Set pan for audio stream (-1.0 to 1.0 range, 0.0 is centered)
Param[1]: stream (type: AudioStream) Param[1]: stream (type: AudioStream)
Param[2]: pan (type: float) Param[2]: pan (type: float)
Function 594: SetAudioStreamBufferSizeDefault() (1 input parameters) Function 592: SetAudioStreamBufferSizeDefault() (1 input parameters)
Name: SetAudioStreamBufferSizeDefault Name: SetAudioStreamBufferSizeDefault
Return type: void Return type: void
Description: Default size for new audio streams Description: Default size for new audio streams
Param[1]: size (type: int) Param[1]: size (type: int)
Function 595: SetAudioStreamCallback() (2 input parameters) Function 593: SetAudioStreamCallback() (2 input parameters)
Name: SetAudioStreamCallback Name: SetAudioStreamCallback
Return type: void Return type: void
Description: Audio thread callback to request new data Description: Audio thread callback to request new data
Param[1]: stream (type: AudioStream) Param[1]: stream (type: AudioStream)
Param[2]: callback (type: AudioCallback) Param[2]: callback (type: AudioCallback)
Function 596: AttachAudioStreamProcessor() (2 input parameters) Function 594: AttachAudioStreamProcessor() (2 input parameters)
Name: AttachAudioStreamProcessor Name: AttachAudioStreamProcessor
Return type: void Return type: void
Description: Attach audio stream processor to stream, receives frames x 2 samples as 'float' (stereo) Description: Attach audio stream processor to stream, receives frames x 2 samples as 'float' (stereo)
Param[1]: stream (type: AudioStream) Param[1]: stream (type: AudioStream)
Param[2]: processor (type: AudioCallback) Param[2]: processor (type: AudioCallback)
Function 597: DetachAudioStreamProcessor() (2 input parameters) Function 595: DetachAudioStreamProcessor() (2 input parameters)
Name: DetachAudioStreamProcessor Name: DetachAudioStreamProcessor
Return type: void Return type: void
Description: Detach audio stream processor from stream Description: Detach audio stream processor from stream
Param[1]: stream (type: AudioStream) Param[1]: stream (type: AudioStream)
Param[2]: processor (type: AudioCallback) Param[2]: processor (type: AudioCallback)
Function 598: AttachAudioMixedProcessor() (1 input parameters) Function 596: AttachAudioMixedProcessor() (1 input parameters)
Name: AttachAudioMixedProcessor Name: AttachAudioMixedProcessor
Return type: void Return type: void
Description: Attach audio stream processor to the entire audio pipeline, receives frames x 2 samples as 'float' (stereo) Description: Attach audio stream processor to the entire audio pipeline, receives frames x 2 samples as 'float' (stereo)
Param[1]: processor (type: AudioCallback) Param[1]: processor (type: AudioCallback)
Function 599: DetachAudioMixedProcessor() (1 input parameters) Function 597: DetachAudioMixedProcessor() (1 input parameters)
Name: DetachAudioMixedProcessor Name: DetachAudioMixedProcessor
Return type: void Return type: void
Description: Detach audio stream processor from the entire audio pipeline Description: Detach audio stream processor from the entire audio pipeline

View File

@ -2755,20 +2755,6 @@
<Param type="Vector3" name="scale" desc="" /> <Param type="Vector3" name="scale" desc="" />
<Param type="Color" name="tint" desc="" /> <Param type="Color" name="tint" desc="" />
</Function> </Function>
<Function name="DrawModelPoints" retType="void" paramCount="4" desc="Draw a model as points">
<Param type="Model" name="model" desc="" />
<Param type="Vector3" name="position" desc="" />
<Param type="float" name="scale" desc="" />
<Param type="Color" name="tint" desc="" />
</Function>
<Function name="DrawModelPointsEx" retType="void" paramCount="6" desc="Draw a model as points with extended parameters">
<Param type="Model" name="model" desc="" />
<Param type="Vector3" name="position" desc="" />
<Param type="Vector3" name="rotationAxis" desc="" />
<Param type="float" name="rotationAngle" desc="" />
<Param type="Vector3" name="scale" desc="" />
<Param type="Color" name="tint" desc="" />
</Function>
<Function name="DrawBoundingBox" retType="void" paramCount="2" desc="Draw bounding box (wires)"> <Function name="DrawBoundingBox" retType="void" paramCount="2" desc="Draw bounding box (wires)">
<Param type="BoundingBox" name="box" desc="" /> <Param type="BoundingBox" name="box" desc="" />
<Param type="Color" name="color" desc="" /> <Param type="Color" name="color" desc="" />