mirror of
https://github.com/raysan5/raylib.git
synced 2026-01-30 02:39:17 -05:00
Updated raylib syntax analysis (markdown)
@ -62,8 +62,7 @@ pattern | function format | API count | examples
|
|||||||
01 | `TYPE Color*()` | 7 | `ColorAlpha()`, `ColorFromHSV()`, `ColorToHSV()`
|
01 | `TYPE Color*()` | 7 | `ColorAlpha()`, `ColorFromHSV()`, `ColorToHSV()`
|
||||||
02 | `Image Image*()`<br>`void Image*()` | **40** | `ImageFormat()`, `ImageCrop()`, `ImageResize()`,` ImageFlipVertical()`
|
02 | `Image Image*()`<br>`void Image*()` | **40** | `ImageFormat()`, `ImageCrop()`, `ImageResize()`,` ImageFlipVertical()`
|
||||||
03 | `TYPE Text*()` | **16** | `TextFormat()`, `TextReplace()`, `TextSplit()`, `TextToLower()`
|
03 | `TYPE Text*()` | **16** | `TextFormat()`, `TextReplace()`, `TextSplit()`, `TextToLower()`
|
||||||
04 | `Mesh*()` | 2 | `MeshTangents()`, `MeshBinormals()`
|
04 | `Wave Wave*()`<br>`void Wave*()` | 3 | `WaveFormat()`, `WaveCopy()`, `WaveCrop()`
|
||||||
05 | `Wave Wave*()`<br>`void Wave*()` | 3 | `WaveFormat()`, `WaveCopy()`, `WaveCrop()`
|
|
||||||
|
|
||||||
_NOTE: Maybe some of them are renamed in the future for consistency._
|
_NOTE: Maybe some of them are renamed in the future for consistency._
|
||||||
|
|
||||||
@ -142,7 +141,6 @@ void ImageDrawTextEx();
|
|||||||
void DrawTextureEx();
|
void DrawTextureEx();
|
||||||
Font LoadFontEx();
|
Font LoadFontEx();
|
||||||
void DrawTextEx();
|
void DrawTextEx();
|
||||||
void DrawTextRecEx();
|
|
||||||
Vector2 MeasureTextEx();
|
Vector2 MeasureTextEx();
|
||||||
void DrawSphereEx();
|
void DrawSphereEx();
|
||||||
void DrawModelEx();
|
void DrawModelEx();
|
||||||
@ -151,6 +149,7 @@ void DrawModelWiresEx();
|
|||||||
// Suffix: *Pro() -> Used for "Professional" versions of same name functions, more advanced than "Ex"
|
// Suffix: *Pro() -> Used for "Professional" versions of same name functions, more advanced than "Ex"
|
||||||
void DrawRectanglePro();
|
void DrawRectanglePro();
|
||||||
void DrawTexturePro();
|
void DrawTexturePro();
|
||||||
|
void DrawTextPro();
|
||||||
void DrawBillboardPro();
|
void DrawBillboardPro();
|
||||||
|
|
||||||
// Suffix: *Rec() -> Used for functions requiring a "Rectangle" as one main input parameter
|
// Suffix: *Rec() -> Used for functions requiring a "Rectangle" as one main input parameter
|
||||||
@ -161,7 +160,6 @@ Rectangle GetCollisionRec();
|
|||||||
void ImageDrawRectangleRec();
|
void ImageDrawRectangleRec();
|
||||||
void UpdateTextureRec();
|
void UpdateTextureRec();
|
||||||
void DrawTextureRec();
|
void DrawTextureRec();
|
||||||
void DrawTextRec();
|
|
||||||
void DrawBillboardRec();
|
void DrawBillboardRec();
|
||||||
|
|
||||||
// Suffix: *FromMemory() -> Used for functions loading data "from memory" instead of from files
|
// Suffix: *FromMemory() -> Used for functions loading data "from memory" instead of from files
|
||||||
@ -231,17 +229,16 @@ count| function | param count | comments
|
|||||||
020 | `LoadFontData()` | 6 |
|
020 | `LoadFontData()` | 6 |
|
||||||
021 | `GenImageFontAtlas()` | 6 |
|
021 | `GenImageFontAtlas()` | 6 |
|
||||||
022 | `DrawTextEx()` | 6 |
|
022 | `DrawTextEx()` | 6 |
|
||||||
023 | `DrawTextRec()` | 7 | _WARNING: >6 parameters_
|
023 | `DrawTextPro()` | 8 | _WARNING: >6 parameters_
|
||||||
024 | `DrawTextRecEx()` | **11** | **TODO: Review!!!**
|
024 | `DrawCubeTexture()` | 6 |
|
||||||
025 | `DrawCubeTexture()` | 6 |
|
025 | `DrawCylinder()` | 6 |
|
||||||
026 | `DrawCylinder()` | 6 |
|
026 | `DrawCylinderWires()` | 6 |
|
||||||
027 | `DrawCylinderWires()` | 6 |
|
027 | `DrawModelEx()` | 6 |
|
||||||
028 | `DrawModelEx()` | 6 |
|
028 | `DrawModelWiresEx()` | 6 |
|
||||||
029 | `DrawModelWiresEx()` | 6 |
|
029 | `DrawBillboardRec()` | 6 |
|
||||||
030 | `DrawBillboardRec()` | 6 |
|
030 | `DrawBillboardPro()` | 8 | _WARNING: >6 parameters_
|
||||||
031 | `DrawBillboardPro()` | 8 | _WARNING: >6 parameters_
|
|
||||||
|
|
||||||
Note that **only 7 function out of 470** require more than 6 parameters. This is what makes raylib so special.
|
Note that **only 6 function out of 470** require more than 6 parameters. This is what makes raylib so special.
|
||||||
|
|
||||||
## Structures
|
## Structures
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user