raylib 5.0.0.3__cp313-cp313-manylinux2014_x86_64.whl → 5.0.0.5__cp313-cp313-manylinux2014_x86_64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of raylib might be problematic. Click here for more details.
- pyray/__init__.pyi +3734 -3603
- pyray/py.typed +0 -0
- raylib/__init__.py +8 -2
- raylib/__init__.pyi +1030 -755
- raylib/{_raylib_cffi.abi3.so → _raylib_cffi.cpython-313-x86_64-linux-gnu.so} +0 -0
- raylib/build.py +5 -2
- raylib/defines.py +0 -6
- raylib/glfw3.h.modified +5502 -0
- raylib/physac.h.modified +165 -0
- raylib/py.typed +0 -0
- raylib/raygui.h.modified +843 -0
- raylib/raylib.h.modified +1409 -0
- raylib/raymath.h.modified +219 -0
- raylib/rlgl.h.modified +505 -0
- raylib/version.py +1 -1
- {raylib-5.0.0.3.dist-info → raylib-5.0.0.5.dist-info}/METADATA +4 -4
- raylib-5.0.0.5.dist-info/RECORD +23 -0
- {raylib-5.0.0.3.dist-info → raylib-5.0.0.5.dist-info}/WHEEL +1 -1
- raylib-5.0.0.3.dist-info/RECORD +0 -15
- {raylib-5.0.0.3.dist-info → raylib-5.0.0.5.dist-info}/LICENSE +0 -0
- {raylib-5.0.0.3.dist-info → raylib-5.0.0.5.dist-info}/top_level.txt +0 -0
raylib/__init__.pyi
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
from typing import Any
|
|
2
2
|
|
|
3
|
-
import _cffi_backend
|
|
3
|
+
import _cffi_backend # type: ignore
|
|
4
4
|
|
|
5
5
|
ffi: _cffi_backend.FFI
|
|
6
6
|
rl: _cffi_backend.Lib
|
|
@@ -14,7 +14,7 @@ ARROW_PADDING: int
|
|
|
14
14
|
def AttachAudioMixedProcessor(processor: Any,) -> None:
|
|
15
15
|
"""Attach audio stream processor to the entire audio pipeline, receives the samples as <float>s"""
|
|
16
16
|
...
|
|
17
|
-
def AttachAudioStreamProcessor(stream: AudioStream,processor: Any,) -> None:
|
|
17
|
+
def AttachAudioStreamProcessor(stream: AudioStream|list|tuple,processor: Any,) -> None:
|
|
18
18
|
"""Attach audio stream processor to stream, receives the samples as <float>s"""
|
|
19
19
|
...
|
|
20
20
|
BACKGROUND_COLOR: int
|
|
@@ -42,22 +42,22 @@ def BeginBlendMode(mode: int,) -> None:
|
|
|
42
42
|
def BeginDrawing() -> None:
|
|
43
43
|
"""Setup canvas (framebuffer) to start drawing"""
|
|
44
44
|
...
|
|
45
|
-
def BeginMode2D(camera: Camera2D,) -> None:
|
|
45
|
+
def BeginMode2D(camera: Camera2D|list|tuple,) -> None:
|
|
46
46
|
"""Begin 2D mode with custom camera (2D)"""
|
|
47
47
|
...
|
|
48
|
-
def BeginMode3D(camera: Camera3D,) -> None:
|
|
48
|
+
def BeginMode3D(camera: Camera3D|list|tuple,) -> None:
|
|
49
49
|
"""Begin 3D mode with custom camera (3D)"""
|
|
50
50
|
...
|
|
51
51
|
def BeginScissorMode(x: int,y: int,width: int,height: int,) -> None:
|
|
52
52
|
"""Begin scissor mode (define screen area for following drawing)"""
|
|
53
53
|
...
|
|
54
|
-
def BeginShaderMode(shader: Shader,) -> None:
|
|
54
|
+
def BeginShaderMode(shader: Shader|list|tuple,) -> None:
|
|
55
55
|
"""Begin custom shader drawing"""
|
|
56
56
|
...
|
|
57
|
-
def BeginTextureMode(target: RenderTexture,) -> None:
|
|
57
|
+
def BeginTextureMode(target: RenderTexture|list|tuple,) -> None:
|
|
58
58
|
"""Begin drawing to render texture"""
|
|
59
59
|
...
|
|
60
|
-
def BeginVrStereoMode(config: VrStereoConfig,) -> None:
|
|
60
|
+
def BeginVrStereoMode(config: VrStereoConfig|list|tuple,) -> None:
|
|
61
61
|
"""Begin stereo rendering (requires VR simulator)"""
|
|
62
62
|
...
|
|
63
63
|
CAMERA_CUSTOM: int
|
|
@@ -80,49 +80,49 @@ CUBEMAP_LAYOUT_CROSS_THREE_BY_FOUR: int
|
|
|
80
80
|
CUBEMAP_LAYOUT_LINE_HORIZONTAL: int
|
|
81
81
|
CUBEMAP_LAYOUT_LINE_VERTICAL: int
|
|
82
82
|
CUBEMAP_LAYOUT_PANORAMA: int
|
|
83
|
-
def ChangeDirectory(dir:
|
|
83
|
+
def ChangeDirectory(dir: bytes,) -> bool:
|
|
84
84
|
"""Change working directory, return true on success"""
|
|
85
85
|
...
|
|
86
|
-
def CheckCollisionBoxSphere(box: BoundingBox,center: Vector3,radius: float,) -> bool:
|
|
86
|
+
def CheckCollisionBoxSphere(box: BoundingBox|list|tuple,center: Vector3|list|tuple,radius: float,) -> bool:
|
|
87
87
|
"""Check collision between box and sphere"""
|
|
88
88
|
...
|
|
89
|
-
def CheckCollisionBoxes(box1: BoundingBox,box2: BoundingBox,) -> bool:
|
|
89
|
+
def CheckCollisionBoxes(box1: BoundingBox|list|tuple,box2: BoundingBox|list|tuple,) -> bool:
|
|
90
90
|
"""Check collision between two bounding boxes"""
|
|
91
91
|
...
|
|
92
|
-
def CheckCollisionCircleRec(center: Vector2,radius: float,rec: Rectangle,) -> bool:
|
|
92
|
+
def CheckCollisionCircleRec(center: Vector2|list|tuple,radius: float,rec: Rectangle|list|tuple,) -> bool:
|
|
93
93
|
"""Check collision between circle and rectangle"""
|
|
94
94
|
...
|
|
95
|
-
def CheckCollisionCircles(center1: Vector2,radius1: float,center2: Vector2,radius2: float,) -> bool:
|
|
95
|
+
def CheckCollisionCircles(center1: Vector2|list|tuple,radius1: float,center2: Vector2|list|tuple,radius2: float,) -> bool:
|
|
96
96
|
"""Check collision between two circles"""
|
|
97
97
|
...
|
|
98
|
-
def CheckCollisionLines(startPos1: Vector2,endPos1: Vector2,startPos2: Vector2,endPos2: Vector2,collisionPoint: Any,) -> bool:
|
|
98
|
+
def CheckCollisionLines(startPos1: Vector2|list|tuple,endPos1: Vector2|list|tuple,startPos2: Vector2|list|tuple,endPos2: Vector2|list|tuple,collisionPoint: Any|list|tuple,) -> bool:
|
|
99
99
|
"""Check the collision between two lines defined by two points each, returns collision point by reference"""
|
|
100
100
|
...
|
|
101
|
-
def CheckCollisionPointCircle(point: Vector2,center: Vector2,radius: float,) -> bool:
|
|
101
|
+
def CheckCollisionPointCircle(point: Vector2|list|tuple,center: Vector2|list|tuple,radius: float,) -> bool:
|
|
102
102
|
"""Check if point is inside circle"""
|
|
103
103
|
...
|
|
104
|
-
def CheckCollisionPointLine(point: Vector2,p1: Vector2,p2: Vector2,threshold: int,) -> bool:
|
|
104
|
+
def CheckCollisionPointLine(point: Vector2|list|tuple,p1: Vector2|list|tuple,p2: Vector2|list|tuple,threshold: int,) -> bool:
|
|
105
105
|
"""Check if point belongs to line created between two points [p1] and [p2] with defined margin in pixels [threshold]"""
|
|
106
106
|
...
|
|
107
|
-
def CheckCollisionPointPoly(point: Vector2,points: Any,pointCount: int,) -> bool:
|
|
107
|
+
def CheckCollisionPointPoly(point: Vector2|list|tuple,points: Any|list|tuple,pointCount: int,) -> bool:
|
|
108
108
|
"""Check if point is within a polygon described by array of vertices"""
|
|
109
109
|
...
|
|
110
|
-
def CheckCollisionPointRec(point: Vector2,rec: Rectangle,) -> bool:
|
|
110
|
+
def CheckCollisionPointRec(point: Vector2|list|tuple,rec: Rectangle|list|tuple,) -> bool:
|
|
111
111
|
"""Check if point is inside rectangle"""
|
|
112
112
|
...
|
|
113
|
-
def CheckCollisionPointTriangle(point: Vector2,p1: Vector2,p2: Vector2,p3: Vector2,) -> bool:
|
|
113
|
+
def CheckCollisionPointTriangle(point: Vector2|list|tuple,p1: Vector2|list|tuple,p2: Vector2|list|tuple,p3: Vector2|list|tuple,) -> bool:
|
|
114
114
|
"""Check if point is inside a triangle"""
|
|
115
115
|
...
|
|
116
|
-
def CheckCollisionRecs(rec1: Rectangle,rec2: Rectangle,) -> bool:
|
|
116
|
+
def CheckCollisionRecs(rec1: Rectangle|list|tuple,rec2: Rectangle|list|tuple,) -> bool:
|
|
117
117
|
"""Check collision between two rectangles"""
|
|
118
118
|
...
|
|
119
|
-
def CheckCollisionSpheres(center1: Vector3,radius1: float,center2: Vector3,radius2: float,) -> bool:
|
|
119
|
+
def CheckCollisionSpheres(center1: Vector3|list|tuple,radius1: float,center2: Vector3|list|tuple,radius2: float,) -> bool:
|
|
120
120
|
"""Check collision between two spheres"""
|
|
121
121
|
...
|
|
122
122
|
def Clamp(value: float,min_1: float,max_2: float,) -> float:
|
|
123
123
|
""""""
|
|
124
124
|
...
|
|
125
|
-
def ClearBackground(color: Color,) -> None:
|
|
125
|
+
def ClearBackground(color: Color|list|tuple,) -> None:
|
|
126
126
|
"""Set background color (framebuffer clear color)"""
|
|
127
127
|
...
|
|
128
128
|
def ClearWindowState(flags: int,) -> None:
|
|
@@ -137,70 +137,70 @@ def ClosePhysics() -> None:
|
|
|
137
137
|
def CloseWindow() -> None:
|
|
138
138
|
"""Close window and unload OpenGL context"""
|
|
139
139
|
...
|
|
140
|
-
def CodepointToUTF8(codepoint: int,utf8Size: Any,) ->
|
|
140
|
+
def CodepointToUTF8(codepoint: int,utf8Size: Any,) -> bytes:
|
|
141
141
|
"""Encode one codepoint into UTF-8 byte array (array length returned as parameter)"""
|
|
142
142
|
...
|
|
143
|
-
def ColorAlpha(color: Color,alpha: float,) -> Color:
|
|
143
|
+
def ColorAlpha(color: Color|list|tuple,alpha: float,) -> Color:
|
|
144
144
|
"""Get color with alpha applied, alpha goes from 0.0f to 1.0f"""
|
|
145
145
|
...
|
|
146
|
-
def ColorAlphaBlend(dst: Color,src: Color,tint: Color,) -> Color:
|
|
146
|
+
def ColorAlphaBlend(dst: Color|list|tuple,src: Color|list|tuple,tint: Color|list|tuple,) -> Color:
|
|
147
147
|
"""Get src alpha-blended into dst color with tint"""
|
|
148
148
|
...
|
|
149
|
-
def ColorBrightness(color: Color,factor: float,) -> Color:
|
|
149
|
+
def ColorBrightness(color: Color|list|tuple,factor: float,) -> Color:
|
|
150
150
|
"""Get color with brightness correction, brightness factor goes from -1.0f to 1.0f"""
|
|
151
151
|
...
|
|
152
|
-
def ColorContrast(color: Color,contrast: float,) -> Color:
|
|
152
|
+
def ColorContrast(color: Color|list|tuple,contrast: float,) -> Color:
|
|
153
153
|
"""Get color with contrast correction, contrast values between -1.0f and 1.0f"""
|
|
154
154
|
...
|
|
155
155
|
def ColorFromHSV(hue: float,saturation: float,value: float,) -> Color:
|
|
156
156
|
"""Get a Color from HSV values, hue [0..360], saturation/value [0..1]"""
|
|
157
157
|
...
|
|
158
|
-
def ColorFromNormalized(normalized: Vector4,) -> Color:
|
|
158
|
+
def ColorFromNormalized(normalized: Vector4|list|tuple,) -> Color:
|
|
159
159
|
"""Get Color from normalized values [0..1]"""
|
|
160
160
|
...
|
|
161
|
-
def ColorNormalize(color: Color,) -> Vector4:
|
|
161
|
+
def ColorNormalize(color: Color|list|tuple,) -> Vector4:
|
|
162
162
|
"""Get Color normalized as float [0..1]"""
|
|
163
163
|
...
|
|
164
|
-
def ColorTint(color: Color,tint: Color,) -> Color:
|
|
164
|
+
def ColorTint(color: Color|list|tuple,tint: Color|list|tuple,) -> Color:
|
|
165
165
|
"""Get color multiplied with another color"""
|
|
166
166
|
...
|
|
167
|
-
def ColorToHSV(color: Color,) -> Vector3:
|
|
167
|
+
def ColorToHSV(color: Color|list|tuple,) -> Vector3:
|
|
168
168
|
"""Get HSV values for a Color, hue [0..360], saturation/value [0..1]"""
|
|
169
169
|
...
|
|
170
|
-
def ColorToInt(color: Color,) -> int:
|
|
170
|
+
def ColorToInt(color: Color|list|tuple,) -> int:
|
|
171
171
|
"""Get hexadecimal value for a Color"""
|
|
172
172
|
...
|
|
173
|
-
def CompressData(data:
|
|
173
|
+
def CompressData(data: bytes,dataSize: int,compDataSize: Any,) -> bytes:
|
|
174
174
|
"""Compress data (DEFLATE algorithm), memory must be MemFree()"""
|
|
175
175
|
...
|
|
176
|
-
def CreatePhysicsBodyCircle(pos: Vector2,radius: float,density: float,) -> Any:
|
|
176
|
+
def CreatePhysicsBodyCircle(pos: Vector2|list|tuple,radius: float,density: float,) -> Any:
|
|
177
177
|
"""Creates a new circle physics body with generic parameters"""
|
|
178
178
|
...
|
|
179
|
-
def CreatePhysicsBodyPolygon(pos: Vector2,radius: float,sides: int,density: float,) -> Any:
|
|
179
|
+
def CreatePhysicsBodyPolygon(pos: Vector2|list|tuple,radius: float,sides: int,density: float,) -> Any:
|
|
180
180
|
"""Creates a new polygon physics body with generic parameters"""
|
|
181
181
|
...
|
|
182
|
-
def CreatePhysicsBodyRectangle(pos: Vector2,width: float,height: float,density: float,) -> Any:
|
|
182
|
+
def CreatePhysicsBodyRectangle(pos: Vector2|list|tuple,width: float,height: float,density: float,) -> Any:
|
|
183
183
|
"""Creates a new rectangle physics body with generic parameters"""
|
|
184
184
|
...
|
|
185
185
|
DEFAULT: int
|
|
186
186
|
DROPDOWNBOX: int
|
|
187
187
|
DROPDOWN_ITEMS_SPACING: int
|
|
188
|
-
def DecodeDataBase64(data:
|
|
188
|
+
def DecodeDataBase64(data: bytes,outputSize: Any,) -> bytes:
|
|
189
189
|
"""Decode Base64 string data, memory must be MemFree()"""
|
|
190
190
|
...
|
|
191
|
-
def DecompressData(compData:
|
|
191
|
+
def DecompressData(compData: bytes,compDataSize: int,dataSize: Any,) -> bytes:
|
|
192
192
|
"""Decompress data (DEFLATE algorithm), memory must be MemFree()"""
|
|
193
193
|
...
|
|
194
|
-
def DestroyPhysicsBody(body: Any,) -> None:
|
|
194
|
+
def DestroyPhysicsBody(body: Any|list|tuple,) -> None:
|
|
195
195
|
"""Destroy a physics body"""
|
|
196
196
|
...
|
|
197
197
|
def DetachAudioMixedProcessor(processor: Any,) -> None:
|
|
198
198
|
"""Detach audio stream processor from the entire audio pipeline"""
|
|
199
199
|
...
|
|
200
|
-
def DetachAudioStreamProcessor(stream: AudioStream,processor: Any,) -> None:
|
|
200
|
+
def DetachAudioStreamProcessor(stream: AudioStream|list|tuple,processor: Any,) -> None:
|
|
201
201
|
"""Detach audio stream processor from stream"""
|
|
202
202
|
...
|
|
203
|
-
def DirectoryExists(dirPath:
|
|
203
|
+
def DirectoryExists(dirPath: bytes,) -> bool:
|
|
204
204
|
"""Check if a directory path exists"""
|
|
205
205
|
...
|
|
206
206
|
def DisableCursor() -> None:
|
|
@@ -209,76 +209,76 @@ def DisableCursor() -> None:
|
|
|
209
209
|
def DisableEventWaiting() -> None:
|
|
210
210
|
"""Disable waiting for events on EndDrawing(), automatic events polling"""
|
|
211
211
|
...
|
|
212
|
-
def DrawBillboard(camera: Camera3D,texture: Texture,position: Vector3,size: float,tint: Color,) -> None:
|
|
212
|
+
def DrawBillboard(camera: Camera3D|list|tuple,texture: Texture|list|tuple,position: Vector3|list|tuple,size: float,tint: Color|list|tuple,) -> None:
|
|
213
213
|
"""Draw a billboard texture"""
|
|
214
214
|
...
|
|
215
|
-
def DrawBillboardPro(camera: Camera3D,texture: Texture,source: Rectangle,position: Vector3,up: Vector3,size: Vector2,origin: Vector2,rotation: float,tint: Color,) -> None:
|
|
215
|
+
def DrawBillboardPro(camera: Camera3D|list|tuple,texture: Texture|list|tuple,source: Rectangle|list|tuple,position: Vector3|list|tuple,up: Vector3|list|tuple,size: Vector2|list|tuple,origin: Vector2|list|tuple,rotation: float,tint: Color|list|tuple,) -> None:
|
|
216
216
|
"""Draw a billboard texture defined by source and rotation"""
|
|
217
217
|
...
|
|
218
|
-
def DrawBillboardRec(camera: Camera3D,texture: Texture,source: Rectangle,position: Vector3,size: Vector2,tint: Color,) -> None:
|
|
218
|
+
def DrawBillboardRec(camera: Camera3D|list|tuple,texture: Texture|list|tuple,source: Rectangle|list|tuple,position: Vector3|list|tuple,size: Vector2|list|tuple,tint: Color|list|tuple,) -> None:
|
|
219
219
|
"""Draw a billboard texture defined by source"""
|
|
220
220
|
...
|
|
221
|
-
def DrawBoundingBox(box: BoundingBox,color: Color,) -> None:
|
|
221
|
+
def DrawBoundingBox(box: BoundingBox|list|tuple,color: Color|list|tuple,) -> None:
|
|
222
222
|
"""Draw bounding box (wires)"""
|
|
223
223
|
...
|
|
224
|
-
def DrawCapsule(startPos: Vector3,endPos: Vector3,radius: float,slices: int,rings: int,color: Color,) -> None:
|
|
224
|
+
def DrawCapsule(startPos: Vector3|list|tuple,endPos: Vector3|list|tuple,radius: float,slices: int,rings: int,color: Color|list|tuple,) -> None:
|
|
225
225
|
"""Draw a capsule with the center of its sphere caps at startPos and endPos"""
|
|
226
226
|
...
|
|
227
|
-
def DrawCapsuleWires(startPos: Vector3,endPos: Vector3,radius: float,slices: int,rings: int,color: Color,) -> None:
|
|
227
|
+
def DrawCapsuleWires(startPos: Vector3|list|tuple,endPos: Vector3|list|tuple,radius: float,slices: int,rings: int,color: Color|list|tuple,) -> None:
|
|
228
228
|
"""Draw capsule wireframe with the center of its sphere caps at startPos and endPos"""
|
|
229
229
|
...
|
|
230
|
-
def DrawCircle(centerX: int,centerY: int,radius: float,color: Color,) -> None:
|
|
230
|
+
def DrawCircle(centerX: int,centerY: int,radius: float,color: Color|list|tuple,) -> None:
|
|
231
231
|
"""Draw a color-filled circle"""
|
|
232
232
|
...
|
|
233
|
-
def DrawCircle3D(center: Vector3,radius: float,rotationAxis: Vector3,rotationAngle: float,color: Color,) -> None:
|
|
233
|
+
def DrawCircle3D(center: Vector3|list|tuple,radius: float,rotationAxis: Vector3|list|tuple,rotationAngle: float,color: Color|list|tuple,) -> None:
|
|
234
234
|
"""Draw a circle in 3D world space"""
|
|
235
235
|
...
|
|
236
|
-
def DrawCircleGradient(centerX: int,centerY: int,radius: float,color1: Color,color2: Color,) -> None:
|
|
236
|
+
def DrawCircleGradient(centerX: int,centerY: int,radius: float,color1: Color|list|tuple,color2: Color|list|tuple,) -> None:
|
|
237
237
|
"""Draw a gradient-filled circle"""
|
|
238
238
|
...
|
|
239
|
-
def DrawCircleLines(centerX: int,centerY: int,radius: float,color: Color,) -> None:
|
|
239
|
+
def DrawCircleLines(centerX: int,centerY: int,radius: float,color: Color|list|tuple,) -> None:
|
|
240
240
|
"""Draw circle outline"""
|
|
241
241
|
...
|
|
242
|
-
def DrawCircleLinesV(center: Vector2,radius: float,color: Color,) -> None:
|
|
242
|
+
def DrawCircleLinesV(center: Vector2|list|tuple,radius: float,color: Color|list|tuple,) -> None:
|
|
243
243
|
"""Draw circle outline (Vector version)"""
|
|
244
244
|
...
|
|
245
|
-
def DrawCircleSector(center: Vector2,radius: float,startAngle: float,endAngle: float,segments: int,color: Color,) -> None:
|
|
245
|
+
def DrawCircleSector(center: Vector2|list|tuple,radius: float,startAngle: float,endAngle: float,segments: int,color: Color|list|tuple,) -> None:
|
|
246
246
|
"""Draw a piece of a circle"""
|
|
247
247
|
...
|
|
248
|
-
def DrawCircleSectorLines(center: Vector2,radius: float,startAngle: float,endAngle: float,segments: int,color: Color,) -> None:
|
|
248
|
+
def DrawCircleSectorLines(center: Vector2|list|tuple,radius: float,startAngle: float,endAngle: float,segments: int,color: Color|list|tuple,) -> None:
|
|
249
249
|
"""Draw circle sector outline"""
|
|
250
250
|
...
|
|
251
|
-
def DrawCircleV(center: Vector2,radius: float,color: Color,) -> None:
|
|
251
|
+
def DrawCircleV(center: Vector2|list|tuple,radius: float,color: Color|list|tuple,) -> None:
|
|
252
252
|
"""Draw a color-filled circle (Vector version)"""
|
|
253
253
|
...
|
|
254
|
-
def DrawCube(position: Vector3,width: float,height: float,length: float,color: Color,) -> None:
|
|
254
|
+
def DrawCube(position: Vector3|list|tuple,width: float,height: float,length: float,color: Color|list|tuple,) -> None:
|
|
255
255
|
"""Draw cube"""
|
|
256
256
|
...
|
|
257
|
-
def DrawCubeV(position: Vector3,size: Vector3,color: Color,) -> None:
|
|
257
|
+
def DrawCubeV(position: Vector3|list|tuple,size: Vector3|list|tuple,color: Color|list|tuple,) -> None:
|
|
258
258
|
"""Draw cube (Vector version)"""
|
|
259
259
|
...
|
|
260
|
-
def DrawCubeWires(position: Vector3,width: float,height: float,length: float,color: Color,) -> None:
|
|
260
|
+
def DrawCubeWires(position: Vector3|list|tuple,width: float,height: float,length: float,color: Color|list|tuple,) -> None:
|
|
261
261
|
"""Draw cube wires"""
|
|
262
262
|
...
|
|
263
|
-
def DrawCubeWiresV(position: Vector3,size: Vector3,color: Color,) -> None:
|
|
263
|
+
def DrawCubeWiresV(position: Vector3|list|tuple,size: Vector3|list|tuple,color: Color|list|tuple,) -> None:
|
|
264
264
|
"""Draw cube wires (Vector version)"""
|
|
265
265
|
...
|
|
266
|
-
def DrawCylinder(position: Vector3,radiusTop: float,radiusBottom: float,height: float,slices: int,color: Color,) -> None:
|
|
266
|
+
def DrawCylinder(position: Vector3|list|tuple,radiusTop: float,radiusBottom: float,height: float,slices: int,color: Color|list|tuple,) -> None:
|
|
267
267
|
"""Draw a cylinder/cone"""
|
|
268
268
|
...
|
|
269
|
-
def DrawCylinderEx(startPos: Vector3,endPos: Vector3,startRadius: float,endRadius: float,sides: int,color: Color,) -> None:
|
|
269
|
+
def DrawCylinderEx(startPos: Vector3|list|tuple,endPos: Vector3|list|tuple,startRadius: float,endRadius: float,sides: int,color: Color|list|tuple,) -> None:
|
|
270
270
|
"""Draw a cylinder with base at startPos and top at endPos"""
|
|
271
271
|
...
|
|
272
|
-
def DrawCylinderWires(position: Vector3,radiusTop: float,radiusBottom: float,height: float,slices: int,color: Color,) -> None:
|
|
272
|
+
def DrawCylinderWires(position: Vector3|list|tuple,radiusTop: float,radiusBottom: float,height: float,slices: int,color: Color|list|tuple,) -> None:
|
|
273
273
|
"""Draw a cylinder/cone wires"""
|
|
274
274
|
...
|
|
275
|
-
def DrawCylinderWiresEx(startPos: Vector3,endPos: Vector3,startRadius: float,endRadius: float,sides: int,color: Color,) -> None:
|
|
275
|
+
def DrawCylinderWiresEx(startPos: Vector3|list|tuple,endPos: Vector3|list|tuple,startRadius: float,endRadius: float,sides: int,color: Color|list|tuple,) -> None:
|
|
276
276
|
"""Draw a cylinder wires with base at startPos and top at endPos"""
|
|
277
277
|
...
|
|
278
|
-
def DrawEllipse(centerX: int,centerY: int,radiusH: float,radiusV: float,color: Color,) -> None:
|
|
278
|
+
def DrawEllipse(centerX: int,centerY: int,radiusH: float,radiusV: float,color: Color|list|tuple,) -> None:
|
|
279
279
|
"""Draw ellipse"""
|
|
280
280
|
...
|
|
281
|
-
def DrawEllipseLines(centerX: int,centerY: int,radiusH: float,radiusV: float,color: Color,) -> None:
|
|
281
|
+
def DrawEllipseLines(centerX: int,centerY: int,radiusH: float,radiusV: float,color: Color|list|tuple,) -> None:
|
|
282
282
|
"""Draw ellipse outline"""
|
|
283
283
|
...
|
|
284
284
|
def DrawFPS(posX: int,posY: int,) -> None:
|
|
@@ -287,193 +287,193 @@ def DrawFPS(posX: int,posY: int,) -> None:
|
|
|
287
287
|
def DrawGrid(slices: int,spacing: float,) -> None:
|
|
288
288
|
"""Draw a grid (centered at (0, 0, 0))"""
|
|
289
289
|
...
|
|
290
|
-
def DrawLine(startPosX: int,startPosY: int,endPosX: int,endPosY: int,color: Color,) -> None:
|
|
290
|
+
def DrawLine(startPosX: int,startPosY: int,endPosX: int,endPosY: int,color: Color|list|tuple,) -> None:
|
|
291
291
|
"""Draw a line"""
|
|
292
292
|
...
|
|
293
|
-
def DrawLine3D(startPos: Vector3,endPos: Vector3,color: Color,) -> None:
|
|
293
|
+
def DrawLine3D(startPos: Vector3|list|tuple,endPos: Vector3|list|tuple,color: Color|list|tuple,) -> None:
|
|
294
294
|
"""Draw a line in 3D world space"""
|
|
295
295
|
...
|
|
296
|
-
def DrawLineBezier(startPos: Vector2,endPos: Vector2,thick: float,color: Color,) -> None:
|
|
296
|
+
def DrawLineBezier(startPos: Vector2|list|tuple,endPos: Vector2|list|tuple,thick: float,color: Color|list|tuple,) -> None:
|
|
297
297
|
"""Draw line segment cubic-bezier in-out interpolation"""
|
|
298
298
|
...
|
|
299
|
-
def DrawLineEx(startPos: Vector2,endPos: Vector2,thick: float,color: Color,) -> None:
|
|
299
|
+
def DrawLineEx(startPos: Vector2|list|tuple,endPos: Vector2|list|tuple,thick: float,color: Color|list|tuple,) -> None:
|
|
300
300
|
"""Draw a line (using triangles/quads)"""
|
|
301
301
|
...
|
|
302
|
-
def DrawLineStrip(points: Any,pointCount: int,color: Color,) -> None:
|
|
302
|
+
def DrawLineStrip(points: Any|list|tuple,pointCount: int,color: Color|list|tuple,) -> None:
|
|
303
303
|
"""Draw lines sequence (using gl lines)"""
|
|
304
304
|
...
|
|
305
|
-
def DrawLineV(startPos: Vector2,endPos: Vector2,color: Color,) -> None:
|
|
305
|
+
def DrawLineV(startPos: Vector2|list|tuple,endPos: Vector2|list|tuple,color: Color|list|tuple,) -> None:
|
|
306
306
|
"""Draw a line (using gl lines)"""
|
|
307
307
|
...
|
|
308
|
-
def DrawMesh(mesh: Mesh,material: Material,transform: Matrix,) -> None:
|
|
308
|
+
def DrawMesh(mesh: Mesh|list|tuple,material: Material|list|tuple,transform: Matrix|list|tuple,) -> None:
|
|
309
309
|
"""Draw a 3d mesh with material and transform"""
|
|
310
310
|
...
|
|
311
|
-
def DrawMeshInstanced(mesh: Mesh,material: Material,transforms: Any,instances: int,) -> None:
|
|
311
|
+
def DrawMeshInstanced(mesh: Mesh|list|tuple,material: Material|list|tuple,transforms: Any|list|tuple,instances: int,) -> None:
|
|
312
312
|
"""Draw multiple mesh instances with material and different transforms"""
|
|
313
313
|
...
|
|
314
|
-
def DrawModel(model: Model,position: Vector3,scale: float,tint: Color,) -> None:
|
|
314
|
+
def DrawModel(model: Model|list|tuple,position: Vector3|list|tuple,scale: float,tint: Color|list|tuple,) -> None:
|
|
315
315
|
"""Draw a model (with texture if set)"""
|
|
316
316
|
...
|
|
317
|
-
def DrawModelEx(model: Model,position: Vector3,rotationAxis: Vector3,rotationAngle: float,scale: Vector3,tint: Color,) -> None:
|
|
317
|
+
def DrawModelEx(model: Model|list|tuple,position: Vector3|list|tuple,rotationAxis: Vector3|list|tuple,rotationAngle: float,scale: Vector3|list|tuple,tint: Color|list|tuple,) -> None:
|
|
318
318
|
"""Draw a model with extended parameters"""
|
|
319
319
|
...
|
|
320
|
-
def DrawModelWires(model: Model,position: Vector3,scale: float,tint: Color,) -> None:
|
|
320
|
+
def DrawModelWires(model: Model|list|tuple,position: Vector3|list|tuple,scale: float,tint: Color|list|tuple,) -> None:
|
|
321
321
|
"""Draw a model wires (with texture if set)"""
|
|
322
322
|
...
|
|
323
|
-
def DrawModelWiresEx(model: Model,position: Vector3,rotationAxis: Vector3,rotationAngle: float,scale: Vector3,tint: Color,) -> None:
|
|
323
|
+
def DrawModelWiresEx(model: Model|list|tuple,position: Vector3|list|tuple,rotationAxis: Vector3|list|tuple,rotationAngle: float,scale: Vector3|list|tuple,tint: Color|list|tuple,) -> None:
|
|
324
324
|
"""Draw a model wires (with texture if set) with extended parameters"""
|
|
325
325
|
...
|
|
326
|
-
def DrawPixel(posX: int,posY: int,color: Color,) -> None:
|
|
326
|
+
def DrawPixel(posX: int,posY: int,color: Color|list|tuple,) -> None:
|
|
327
327
|
"""Draw a pixel"""
|
|
328
328
|
...
|
|
329
|
-
def DrawPixelV(position: Vector2,color: Color,) -> None:
|
|
329
|
+
def DrawPixelV(position: Vector2|list|tuple,color: Color|list|tuple,) -> None:
|
|
330
330
|
"""Draw a pixel (Vector version)"""
|
|
331
331
|
...
|
|
332
|
-
def DrawPlane(centerPos: Vector3,size: Vector2,color: Color,) -> None:
|
|
332
|
+
def DrawPlane(centerPos: Vector3|list|tuple,size: Vector2|list|tuple,color: Color|list|tuple,) -> None:
|
|
333
333
|
"""Draw a plane XZ"""
|
|
334
334
|
...
|
|
335
|
-
def DrawPoint3D(position: Vector3,color: Color,) -> None:
|
|
335
|
+
def DrawPoint3D(position: Vector3|list|tuple,color: Color|list|tuple,) -> None:
|
|
336
336
|
"""Draw a point in 3D space, actually a small line"""
|
|
337
337
|
...
|
|
338
|
-
def DrawPoly(center: Vector2,sides: int,radius: float,rotation: float,color: Color,) -> None:
|
|
338
|
+
def DrawPoly(center: Vector2|list|tuple,sides: int,radius: float,rotation: float,color: Color|list|tuple,) -> None:
|
|
339
339
|
"""Draw a regular polygon (Vector version)"""
|
|
340
340
|
...
|
|
341
|
-
def DrawPolyLines(center: Vector2,sides: int,radius: float,rotation: float,color: Color,) -> None:
|
|
341
|
+
def DrawPolyLines(center: Vector2|list|tuple,sides: int,radius: float,rotation: float,color: Color|list|tuple,) -> None:
|
|
342
342
|
"""Draw a polygon outline of n sides"""
|
|
343
343
|
...
|
|
344
|
-
def DrawPolyLinesEx(center: Vector2,sides: int,radius: float,rotation: float,lineThick: float,color: Color,) -> None:
|
|
344
|
+
def DrawPolyLinesEx(center: Vector2|list|tuple,sides: int,radius: float,rotation: float,lineThick: float,color: Color|list|tuple,) -> None:
|
|
345
345
|
"""Draw a polygon outline of n sides with extended parameters"""
|
|
346
346
|
...
|
|
347
|
-
def DrawRay(ray: Ray,color: Color,) -> None:
|
|
347
|
+
def DrawRay(ray: Ray|list|tuple,color: Color|list|tuple,) -> None:
|
|
348
348
|
"""Draw a ray line"""
|
|
349
349
|
...
|
|
350
|
-
def DrawRectangle(posX: int,posY: int,width: int,height: int,color: Color,) -> None:
|
|
350
|
+
def DrawRectangle(posX: int,posY: int,width: int,height: int,color: Color|list|tuple,) -> None:
|
|
351
351
|
"""Draw a color-filled rectangle"""
|
|
352
352
|
...
|
|
353
|
-
def DrawRectangleGradientEx(rec: Rectangle,col1: Color,col2: Color,col3: Color,col4: Color,) -> None:
|
|
353
|
+
def DrawRectangleGradientEx(rec: Rectangle|list|tuple,col1: Color|list|tuple,col2: Color|list|tuple,col3: Color|list|tuple,col4: Color|list|tuple,) -> None:
|
|
354
354
|
"""Draw a gradient-filled rectangle with custom vertex colors"""
|
|
355
355
|
...
|
|
356
|
-
def DrawRectangleGradientH(posX: int,posY: int,width: int,height: int,color1: Color,color2: Color,) -> None:
|
|
356
|
+
def DrawRectangleGradientH(posX: int,posY: int,width: int,height: int,color1: Color|list|tuple,color2: Color|list|tuple,) -> None:
|
|
357
357
|
"""Draw a horizontal-gradient-filled rectangle"""
|
|
358
358
|
...
|
|
359
|
-
def DrawRectangleGradientV(posX: int,posY: int,width: int,height: int,color1: Color,color2: Color,) -> None:
|
|
359
|
+
def DrawRectangleGradientV(posX: int,posY: int,width: int,height: int,color1: Color|list|tuple,color2: Color|list|tuple,) -> None:
|
|
360
360
|
"""Draw a vertical-gradient-filled rectangle"""
|
|
361
361
|
...
|
|
362
|
-
def DrawRectangleLines(posX: int,posY: int,width: int,height: int,color: Color,) -> None:
|
|
362
|
+
def DrawRectangleLines(posX: int,posY: int,width: int,height: int,color: Color|list|tuple,) -> None:
|
|
363
363
|
"""Draw rectangle outline"""
|
|
364
364
|
...
|
|
365
|
-
def DrawRectangleLinesEx(rec: Rectangle,lineThick: float,color: Color,) -> None:
|
|
365
|
+
def DrawRectangleLinesEx(rec: Rectangle|list|tuple,lineThick: float,color: Color|list|tuple,) -> None:
|
|
366
366
|
"""Draw rectangle outline with extended parameters"""
|
|
367
367
|
...
|
|
368
|
-
def DrawRectanglePro(rec: Rectangle,origin: Vector2,rotation: float,color: Color,) -> None:
|
|
368
|
+
def DrawRectanglePro(rec: Rectangle|list|tuple,origin: Vector2|list|tuple,rotation: float,color: Color|list|tuple,) -> None:
|
|
369
369
|
"""Draw a color-filled rectangle with pro parameters"""
|
|
370
370
|
...
|
|
371
|
-
def DrawRectangleRec(rec: Rectangle,color: Color,) -> None:
|
|
371
|
+
def DrawRectangleRec(rec: Rectangle|list|tuple,color: Color|list|tuple,) -> None:
|
|
372
372
|
"""Draw a color-filled rectangle"""
|
|
373
373
|
...
|
|
374
|
-
def DrawRectangleRounded(rec: Rectangle,roundness: float,segments: int,color: Color,) -> None:
|
|
374
|
+
def DrawRectangleRounded(rec: Rectangle|list|tuple,roundness: float,segments: int,color: Color|list|tuple,) -> None:
|
|
375
375
|
"""Draw rectangle with rounded edges"""
|
|
376
376
|
...
|
|
377
|
-
def DrawRectangleRoundedLines(rec: Rectangle,roundness: float,segments: int,lineThick: float,color: Color,) -> None:
|
|
377
|
+
def DrawRectangleRoundedLines(rec: Rectangle|list|tuple,roundness: float,segments: int,lineThick: float,color: Color|list|tuple,) -> None:
|
|
378
378
|
"""Draw rectangle with rounded edges outline"""
|
|
379
379
|
...
|
|
380
|
-
def DrawRectangleV(position: Vector2,size: Vector2,color: Color,) -> None:
|
|
380
|
+
def DrawRectangleV(position: Vector2|list|tuple,size: Vector2|list|tuple,color: Color|list|tuple,) -> None:
|
|
381
381
|
"""Draw a color-filled rectangle (Vector version)"""
|
|
382
382
|
...
|
|
383
|
-
def DrawRing(center: Vector2,innerRadius: float,outerRadius: float,startAngle: float,endAngle: float,segments: int,color: Color,) -> None:
|
|
383
|
+
def DrawRing(center: Vector2|list|tuple,innerRadius: float,outerRadius: float,startAngle: float,endAngle: float,segments: int,color: Color|list|tuple,) -> None:
|
|
384
384
|
"""Draw ring"""
|
|
385
385
|
...
|
|
386
|
-
def DrawRingLines(center: Vector2,innerRadius: float,outerRadius: float,startAngle: float,endAngle: float,segments: int,color: Color,) -> None:
|
|
386
|
+
def DrawRingLines(center: Vector2|list|tuple,innerRadius: float,outerRadius: float,startAngle: float,endAngle: float,segments: int,color: Color|list|tuple,) -> None:
|
|
387
387
|
"""Draw ring outline"""
|
|
388
388
|
...
|
|
389
|
-
def DrawSphere(centerPos: Vector3,radius: float,color: Color,) -> None:
|
|
389
|
+
def DrawSphere(centerPos: Vector3|list|tuple,radius: float,color: Color|list|tuple,) -> None:
|
|
390
390
|
"""Draw sphere"""
|
|
391
391
|
...
|
|
392
|
-
def DrawSphereEx(centerPos: Vector3,radius: float,rings: int,slices: int,color: Color,) -> None:
|
|
392
|
+
def DrawSphereEx(centerPos: Vector3|list|tuple,radius: float,rings: int,slices: int,color: Color|list|tuple,) -> None:
|
|
393
393
|
"""Draw sphere with extended parameters"""
|
|
394
394
|
...
|
|
395
|
-
def DrawSphereWires(centerPos: Vector3,radius: float,rings: int,slices: int,color: Color,) -> None:
|
|
395
|
+
def DrawSphereWires(centerPos: Vector3|list|tuple,radius: float,rings: int,slices: int,color: Color|list|tuple,) -> None:
|
|
396
396
|
"""Draw sphere wires"""
|
|
397
397
|
...
|
|
398
|
-
def DrawSplineBasis(points: Any,pointCount: int,thick: float,color: Color,) -> None:
|
|
398
|
+
def DrawSplineBasis(points: Any|list|tuple,pointCount: int,thick: float,color: Color|list|tuple,) -> None:
|
|
399
399
|
"""Draw spline: B-Spline, minimum 4 points"""
|
|
400
400
|
...
|
|
401
|
-
def DrawSplineBezierCubic(points: Any,pointCount: int,thick: float,color: Color,) -> None:
|
|
401
|
+
def DrawSplineBezierCubic(points: Any|list|tuple,pointCount: int,thick: float,color: Color|list|tuple,) -> None:
|
|
402
402
|
"""Draw spline: Cubic Bezier, minimum 4 points (2 control points): [p1, c2, c3, p4, c5, c6...]"""
|
|
403
403
|
...
|
|
404
|
-
def DrawSplineBezierQuadratic(points: Any,pointCount: int,thick: float,color: Color,) -> None:
|
|
404
|
+
def DrawSplineBezierQuadratic(points: Any|list|tuple,pointCount: int,thick: float,color: Color|list|tuple,) -> None:
|
|
405
405
|
"""Draw spline: Quadratic Bezier, minimum 3 points (1 control point): [p1, c2, p3, c4...]"""
|
|
406
406
|
...
|
|
407
|
-
def DrawSplineCatmullRom(points: Any,pointCount: int,thick: float,color: Color,) -> None:
|
|
407
|
+
def DrawSplineCatmullRom(points: Any|list|tuple,pointCount: int,thick: float,color: Color|list|tuple,) -> None:
|
|
408
408
|
"""Draw spline: Catmull-Rom, minimum 4 points"""
|
|
409
409
|
...
|
|
410
|
-
def DrawSplineLinear(points: Any,pointCount: int,thick: float,color: Color,) -> None:
|
|
410
|
+
def DrawSplineLinear(points: Any|list|tuple,pointCount: int,thick: float,color: Color|list|tuple,) -> None:
|
|
411
411
|
"""Draw spline: Linear, minimum 2 points"""
|
|
412
412
|
...
|
|
413
|
-
def DrawSplineSegmentBasis(p1: Vector2,p2: Vector2,p3: Vector2,p4: Vector2,thick: float,color: Color,) -> None:
|
|
413
|
+
def DrawSplineSegmentBasis(p1: Vector2|list|tuple,p2: Vector2|list|tuple,p3: Vector2|list|tuple,p4: Vector2|list|tuple,thick: float,color: Color|list|tuple,) -> None:
|
|
414
414
|
"""Draw spline segment: B-Spline, 4 points"""
|
|
415
415
|
...
|
|
416
|
-
def DrawSplineSegmentBezierCubic(p1: Vector2,c2: Vector2,c3: Vector2,p4: Vector2,thick: float,color: Color,) -> None:
|
|
416
|
+
def DrawSplineSegmentBezierCubic(p1: Vector2|list|tuple,c2: Vector2|list|tuple,c3: Vector2|list|tuple,p4: Vector2|list|tuple,thick: float,color: Color|list|tuple,) -> None:
|
|
417
417
|
"""Draw spline segment: Cubic Bezier, 2 points, 2 control points"""
|
|
418
418
|
...
|
|
419
|
-
def DrawSplineSegmentBezierQuadratic(p1: Vector2,c2: Vector2,p3: Vector2,thick: float,color: Color,) -> None:
|
|
419
|
+
def DrawSplineSegmentBezierQuadratic(p1: Vector2|list|tuple,c2: Vector2|list|tuple,p3: Vector2|list|tuple,thick: float,color: Color|list|tuple,) -> None:
|
|
420
420
|
"""Draw spline segment: Quadratic Bezier, 2 points, 1 control point"""
|
|
421
421
|
...
|
|
422
|
-
def DrawSplineSegmentCatmullRom(p1: Vector2,p2: Vector2,p3: Vector2,p4: Vector2,thick: float,color: Color,) -> None:
|
|
422
|
+
def DrawSplineSegmentCatmullRom(p1: Vector2|list|tuple,p2: Vector2|list|tuple,p3: Vector2|list|tuple,p4: Vector2|list|tuple,thick: float,color: Color|list|tuple,) -> None:
|
|
423
423
|
"""Draw spline segment: Catmull-Rom, 4 points"""
|
|
424
424
|
...
|
|
425
|
-
def DrawSplineSegmentLinear(p1: Vector2,p2: Vector2,thick: float,color: Color,) -> None:
|
|
425
|
+
def DrawSplineSegmentLinear(p1: Vector2|list|tuple,p2: Vector2|list|tuple,thick: float,color: Color|list|tuple,) -> None:
|
|
426
426
|
"""Draw spline segment: Linear, 2 points"""
|
|
427
427
|
...
|
|
428
|
-
def DrawText(text:
|
|
428
|
+
def DrawText(text: bytes,posX: int,posY: int,fontSize: int,color: Color|list|tuple,) -> None:
|
|
429
429
|
"""Draw text (using default font)"""
|
|
430
430
|
...
|
|
431
|
-
def DrawTextCodepoint(font: Font,codepoint: int,position: Vector2,fontSize: float,tint: Color,) -> None:
|
|
431
|
+
def DrawTextCodepoint(font: Font|list|tuple,codepoint: int,position: Vector2|list|tuple,fontSize: float,tint: Color|list|tuple,) -> None:
|
|
432
432
|
"""Draw one character (codepoint)"""
|
|
433
433
|
...
|
|
434
|
-
def DrawTextCodepoints(font: Font,codepoints: Any,codepointCount: int,position: Vector2,fontSize: float,spacing: float,tint: Color,) -> None:
|
|
434
|
+
def DrawTextCodepoints(font: Font|list|tuple,codepoints: Any,codepointCount: int,position: Vector2|list|tuple,fontSize: float,spacing: float,tint: Color|list|tuple,) -> None:
|
|
435
435
|
"""Draw multiple character (codepoint)"""
|
|
436
436
|
...
|
|
437
|
-
def DrawTextEx(font: Font,text:
|
|
437
|
+
def DrawTextEx(font: Font|list|tuple,text: bytes,position: Vector2|list|tuple,fontSize: float,spacing: float,tint: Color|list|tuple,) -> None:
|
|
438
438
|
"""Draw text using font and additional parameters"""
|
|
439
439
|
...
|
|
440
|
-
def DrawTextPro(font: Font,text:
|
|
440
|
+
def DrawTextPro(font: Font|list|tuple,text: bytes,position: Vector2|list|tuple,origin: Vector2|list|tuple,rotation: float,fontSize: float,spacing: float,tint: Color|list|tuple,) -> None:
|
|
441
441
|
"""Draw text using Font and pro parameters (rotation)"""
|
|
442
442
|
...
|
|
443
|
-
def DrawTexture(texture: Texture,posX: int,posY: int,tint: Color,) -> None:
|
|
443
|
+
def DrawTexture(texture: Texture|list|tuple,posX: int,posY: int,tint: Color|list|tuple,) -> None:
|
|
444
444
|
"""Draw a Texture2D"""
|
|
445
445
|
...
|
|
446
|
-
def DrawTextureEx(texture: Texture,position: Vector2,rotation: float,scale: float,tint: Color,) -> None:
|
|
446
|
+
def DrawTextureEx(texture: Texture|list|tuple,position: Vector2|list|tuple,rotation: float,scale: float,tint: Color|list|tuple,) -> None:
|
|
447
447
|
"""Draw a Texture2D with extended parameters"""
|
|
448
448
|
...
|
|
449
|
-
def DrawTextureNPatch(texture: Texture,nPatchInfo: NPatchInfo,dest: Rectangle,origin: Vector2,rotation: float,tint: Color,) -> None:
|
|
449
|
+
def DrawTextureNPatch(texture: Texture|list|tuple,nPatchInfo: NPatchInfo|list|tuple,dest: Rectangle|list|tuple,origin: Vector2|list|tuple,rotation: float,tint: Color|list|tuple,) -> None:
|
|
450
450
|
"""Draws a texture (or part of it) that stretches or shrinks nicely"""
|
|
451
451
|
...
|
|
452
|
-
def DrawTexturePro(texture: Texture,source: Rectangle,dest: Rectangle,origin: Vector2,rotation: float,tint: Color,) -> None:
|
|
452
|
+
def DrawTexturePro(texture: Texture|list|tuple,source: Rectangle|list|tuple,dest: Rectangle|list|tuple,origin: Vector2|list|tuple,rotation: float,tint: Color|list|tuple,) -> None:
|
|
453
453
|
"""Draw a part of a texture defined by a rectangle with 'pro' parameters"""
|
|
454
454
|
...
|
|
455
|
-
def DrawTextureRec(texture: Texture,source: Rectangle,position: Vector2,tint: Color,) -> None:
|
|
455
|
+
def DrawTextureRec(texture: Texture|list|tuple,source: Rectangle|list|tuple,position: Vector2|list|tuple,tint: Color|list|tuple,) -> None:
|
|
456
456
|
"""Draw a part of a texture defined by a rectangle"""
|
|
457
457
|
...
|
|
458
|
-
def DrawTextureV(texture: Texture,position: Vector2,tint: Color,) -> None:
|
|
458
|
+
def DrawTextureV(texture: Texture|list|tuple,position: Vector2|list|tuple,tint: Color|list|tuple,) -> None:
|
|
459
459
|
"""Draw a Texture2D with position defined as Vector2"""
|
|
460
460
|
...
|
|
461
|
-
def DrawTriangle(v1: Vector2,v2: Vector2,v3: Vector2,color: Color,) -> None:
|
|
461
|
+
def DrawTriangle(v1: Vector2|list|tuple,v2: Vector2|list|tuple,v3: Vector2|list|tuple,color: Color|list|tuple,) -> None:
|
|
462
462
|
"""Draw a color-filled triangle (vertex in counter-clockwise order!)"""
|
|
463
463
|
...
|
|
464
|
-
def DrawTriangle3D(v1: Vector3,v2: Vector3,v3: Vector3,color: Color,) -> None:
|
|
464
|
+
def DrawTriangle3D(v1: Vector3|list|tuple,v2: Vector3|list|tuple,v3: Vector3|list|tuple,color: Color|list|tuple,) -> None:
|
|
465
465
|
"""Draw a color-filled triangle (vertex in counter-clockwise order!)"""
|
|
466
466
|
...
|
|
467
|
-
def DrawTriangleFan(points: Any,pointCount: int,color: Color,) -> None:
|
|
467
|
+
def DrawTriangleFan(points: Any|list|tuple,pointCount: int,color: Color|list|tuple,) -> None:
|
|
468
468
|
"""Draw a triangle fan defined by points (first vertex is the center)"""
|
|
469
469
|
...
|
|
470
|
-
def DrawTriangleLines(v1: Vector2,v2: Vector2,v3: Vector2,color: Color,) -> None:
|
|
470
|
+
def DrawTriangleLines(v1: Vector2|list|tuple,v2: Vector2|list|tuple,v3: Vector2|list|tuple,color: Color|list|tuple,) -> None:
|
|
471
471
|
"""Draw triangle outline (vertex in counter-clockwise order!)"""
|
|
472
472
|
...
|
|
473
|
-
def DrawTriangleStrip(points: Any,pointCount: int,color: Color,) -> None:
|
|
473
|
+
def DrawTriangleStrip(points: Any|list|tuple,pointCount: int,color: Color|list|tuple,) -> None:
|
|
474
474
|
"""Draw a triangle strip defined by points"""
|
|
475
475
|
...
|
|
476
|
-
def DrawTriangleStrip3D(points: Any,pointCount: int,color: Color,) -> None:
|
|
476
|
+
def DrawTriangleStrip3D(points: Any|list|tuple,pointCount: int,color: Color|list|tuple,) -> None:
|
|
477
477
|
"""Draw a triangle strip defined by points"""
|
|
478
478
|
...
|
|
479
479
|
def EnableCursor() -> None:
|
|
@@ -482,7 +482,7 @@ def EnableCursor() -> None:
|
|
|
482
482
|
def EnableEventWaiting() -> None:
|
|
483
483
|
"""Enable waiting for events on EndDrawing(), no automatic event polling"""
|
|
484
484
|
...
|
|
485
|
-
def EncodeDataBase64(data:
|
|
485
|
+
def EncodeDataBase64(data: bytes,dataSize: int,outputSize: Any,) -> bytes:
|
|
486
486
|
"""Encode data to Base64 string, memory must be MemFree()"""
|
|
487
487
|
...
|
|
488
488
|
def EndBlendMode() -> None:
|
|
@@ -509,31 +509,31 @@ def EndTextureMode() -> None:
|
|
|
509
509
|
def EndVrStereoMode() -> None:
|
|
510
510
|
"""End stereo rendering (requires VR simulator)"""
|
|
511
511
|
...
|
|
512
|
-
def ExportAutomationEventList(list_0: AutomationEventList,fileName:
|
|
512
|
+
def ExportAutomationEventList(list_0: AutomationEventList|list|tuple,fileName: bytes,) -> bool:
|
|
513
513
|
"""Export automation events list as text file"""
|
|
514
514
|
...
|
|
515
|
-
def ExportDataAsCode(data:
|
|
515
|
+
def ExportDataAsCode(data: bytes,dataSize: int,fileName: bytes,) -> bool:
|
|
516
516
|
"""Export data to code (.h), returns true on success"""
|
|
517
517
|
...
|
|
518
|
-
def ExportFontAsCode(font: Font,fileName:
|
|
518
|
+
def ExportFontAsCode(font: Font|list|tuple,fileName: bytes,) -> bool:
|
|
519
519
|
"""Export font as code file, returns true on success"""
|
|
520
520
|
...
|
|
521
|
-
def ExportImage(image: Image,fileName:
|
|
521
|
+
def ExportImage(image: Image|list|tuple,fileName: bytes,) -> bool:
|
|
522
522
|
"""Export image data to file, returns true on success"""
|
|
523
523
|
...
|
|
524
|
-
def ExportImageAsCode(image: Image,fileName:
|
|
524
|
+
def ExportImageAsCode(image: Image|list|tuple,fileName: bytes,) -> bool:
|
|
525
525
|
"""Export image as code file defining an array of bytes, returns true on success"""
|
|
526
526
|
...
|
|
527
|
-
def ExportImageToMemory(image: Image,fileType:
|
|
527
|
+
def ExportImageToMemory(image: Image|list|tuple,fileType: bytes,fileSize: Any,) -> bytes:
|
|
528
528
|
"""Export image to memory buffer"""
|
|
529
529
|
...
|
|
530
|
-
def ExportMesh(mesh: Mesh,fileName:
|
|
530
|
+
def ExportMesh(mesh: Mesh|list|tuple,fileName: bytes,) -> bool:
|
|
531
531
|
"""Export mesh data to file, returns true on success"""
|
|
532
532
|
...
|
|
533
|
-
def ExportWave(wave: Wave,fileName:
|
|
533
|
+
def ExportWave(wave: Wave|list|tuple,fileName: bytes,) -> bool:
|
|
534
534
|
"""Export wave data to file, returns true on success"""
|
|
535
535
|
...
|
|
536
|
-
def ExportWaveAsCode(wave: Wave,fileName:
|
|
536
|
+
def ExportWaveAsCode(wave: Wave|list|tuple,fileName: bytes,) -> bool:
|
|
537
537
|
"""Export wave sample data to code (.h), returns true on success"""
|
|
538
538
|
...
|
|
539
539
|
FLAG_BORDERLESS_WINDOWED_MODE: int
|
|
@@ -555,10 +555,10 @@ FLAG_WINDOW_UNFOCUSED: int
|
|
|
555
555
|
FONT_BITMAP: int
|
|
556
556
|
FONT_DEFAULT: int
|
|
557
557
|
FONT_SDF: int
|
|
558
|
-
def Fade(color: Color,alpha: float,) -> Color:
|
|
558
|
+
def Fade(color: Color|list|tuple,alpha: float,) -> Color:
|
|
559
559
|
"""Get color with alpha applied, alpha goes from 0.0f to 1.0f"""
|
|
560
560
|
...
|
|
561
|
-
def FileExists(fileName:
|
|
561
|
+
def FileExists(fileName: bytes,) -> bool:
|
|
562
562
|
"""Check if file exists"""
|
|
563
563
|
...
|
|
564
564
|
def FloatEquals(x: float,y: float,) -> int:
|
|
@@ -603,28 +603,28 @@ GROUP_PADDING: int
|
|
|
603
603
|
def GenImageCellular(width: int,height: int,tileSize: int,) -> Image:
|
|
604
604
|
"""Generate image: cellular algorithm, bigger tileSize means bigger cells"""
|
|
605
605
|
...
|
|
606
|
-
def GenImageChecked(width: int,height: int,checksX: int,checksY: int,col1: Color,col2: Color,) -> Image:
|
|
606
|
+
def GenImageChecked(width: int,height: int,checksX: int,checksY: int,col1: Color|list|tuple,col2: Color|list|tuple,) -> Image:
|
|
607
607
|
"""Generate image: checked"""
|
|
608
608
|
...
|
|
609
|
-
def GenImageColor(width: int,height: int,color: Color,) -> Image:
|
|
609
|
+
def GenImageColor(width: int,height: int,color: Color|list|tuple,) -> Image:
|
|
610
610
|
"""Generate image: plain color"""
|
|
611
611
|
...
|
|
612
|
-
def GenImageFontAtlas(glyphs: Any,glyphRecs: Any,glyphCount: int,fontSize: int,padding: int,packMethod: int,) -> Image:
|
|
612
|
+
def GenImageFontAtlas(glyphs: Any|list|tuple,glyphRecs: Any|list|tuple,glyphCount: int,fontSize: int,padding: int,packMethod: int,) -> Image:
|
|
613
613
|
"""Generate image font atlas using chars info"""
|
|
614
614
|
...
|
|
615
|
-
def GenImageGradientLinear(width: int,height: int,direction: int,start: Color,end: Color,) -> Image:
|
|
615
|
+
def GenImageGradientLinear(width: int,height: int,direction: int,start: Color|list|tuple,end: Color|list|tuple,) -> Image:
|
|
616
616
|
"""Generate image: linear gradient, direction in degrees [0..360], 0=Vertical gradient"""
|
|
617
617
|
...
|
|
618
|
-
def GenImageGradientRadial(width: int,height: int,density: float,inner: Color,outer: Color,) -> Image:
|
|
618
|
+
def GenImageGradientRadial(width: int,height: int,density: float,inner: Color|list|tuple,outer: Color|list|tuple,) -> Image:
|
|
619
619
|
"""Generate image: radial gradient"""
|
|
620
620
|
...
|
|
621
|
-
def GenImageGradientSquare(width: int,height: int,density: float,inner: Color,outer: Color,) -> Image:
|
|
621
|
+
def GenImageGradientSquare(width: int,height: int,density: float,inner: Color|list|tuple,outer: Color|list|tuple,) -> Image:
|
|
622
622
|
"""Generate image: square gradient"""
|
|
623
623
|
...
|
|
624
624
|
def GenImagePerlinNoise(width: int,height: int,offsetX: int,offsetY: int,scale: float,) -> Image:
|
|
625
625
|
"""Generate image: perlin noise"""
|
|
626
626
|
...
|
|
627
|
-
def GenImageText(width: int,height: int,text:
|
|
627
|
+
def GenImageText(width: int,height: int,text: bytes,) -> Image:
|
|
628
628
|
"""Generate image: grayscale image from text data"""
|
|
629
629
|
...
|
|
630
630
|
def GenImageWhiteNoise(width: int,height: int,factor: float,) -> Image:
|
|
@@ -636,13 +636,13 @@ def GenMeshCone(radius: float,height: float,slices: int,) -> Mesh:
|
|
|
636
636
|
def GenMeshCube(width: float,height: float,length: float,) -> Mesh:
|
|
637
637
|
"""Generate cuboid mesh"""
|
|
638
638
|
...
|
|
639
|
-
def GenMeshCubicmap(cubicmap: Image,cubeSize: Vector3,) -> Mesh:
|
|
639
|
+
def GenMeshCubicmap(cubicmap: Image|list|tuple,cubeSize: Vector3|list|tuple,) -> Mesh:
|
|
640
640
|
"""Generate cubes-based map mesh from image data"""
|
|
641
641
|
...
|
|
642
642
|
def GenMeshCylinder(radius: float,height: float,slices: int,) -> Mesh:
|
|
643
643
|
"""Generate cylinder mesh"""
|
|
644
644
|
...
|
|
645
|
-
def GenMeshHeightmap(heightmap: Image,size: Vector3,) -> Mesh:
|
|
645
|
+
def GenMeshHeightmap(heightmap: Image|list|tuple,size: Vector3|list|tuple,) -> Mesh:
|
|
646
646
|
"""Generate heightmap mesh from image data"""
|
|
647
647
|
...
|
|
648
648
|
def GenMeshHemiSphere(radius: float,rings: int,slices: int,) -> Mesh:
|
|
@@ -660,43 +660,43 @@ def GenMeshPoly(sides: int,radius: float,) -> Mesh:
|
|
|
660
660
|
def GenMeshSphere(radius: float,rings: int,slices: int,) -> Mesh:
|
|
661
661
|
"""Generate sphere mesh (standard sphere)"""
|
|
662
662
|
...
|
|
663
|
-
def GenMeshTangents(mesh: Any,) -> None:
|
|
663
|
+
def GenMeshTangents(mesh: Any|list|tuple,) -> None:
|
|
664
664
|
"""Compute mesh tangents"""
|
|
665
665
|
...
|
|
666
666
|
def GenMeshTorus(radius: float,size: float,radSeg: int,sides: int,) -> Mesh:
|
|
667
667
|
"""Generate torus mesh"""
|
|
668
668
|
...
|
|
669
|
-
def GenTextureMipmaps(texture: Any,) -> None:
|
|
669
|
+
def GenTextureMipmaps(texture: Any|list|tuple,) -> None:
|
|
670
670
|
"""Generate GPU mipmaps for a texture"""
|
|
671
671
|
...
|
|
672
|
-
def GetApplicationDirectory() ->
|
|
672
|
+
def GetApplicationDirectory() -> bytes:
|
|
673
673
|
"""Get the directory of the running application (uses static string)"""
|
|
674
674
|
...
|
|
675
|
-
def GetCameraMatrix(camera: Camera3D,) -> Matrix:
|
|
675
|
+
def GetCameraMatrix(camera: Camera3D|list|tuple,) -> Matrix:
|
|
676
676
|
"""Get camera transform matrix (view matrix)"""
|
|
677
677
|
...
|
|
678
|
-
def GetCameraMatrix2D(camera: Camera2D,) -> Matrix:
|
|
678
|
+
def GetCameraMatrix2D(camera: Camera2D|list|tuple,) -> Matrix:
|
|
679
679
|
"""Get camera 2d transform matrix"""
|
|
680
680
|
...
|
|
681
681
|
def GetCharPressed() -> int:
|
|
682
682
|
"""Get char pressed (unicode), call it multiple times for chars queued, returns 0 when the queue is empty"""
|
|
683
683
|
...
|
|
684
|
-
def GetClipboardText() ->
|
|
684
|
+
def GetClipboardText() -> bytes:
|
|
685
685
|
"""Get clipboard text content"""
|
|
686
686
|
...
|
|
687
|
-
def GetCodepoint(text:
|
|
687
|
+
def GetCodepoint(text: bytes,codepointSize: Any,) -> int:
|
|
688
688
|
"""Get next codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure"""
|
|
689
689
|
...
|
|
690
|
-
def GetCodepointCount(text:
|
|
690
|
+
def GetCodepointCount(text: bytes,) -> int:
|
|
691
691
|
"""Get total number of codepoints in a UTF-8 encoded string"""
|
|
692
692
|
...
|
|
693
|
-
def GetCodepointNext(text:
|
|
693
|
+
def GetCodepointNext(text: bytes,codepointSize: Any,) -> int:
|
|
694
694
|
"""Get next codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure"""
|
|
695
695
|
...
|
|
696
|
-
def GetCodepointPrevious(text:
|
|
696
|
+
def GetCodepointPrevious(text: bytes,codepointSize: Any,) -> int:
|
|
697
697
|
"""Get previous codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure"""
|
|
698
698
|
...
|
|
699
|
-
def GetCollisionRec(rec1: Rectangle,rec2: Rectangle,) -> Rectangle:
|
|
699
|
+
def GetCollisionRec(rec1: Rectangle|list|tuple,rec2: Rectangle|list|tuple,) -> Rectangle:
|
|
700
700
|
"""Get collision rectangle for two rectangles collision"""
|
|
701
701
|
...
|
|
702
702
|
def GetColor(hexValue: int,) -> Color:
|
|
@@ -705,25 +705,25 @@ def GetColor(hexValue: int,) -> Color:
|
|
|
705
705
|
def GetCurrentMonitor() -> int:
|
|
706
706
|
"""Get current connected monitor"""
|
|
707
707
|
...
|
|
708
|
-
def GetDirectoryPath(filePath:
|
|
708
|
+
def GetDirectoryPath(filePath: bytes,) -> bytes:
|
|
709
709
|
"""Get full path for a given fileName with path (uses static string)"""
|
|
710
710
|
...
|
|
711
711
|
def GetFPS() -> int:
|
|
712
712
|
"""Get current FPS"""
|
|
713
713
|
...
|
|
714
|
-
def GetFileExtension(fileName:
|
|
714
|
+
def GetFileExtension(fileName: bytes,) -> bytes:
|
|
715
715
|
"""Get pointer to extension for a filename string (includes dot: '.png')"""
|
|
716
716
|
...
|
|
717
|
-
def GetFileLength(fileName:
|
|
717
|
+
def GetFileLength(fileName: bytes,) -> int:
|
|
718
718
|
"""Get file length in bytes (NOTE: GetFileSize() conflicts with windows.h)"""
|
|
719
719
|
...
|
|
720
|
-
def GetFileModTime(fileName:
|
|
720
|
+
def GetFileModTime(fileName: bytes,) -> int:
|
|
721
721
|
"""Get file modification time (last write time)"""
|
|
722
722
|
...
|
|
723
|
-
def GetFileName(filePath:
|
|
723
|
+
def GetFileName(filePath: bytes,) -> bytes:
|
|
724
724
|
"""Get pointer to filename for a path string"""
|
|
725
725
|
...
|
|
726
|
-
def GetFileNameWithoutExt(filePath:
|
|
726
|
+
def GetFileNameWithoutExt(filePath: bytes,) -> bytes:
|
|
727
727
|
"""Get filename string without extension (uses static string)"""
|
|
728
728
|
...
|
|
729
729
|
def GetFontDefault() -> Font:
|
|
@@ -741,7 +741,7 @@ def GetGamepadAxisMovement(gamepad: int,axis: int,) -> float:
|
|
|
741
741
|
def GetGamepadButtonPressed() -> int:
|
|
742
742
|
"""Get the last gamepad button pressed"""
|
|
743
743
|
...
|
|
744
|
-
def GetGamepadName(gamepad: int,) ->
|
|
744
|
+
def GetGamepadName(gamepad: int,) -> bytes:
|
|
745
745
|
"""Get gamepad internal name id"""
|
|
746
746
|
...
|
|
747
747
|
def GetGestureDetected() -> int:
|
|
@@ -762,19 +762,19 @@ def GetGesturePinchAngle() -> float:
|
|
|
762
762
|
def GetGesturePinchVector() -> Vector2:
|
|
763
763
|
"""Get gesture pinch delta"""
|
|
764
764
|
...
|
|
765
|
-
def GetGlyphAtlasRec(font: Font,codepoint: int,) -> Rectangle:
|
|
765
|
+
def GetGlyphAtlasRec(font: Font|list|tuple,codepoint: int,) -> Rectangle:
|
|
766
766
|
"""Get glyph rectangle in font atlas for a codepoint (unicode character), fallback to '?' if not found"""
|
|
767
767
|
...
|
|
768
|
-
def GetGlyphIndex(font: Font,codepoint: int,) -> int:
|
|
768
|
+
def GetGlyphIndex(font: Font|list|tuple,codepoint: int,) -> int:
|
|
769
769
|
"""Get glyph index position in font for a codepoint (unicode character), fallback to '?' if not found"""
|
|
770
770
|
...
|
|
771
|
-
def GetGlyphInfo(font: Font,codepoint: int,) -> GlyphInfo:
|
|
771
|
+
def GetGlyphInfo(font: Font|list|tuple,codepoint: int,) -> GlyphInfo:
|
|
772
772
|
"""Get glyph font info data for a codepoint (unicode character), fallback to '?' if not found"""
|
|
773
773
|
...
|
|
774
|
-
def GetImageAlphaBorder(image: Image,threshold: float,) -> Rectangle:
|
|
774
|
+
def GetImageAlphaBorder(image: Image|list|tuple,threshold: float,) -> Rectangle:
|
|
775
775
|
"""Get image alpha border rectangle"""
|
|
776
776
|
...
|
|
777
|
-
def GetImageColor(image: Image,x: int,y: int,) -> Color:
|
|
777
|
+
def GetImageColor(image: Image|list|tuple,x: int,y: int,) -> Color:
|
|
778
778
|
"""Get image pixel color at (x, y) position"""
|
|
779
779
|
...
|
|
780
780
|
def GetKeyPressed() -> int:
|
|
@@ -783,10 +783,10 @@ def GetKeyPressed() -> int:
|
|
|
783
783
|
def GetMasterVolume() -> float:
|
|
784
784
|
"""Get master volume (listener)"""
|
|
785
785
|
...
|
|
786
|
-
def GetMeshBoundingBox(mesh: Mesh,) -> BoundingBox:
|
|
786
|
+
def GetMeshBoundingBox(mesh: Mesh|list|tuple,) -> BoundingBox:
|
|
787
787
|
"""Compute mesh bounding box limits"""
|
|
788
788
|
...
|
|
789
|
-
def GetModelBoundingBox(model: Model,) -> BoundingBox:
|
|
789
|
+
def GetModelBoundingBox(model: Model|list|tuple,) -> BoundingBox:
|
|
790
790
|
"""Compute model bounding box limits (considers all meshes)"""
|
|
791
791
|
...
|
|
792
792
|
def GetMonitorCount() -> int:
|
|
@@ -795,7 +795,7 @@ def GetMonitorCount() -> int:
|
|
|
795
795
|
def GetMonitorHeight(monitor: int,) -> int:
|
|
796
796
|
"""Get specified monitor height (current video mode used by monitor)"""
|
|
797
797
|
...
|
|
798
|
-
def GetMonitorName(monitor: int,) ->
|
|
798
|
+
def GetMonitorName(monitor: int,) -> bytes:
|
|
799
799
|
"""Get the human-readable, UTF-8 encoded name of the specified monitor"""
|
|
800
800
|
...
|
|
801
801
|
def GetMonitorPhysicalHeight(monitor: int,) -> int:
|
|
@@ -819,7 +819,7 @@ def GetMouseDelta() -> Vector2:
|
|
|
819
819
|
def GetMousePosition() -> Vector2:
|
|
820
820
|
"""Get mouse position XY"""
|
|
821
821
|
...
|
|
822
|
-
def GetMouseRay(mousePosition: Vector2,camera: Camera3D,) -> Ray:
|
|
822
|
+
def GetMouseRay(mousePosition: Vector2|list|tuple,camera: Camera3D|list|tuple,) -> Ray:
|
|
823
823
|
"""Get a ray trace from mouse position"""
|
|
824
824
|
...
|
|
825
825
|
def GetMouseWheelMove() -> float:
|
|
@@ -834,10 +834,10 @@ def GetMouseX() -> int:
|
|
|
834
834
|
def GetMouseY() -> int:
|
|
835
835
|
"""Get mouse position Y"""
|
|
836
836
|
...
|
|
837
|
-
def GetMusicTimeLength(music: Music,) -> float:
|
|
837
|
+
def GetMusicTimeLength(music: Music|list|tuple,) -> float:
|
|
838
838
|
"""Get music time length (in seconds)"""
|
|
839
839
|
...
|
|
840
|
-
def GetMusicTimePlayed(music: Music,) -> float:
|
|
840
|
+
def GetMusicTimePlayed(music: Music|list|tuple,) -> float:
|
|
841
841
|
"""Get current music time played (in seconds)"""
|
|
842
842
|
...
|
|
843
843
|
def GetPhysicsBodiesCount() -> int:
|
|
@@ -849,7 +849,7 @@ def GetPhysicsBody(index: int,) -> Any:
|
|
|
849
849
|
def GetPhysicsShapeType(index: int,) -> int:
|
|
850
850
|
"""Returns the physics body shape type (PHYSICS_CIRCLE or PHYSICS_POLYGON)"""
|
|
851
851
|
...
|
|
852
|
-
def GetPhysicsShapeVertex(body: Any,vertex: int,) -> Vector2:
|
|
852
|
+
def GetPhysicsShapeVertex(body: Any|list|tuple,vertex: int,) -> Vector2:
|
|
853
853
|
"""Returns transformed position of a body shape (body position + vertex transformed position)"""
|
|
854
854
|
...
|
|
855
855
|
def GetPhysicsShapeVerticesCount(index: int,) -> int:
|
|
@@ -861,25 +861,25 @@ def GetPixelColor(srcPtr: Any,format: int,) -> Color:
|
|
|
861
861
|
def GetPixelDataSize(width: int,height: int,format: int,) -> int:
|
|
862
862
|
"""Get pixel data size in bytes for certain format"""
|
|
863
863
|
...
|
|
864
|
-
def GetPrevDirectoryPath(dirPath:
|
|
864
|
+
def GetPrevDirectoryPath(dirPath: bytes,) -> bytes:
|
|
865
865
|
"""Get previous directory path for a given path (uses static string)"""
|
|
866
866
|
...
|
|
867
867
|
def GetRandomValue(min_0: int,max_1: int,) -> int:
|
|
868
868
|
"""Get a random value between min and max (both included)"""
|
|
869
869
|
...
|
|
870
|
-
def GetRayCollisionBox(ray: Ray,box: BoundingBox,) -> RayCollision:
|
|
870
|
+
def GetRayCollisionBox(ray: Ray|list|tuple,box: BoundingBox|list|tuple,) -> RayCollision:
|
|
871
871
|
"""Get collision info between ray and box"""
|
|
872
872
|
...
|
|
873
|
-
def GetRayCollisionMesh(ray: Ray,mesh: Mesh,transform: Matrix,) -> RayCollision:
|
|
873
|
+
def GetRayCollisionMesh(ray: Ray|list|tuple,mesh: Mesh|list|tuple,transform: Matrix|list|tuple,) -> RayCollision:
|
|
874
874
|
"""Get collision info between ray and mesh"""
|
|
875
875
|
...
|
|
876
|
-
def GetRayCollisionQuad(ray: Ray,p1: Vector3,p2: Vector3,p3: Vector3,p4: Vector3,) -> RayCollision:
|
|
876
|
+
def GetRayCollisionQuad(ray: Ray|list|tuple,p1: Vector3|list|tuple,p2: Vector3|list|tuple,p3: Vector3|list|tuple,p4: Vector3|list|tuple,) -> RayCollision:
|
|
877
877
|
"""Get collision info between ray and quad"""
|
|
878
878
|
...
|
|
879
|
-
def GetRayCollisionSphere(ray: Ray,center: Vector3,radius: float,) -> RayCollision:
|
|
879
|
+
def GetRayCollisionSphere(ray: Ray|list|tuple,center: Vector3|list|tuple,radius: float,) -> RayCollision:
|
|
880
880
|
"""Get collision info between ray and sphere"""
|
|
881
881
|
...
|
|
882
|
-
def GetRayCollisionTriangle(ray: Ray,p1: Vector3,p2: Vector3,p3: Vector3,) -> RayCollision:
|
|
882
|
+
def GetRayCollisionTriangle(ray: Ray|list|tuple,p1: Vector3|list|tuple,p2: Vector3|list|tuple,p3: Vector3|list|tuple,) -> RayCollision:
|
|
883
883
|
"""Get collision info between ray and triangle"""
|
|
884
884
|
...
|
|
885
885
|
def GetRenderHeight() -> int:
|
|
@@ -891,31 +891,31 @@ def GetRenderWidth() -> int:
|
|
|
891
891
|
def GetScreenHeight() -> int:
|
|
892
892
|
"""Get current screen height"""
|
|
893
893
|
...
|
|
894
|
-
def GetScreenToWorld2D(position: Vector2,camera: Camera2D,) -> Vector2:
|
|
894
|
+
def GetScreenToWorld2D(position: Vector2|list|tuple,camera: Camera2D|list|tuple,) -> Vector2:
|
|
895
895
|
"""Get the world space position for a 2d camera screen space position"""
|
|
896
896
|
...
|
|
897
897
|
def GetScreenWidth() -> int:
|
|
898
898
|
"""Get current screen width"""
|
|
899
899
|
...
|
|
900
|
-
def GetShaderLocation(shader: Shader,uniformName:
|
|
900
|
+
def GetShaderLocation(shader: Shader|list|tuple,uniformName: bytes,) -> int:
|
|
901
901
|
"""Get shader uniform location"""
|
|
902
902
|
...
|
|
903
|
-
def GetShaderLocationAttrib(shader: Shader,attribName:
|
|
903
|
+
def GetShaderLocationAttrib(shader: Shader|list|tuple,attribName: bytes,) -> int:
|
|
904
904
|
"""Get shader attribute location"""
|
|
905
905
|
...
|
|
906
|
-
def GetSplinePointBasis(p1: Vector2,p2: Vector2,p3: Vector2,p4: Vector2,t: float,) -> Vector2:
|
|
906
|
+
def GetSplinePointBasis(p1: Vector2|list|tuple,p2: Vector2|list|tuple,p3: Vector2|list|tuple,p4: Vector2|list|tuple,t: float,) -> Vector2:
|
|
907
907
|
"""Get (evaluate) spline point: B-Spline"""
|
|
908
908
|
...
|
|
909
|
-
def GetSplinePointBezierCubic(p1: Vector2,c2: Vector2,c3: Vector2,p4: Vector2,t: float,) -> Vector2:
|
|
909
|
+
def GetSplinePointBezierCubic(p1: Vector2|list|tuple,c2: Vector2|list|tuple,c3: Vector2|list|tuple,p4: Vector2|list|tuple,t: float,) -> Vector2:
|
|
910
910
|
"""Get (evaluate) spline point: Cubic Bezier"""
|
|
911
911
|
...
|
|
912
|
-
def GetSplinePointBezierQuad(p1: Vector2,c2: Vector2,p3: Vector2,t: float,) -> Vector2:
|
|
912
|
+
def GetSplinePointBezierQuad(p1: Vector2|list|tuple,c2: Vector2|list|tuple,p3: Vector2|list|tuple,t: float,) -> Vector2:
|
|
913
913
|
"""Get (evaluate) spline point: Quadratic Bezier"""
|
|
914
914
|
...
|
|
915
|
-
def GetSplinePointCatmullRom(p1: Vector2,p2: Vector2,p3: Vector2,p4: Vector2,t: float,) -> Vector2:
|
|
915
|
+
def GetSplinePointCatmullRom(p1: Vector2|list|tuple,p2: Vector2|list|tuple,p3: Vector2|list|tuple,p4: Vector2|list|tuple,t: float,) -> Vector2:
|
|
916
916
|
"""Get (evaluate) spline point: Catmull-Rom"""
|
|
917
917
|
...
|
|
918
|
-
def GetSplinePointLinear(startPos: Vector2,endPos: Vector2,t: float,) -> Vector2:
|
|
918
|
+
def GetSplinePointLinear(startPos: Vector2|list|tuple,endPos: Vector2|list|tuple,t: float,) -> Vector2:
|
|
919
919
|
"""Get (evaluate) spline point: Linear"""
|
|
920
920
|
...
|
|
921
921
|
def GetTime() -> float:
|
|
@@ -945,43 +945,43 @@ def GetWindowPosition() -> Vector2:
|
|
|
945
945
|
def GetWindowScaleDPI() -> Vector2:
|
|
946
946
|
"""Get window scale DPI factor"""
|
|
947
947
|
...
|
|
948
|
-
def GetWorkingDirectory() ->
|
|
948
|
+
def GetWorkingDirectory() -> bytes:
|
|
949
949
|
"""Get current working directory (uses static string)"""
|
|
950
950
|
...
|
|
951
|
-
def GetWorldToScreen(position: Vector3,camera: Camera3D,) -> Vector2:
|
|
951
|
+
def GetWorldToScreen(position: Vector3|list|tuple,camera: Camera3D|list|tuple,) -> Vector2:
|
|
952
952
|
"""Get the screen space position for a 3d world space position"""
|
|
953
953
|
...
|
|
954
|
-
def GetWorldToScreen2D(position: Vector2,camera: Camera2D,) -> Vector2:
|
|
954
|
+
def GetWorldToScreen2D(position: Vector2|list|tuple,camera: Camera2D|list|tuple,) -> Vector2:
|
|
955
955
|
"""Get the screen space position for a 2d camera world space position"""
|
|
956
956
|
...
|
|
957
|
-
def GetWorldToScreenEx(position: Vector3,camera: Camera3D,width: int,height: int,) -> Vector2:
|
|
957
|
+
def GetWorldToScreenEx(position: Vector3|list|tuple,camera: Camera3D|list|tuple,width: int,height: int,) -> Vector2:
|
|
958
958
|
"""Get size position for a 3d world space position"""
|
|
959
959
|
...
|
|
960
|
-
def GuiButton(bounds: Rectangle,text:
|
|
960
|
+
def GuiButton(bounds: Rectangle|list|tuple,text: bytes,) -> int:
|
|
961
961
|
"""Button control, returns true when clicked"""
|
|
962
962
|
...
|
|
963
|
-
def GuiCheckBox(bounds: Rectangle,text:
|
|
963
|
+
def GuiCheckBox(bounds: Rectangle|list|tuple,text: bytes,checked: Any,) -> int:
|
|
964
964
|
"""Check Box control, returns true when active"""
|
|
965
965
|
...
|
|
966
|
-
def GuiColorBarAlpha(bounds: Rectangle,text:
|
|
966
|
+
def GuiColorBarAlpha(bounds: Rectangle|list|tuple,text: bytes,alpha: Any,) -> int:
|
|
967
967
|
"""Color Bar Alpha control"""
|
|
968
968
|
...
|
|
969
|
-
def GuiColorBarHue(bounds: Rectangle,text:
|
|
969
|
+
def GuiColorBarHue(bounds: Rectangle|list|tuple,text: bytes,value: Any,) -> int:
|
|
970
970
|
"""Color Bar Hue control"""
|
|
971
971
|
...
|
|
972
|
-
def GuiColorPanel(bounds: Rectangle,text:
|
|
972
|
+
def GuiColorPanel(bounds: Rectangle|list|tuple,text: bytes,color: Any|list|tuple,) -> int:
|
|
973
973
|
"""Color Panel control"""
|
|
974
974
|
...
|
|
975
|
-
def GuiColorPanelHSV(bounds: Rectangle,text:
|
|
975
|
+
def GuiColorPanelHSV(bounds: Rectangle|list|tuple,text: bytes,colorHsv: Any|list|tuple,) -> int:
|
|
976
976
|
"""Color Panel control that returns HSV color value, used by GuiColorPickerHSV()"""
|
|
977
977
|
...
|
|
978
|
-
def GuiColorPicker(bounds: Rectangle,text:
|
|
978
|
+
def GuiColorPicker(bounds: Rectangle|list|tuple,text: bytes,color: Any|list|tuple,) -> int:
|
|
979
979
|
"""Color Picker control (multiple color controls)"""
|
|
980
980
|
...
|
|
981
|
-
def GuiColorPickerHSV(bounds: Rectangle,text:
|
|
981
|
+
def GuiColorPickerHSV(bounds: Rectangle|list|tuple,text: bytes,colorHsv: Any|list|tuple,) -> int:
|
|
982
982
|
"""Color Picker control that avoids conversion to RGB on each call (multiple color controls)"""
|
|
983
983
|
...
|
|
984
|
-
def GuiComboBox(bounds: Rectangle,text:
|
|
984
|
+
def GuiComboBox(bounds: Rectangle|list|tuple,text: bytes,active: Any,) -> int:
|
|
985
985
|
"""Combo Box control, returns selected item index"""
|
|
986
986
|
...
|
|
987
987
|
def GuiDisable() -> None:
|
|
@@ -990,13 +990,13 @@ def GuiDisable() -> None:
|
|
|
990
990
|
def GuiDisableTooltip() -> None:
|
|
991
991
|
"""Disable gui tooltips (global state)"""
|
|
992
992
|
...
|
|
993
|
-
def GuiDrawIcon(iconId: int,posX: int,posY: int,pixelSize: int,color: Color,) -> None:
|
|
993
|
+
def GuiDrawIcon(iconId: int,posX: int,posY: int,pixelSize: int,color: Color|list|tuple,) -> None:
|
|
994
994
|
"""Draw icon using pixel size at specified position"""
|
|
995
995
|
...
|
|
996
|
-
def GuiDropdownBox(bounds: Rectangle,text:
|
|
996
|
+
def GuiDropdownBox(bounds: Rectangle|list|tuple,text: bytes,active: Any,editMode: bool,) -> int:
|
|
997
997
|
"""Dropdown Box control, returns selected item"""
|
|
998
998
|
...
|
|
999
|
-
def GuiDummyRec(bounds: Rectangle,text:
|
|
999
|
+
def GuiDummyRec(bounds: Rectangle|list|tuple,text: bytes,) -> int:
|
|
1000
1000
|
"""Dummy control for placeholders"""
|
|
1001
1001
|
...
|
|
1002
1002
|
def GuiEnable() -> None:
|
|
@@ -1017,37 +1017,37 @@ def GuiGetState() -> int:
|
|
|
1017
1017
|
def GuiGetStyle(control: int,property: int,) -> int:
|
|
1018
1018
|
"""Get one style property"""
|
|
1019
1019
|
...
|
|
1020
|
-
def GuiGrid(bounds: Rectangle,text:
|
|
1020
|
+
def GuiGrid(bounds: Rectangle|list|tuple,text: bytes,spacing: float,subdivs: int,mouseCell: Any|list|tuple,) -> int:
|
|
1021
1021
|
"""Grid control, returns mouse cell position"""
|
|
1022
1022
|
...
|
|
1023
|
-
def GuiGroupBox(bounds: Rectangle,text:
|
|
1023
|
+
def GuiGroupBox(bounds: Rectangle|list|tuple,text: bytes,) -> int:
|
|
1024
1024
|
"""Group Box control with text name"""
|
|
1025
1025
|
...
|
|
1026
|
-
def GuiIconText(iconId: int,text:
|
|
1026
|
+
def GuiIconText(iconId: int,text: bytes,) -> bytes:
|
|
1027
1027
|
"""Get text with icon id prepended (if supported)"""
|
|
1028
1028
|
...
|
|
1029
1029
|
def GuiIsLocked() -> bool:
|
|
1030
1030
|
"""Check if gui is locked (global state)"""
|
|
1031
1031
|
...
|
|
1032
|
-
def GuiLabel(bounds: Rectangle,text:
|
|
1032
|
+
def GuiLabel(bounds: Rectangle|list|tuple,text: bytes,) -> int:
|
|
1033
1033
|
"""Label control, shows text"""
|
|
1034
1034
|
...
|
|
1035
|
-
def GuiLabelButton(bounds: Rectangle,text:
|
|
1035
|
+
def GuiLabelButton(bounds: Rectangle|list|tuple,text: bytes,) -> int:
|
|
1036
1036
|
"""Label button control, show true when clicked"""
|
|
1037
1037
|
...
|
|
1038
|
-
def GuiLine(bounds: Rectangle,text:
|
|
1038
|
+
def GuiLine(bounds: Rectangle|list|tuple,text: bytes,) -> int:
|
|
1039
1039
|
"""Line separator control, could contain text"""
|
|
1040
1040
|
...
|
|
1041
|
-
def GuiListView(bounds: Rectangle,text:
|
|
1041
|
+
def GuiListView(bounds: Rectangle|list|tuple,text: bytes,scrollIndex: Any,active: Any,) -> int:
|
|
1042
1042
|
"""List View control, returns selected list item index"""
|
|
1043
1043
|
...
|
|
1044
|
-
def GuiListViewEx(bounds: Rectangle,text: list[
|
|
1044
|
+
def GuiListViewEx(bounds: Rectangle|list|tuple,text: list[bytes],count: int,scrollIndex: Any,active: Any,focus: Any,) -> int:
|
|
1045
1045
|
"""List View with extended parameters"""
|
|
1046
1046
|
...
|
|
1047
|
-
def GuiLoadIcons(fileName:
|
|
1047
|
+
def GuiLoadIcons(fileName: bytes,loadIconsName: bool,) -> list[bytes]:
|
|
1048
1048
|
"""Load raygui icons file (.rgi) into internal icons data"""
|
|
1049
1049
|
...
|
|
1050
|
-
def GuiLoadStyle(fileName:
|
|
1050
|
+
def GuiLoadStyle(fileName: bytes,) -> None:
|
|
1051
1051
|
"""Load style file over global style variable (.rgs)"""
|
|
1052
1052
|
...
|
|
1053
1053
|
def GuiLoadStyleDefault() -> None:
|
|
@@ -1056,22 +1056,22 @@ def GuiLoadStyleDefault() -> None:
|
|
|
1056
1056
|
def GuiLock() -> None:
|
|
1057
1057
|
"""Lock gui controls (global state)"""
|
|
1058
1058
|
...
|
|
1059
|
-
def GuiMessageBox(bounds: Rectangle,title:
|
|
1059
|
+
def GuiMessageBox(bounds: Rectangle|list|tuple,title: bytes,message: bytes,buttons: bytes,) -> int:
|
|
1060
1060
|
"""Message Box control, displays a message"""
|
|
1061
1061
|
...
|
|
1062
|
-
def GuiPanel(bounds: Rectangle,text:
|
|
1062
|
+
def GuiPanel(bounds: Rectangle|list|tuple,text: bytes,) -> int:
|
|
1063
1063
|
"""Panel control, useful to group controls"""
|
|
1064
1064
|
...
|
|
1065
|
-
def GuiProgressBar(bounds: Rectangle,textLeft:
|
|
1065
|
+
def GuiProgressBar(bounds: Rectangle|list|tuple,textLeft: bytes,textRight: bytes,value: Any,minValue: float,maxValue: float,) -> int:
|
|
1066
1066
|
"""Progress Bar control, shows current progress value"""
|
|
1067
1067
|
...
|
|
1068
|
-
def GuiScrollPanel(bounds: Rectangle,text:
|
|
1068
|
+
def GuiScrollPanel(bounds: Rectangle|list|tuple,text: bytes,content: Rectangle|list|tuple,scroll: Any|list|tuple,view: Any|list|tuple,) -> int:
|
|
1069
1069
|
"""Scroll Panel control"""
|
|
1070
1070
|
...
|
|
1071
1071
|
def GuiSetAlpha(alpha: float,) -> None:
|
|
1072
1072
|
"""Set gui controls alpha (global state), alpha goes from 0.0f to 1.0f"""
|
|
1073
1073
|
...
|
|
1074
|
-
def GuiSetFont(font: Font,) -> None:
|
|
1074
|
+
def GuiSetFont(font: Font|list|tuple,) -> None:
|
|
1075
1075
|
"""Set gui custom font (global state)"""
|
|
1076
1076
|
...
|
|
1077
1077
|
def GuiSetIconScale(scale: int,) -> None:
|
|
@@ -1083,46 +1083,46 @@ def GuiSetState(state: int,) -> None:
|
|
|
1083
1083
|
def GuiSetStyle(control: int,property: int,value: int,) -> None:
|
|
1084
1084
|
"""Set one style property"""
|
|
1085
1085
|
...
|
|
1086
|
-
def GuiSetTooltip(tooltip:
|
|
1086
|
+
def GuiSetTooltip(tooltip: bytes,) -> None:
|
|
1087
1087
|
"""Set tooltip string"""
|
|
1088
1088
|
...
|
|
1089
|
-
def GuiSlider(bounds: Rectangle,textLeft:
|
|
1089
|
+
def GuiSlider(bounds: Rectangle|list|tuple,textLeft: bytes,textRight: bytes,value: Any,minValue: float,maxValue: float,) -> int:
|
|
1090
1090
|
"""Slider control, returns selected value"""
|
|
1091
1091
|
...
|
|
1092
|
-
def GuiSliderBar(bounds: Rectangle,textLeft:
|
|
1092
|
+
def GuiSliderBar(bounds: Rectangle|list|tuple,textLeft: bytes,textRight: bytes,value: Any,minValue: float,maxValue: float,) -> int:
|
|
1093
1093
|
"""Slider Bar control, returns selected value"""
|
|
1094
1094
|
...
|
|
1095
|
-
def GuiSpinner(bounds: Rectangle,text:
|
|
1095
|
+
def GuiSpinner(bounds: Rectangle|list|tuple,text: bytes,value: Any,minValue: int,maxValue: int,editMode: bool,) -> int:
|
|
1096
1096
|
"""Spinner control, returns selected value"""
|
|
1097
1097
|
...
|
|
1098
|
-
def GuiStatusBar(bounds: Rectangle,text:
|
|
1098
|
+
def GuiStatusBar(bounds: Rectangle|list|tuple,text: bytes,) -> int:
|
|
1099
1099
|
"""Status Bar control, shows info text"""
|
|
1100
1100
|
...
|
|
1101
|
-
def GuiTabBar(bounds: Rectangle,text: list[
|
|
1101
|
+
def GuiTabBar(bounds: Rectangle|list|tuple,text: list[bytes],count: int,active: Any,) -> int:
|
|
1102
1102
|
"""Tab Bar control, returns TAB to be closed or -1"""
|
|
1103
1103
|
...
|
|
1104
|
-
def GuiTextBox(bounds: Rectangle,text:
|
|
1104
|
+
def GuiTextBox(bounds: Rectangle|list|tuple,text: bytes,textSize: int,editMode: bool,) -> int:
|
|
1105
1105
|
"""Text Box control, updates input text"""
|
|
1106
1106
|
...
|
|
1107
|
-
def GuiTextInputBox(bounds: Rectangle,title:
|
|
1107
|
+
def GuiTextInputBox(bounds: Rectangle|list|tuple,title: bytes,message: bytes,buttons: bytes,text: bytes,textMaxSize: int,secretViewActive: Any,) -> int:
|
|
1108
1108
|
"""Text Input Box control, ask for text, supports secret"""
|
|
1109
1109
|
...
|
|
1110
|
-
def GuiToggle(bounds: Rectangle,text:
|
|
1110
|
+
def GuiToggle(bounds: Rectangle|list|tuple,text: bytes,active: Any,) -> int:
|
|
1111
1111
|
"""Toggle Button control, returns true when active"""
|
|
1112
1112
|
...
|
|
1113
|
-
def GuiToggleGroup(bounds: Rectangle,text:
|
|
1113
|
+
def GuiToggleGroup(bounds: Rectangle|list|tuple,text: bytes,active: Any,) -> int:
|
|
1114
1114
|
"""Toggle Group control, returns active toggle index"""
|
|
1115
1115
|
...
|
|
1116
|
-
def GuiToggleSlider(bounds: Rectangle,text:
|
|
1116
|
+
def GuiToggleSlider(bounds: Rectangle|list|tuple,text: bytes,active: Any,) -> int:
|
|
1117
1117
|
"""Toggle Slider control, returns true when clicked"""
|
|
1118
1118
|
...
|
|
1119
1119
|
def GuiUnlock() -> None:
|
|
1120
1120
|
"""Unlock gui controls (global state)"""
|
|
1121
1121
|
...
|
|
1122
|
-
def GuiValueBox(bounds: Rectangle,text:
|
|
1122
|
+
def GuiValueBox(bounds: Rectangle|list|tuple,text: bytes,value: Any,minValue: int,maxValue: int,editMode: bool,) -> int:
|
|
1123
1123
|
"""Value Box control, updates input text with numbers"""
|
|
1124
1124
|
...
|
|
1125
|
-
def GuiWindowBox(bounds: Rectangle,title:
|
|
1125
|
+
def GuiWindowBox(bounds: Rectangle|list|tuple,title: bytes,) -> int:
|
|
1126
1126
|
"""Window Box control, shows a window that can be closed"""
|
|
1127
1127
|
...
|
|
1128
1128
|
HUEBAR_PADDING: int
|
|
@@ -1388,136 +1388,136 @@ ICON_ZOOM_BIG: int
|
|
|
1388
1388
|
ICON_ZOOM_CENTER: int
|
|
1389
1389
|
ICON_ZOOM_MEDIUM: int
|
|
1390
1390
|
ICON_ZOOM_SMALL: int
|
|
1391
|
-
def ImageAlphaClear(image: Any,color: Color,threshold: float,) -> None:
|
|
1391
|
+
def ImageAlphaClear(image: Any|list|tuple,color: Color|list|tuple,threshold: float,) -> None:
|
|
1392
1392
|
"""Clear alpha channel to desired color"""
|
|
1393
1393
|
...
|
|
1394
|
-
def ImageAlphaCrop(image: Any,threshold: float,) -> None:
|
|
1394
|
+
def ImageAlphaCrop(image: Any|list|tuple,threshold: float,) -> None:
|
|
1395
1395
|
"""Crop image depending on alpha value"""
|
|
1396
1396
|
...
|
|
1397
|
-
def ImageAlphaMask(image: Any,alphaMask: Image,) -> None:
|
|
1397
|
+
def ImageAlphaMask(image: Any|list|tuple,alphaMask: Image|list|tuple,) -> None:
|
|
1398
1398
|
"""Apply alpha mask to image"""
|
|
1399
1399
|
...
|
|
1400
|
-
def ImageAlphaPremultiply(image: Any,) -> None:
|
|
1400
|
+
def ImageAlphaPremultiply(image: Any|list|tuple,) -> None:
|
|
1401
1401
|
"""Premultiply alpha channel"""
|
|
1402
1402
|
...
|
|
1403
|
-
def ImageBlurGaussian(image: Any,blurSize: int,) -> None:
|
|
1403
|
+
def ImageBlurGaussian(image: Any|list|tuple,blurSize: int,) -> None:
|
|
1404
1404
|
"""Apply Gaussian blur using a box blur approximation"""
|
|
1405
1405
|
...
|
|
1406
|
-
def ImageClearBackground(dst: Any,color: Color,) -> None:
|
|
1406
|
+
def ImageClearBackground(dst: Any|list|tuple,color: Color|list|tuple,) -> None:
|
|
1407
1407
|
"""Clear image background with given color"""
|
|
1408
1408
|
...
|
|
1409
|
-
def ImageColorBrightness(image: Any,brightness: int,) -> None:
|
|
1409
|
+
def ImageColorBrightness(image: Any|list|tuple,brightness: int,) -> None:
|
|
1410
1410
|
"""Modify image color: brightness (-255 to 255)"""
|
|
1411
1411
|
...
|
|
1412
|
-
def ImageColorContrast(image: Any,contrast: float,) -> None:
|
|
1412
|
+
def ImageColorContrast(image: Any|list|tuple,contrast: float,) -> None:
|
|
1413
1413
|
"""Modify image color: contrast (-100 to 100)"""
|
|
1414
1414
|
...
|
|
1415
|
-
def ImageColorGrayscale(image: Any,) -> None:
|
|
1415
|
+
def ImageColorGrayscale(image: Any|list|tuple,) -> None:
|
|
1416
1416
|
"""Modify image color: grayscale"""
|
|
1417
1417
|
...
|
|
1418
|
-
def ImageColorInvert(image: Any,) -> None:
|
|
1418
|
+
def ImageColorInvert(image: Any|list|tuple,) -> None:
|
|
1419
1419
|
"""Modify image color: invert"""
|
|
1420
1420
|
...
|
|
1421
|
-
def ImageColorReplace(image: Any,color: Color,replace: Color,) -> None:
|
|
1421
|
+
def ImageColorReplace(image: Any|list|tuple,color: Color|list|tuple,replace: Color|list|tuple,) -> None:
|
|
1422
1422
|
"""Modify image color: replace color"""
|
|
1423
1423
|
...
|
|
1424
|
-
def ImageColorTint(image: Any,color: Color,) -> None:
|
|
1424
|
+
def ImageColorTint(image: Any|list|tuple,color: Color|list|tuple,) -> None:
|
|
1425
1425
|
"""Modify image color: tint"""
|
|
1426
1426
|
...
|
|
1427
|
-
def ImageCopy(image: Image,) -> Image:
|
|
1427
|
+
def ImageCopy(image: Image|list|tuple,) -> Image:
|
|
1428
1428
|
"""Create an image duplicate (useful for transformations)"""
|
|
1429
1429
|
...
|
|
1430
|
-
def ImageCrop(image: Any,crop: Rectangle,) -> None:
|
|
1430
|
+
def ImageCrop(image: Any|list|tuple,crop: Rectangle|list|tuple,) -> None:
|
|
1431
1431
|
"""Crop an image to a defined rectangle"""
|
|
1432
1432
|
...
|
|
1433
|
-
def ImageDither(image: Any,rBpp: int,gBpp: int,bBpp: int,aBpp: int,) -> None:
|
|
1433
|
+
def ImageDither(image: Any|list|tuple,rBpp: int,gBpp: int,bBpp: int,aBpp: int,) -> None:
|
|
1434
1434
|
"""Dither image data to 16bpp or lower (Floyd-Steinberg dithering)"""
|
|
1435
1435
|
...
|
|
1436
|
-
def ImageDraw(dst: Any,src: Image,srcRec: Rectangle,dstRec: Rectangle,tint: Color,) -> None:
|
|
1436
|
+
def ImageDraw(dst: Any|list|tuple,src: Image|list|tuple,srcRec: Rectangle|list|tuple,dstRec: Rectangle|list|tuple,tint: Color|list|tuple,) -> None:
|
|
1437
1437
|
"""Draw a source image within a destination image (tint applied to source)"""
|
|
1438
1438
|
...
|
|
1439
|
-
def ImageDrawCircle(dst: Any,centerX: int,centerY: int,radius: int,color: Color,) -> None:
|
|
1439
|
+
def ImageDrawCircle(dst: Any|list|tuple,centerX: int,centerY: int,radius: int,color: Color|list|tuple,) -> None:
|
|
1440
1440
|
"""Draw a filled circle within an image"""
|
|
1441
1441
|
...
|
|
1442
|
-
def ImageDrawCircleLines(dst: Any,centerX: int,centerY: int,radius: int,color: Color,) -> None:
|
|
1442
|
+
def ImageDrawCircleLines(dst: Any|list|tuple,centerX: int,centerY: int,radius: int,color: Color|list|tuple,) -> None:
|
|
1443
1443
|
"""Draw circle outline within an image"""
|
|
1444
1444
|
...
|
|
1445
|
-
def ImageDrawCircleLinesV(dst: Any,center: Vector2,radius: int,color: Color,) -> None:
|
|
1445
|
+
def ImageDrawCircleLinesV(dst: Any|list|tuple,center: Vector2|list|tuple,radius: int,color: Color|list|tuple,) -> None:
|
|
1446
1446
|
"""Draw circle outline within an image (Vector version)"""
|
|
1447
1447
|
...
|
|
1448
|
-
def ImageDrawCircleV(dst: Any,center: Vector2,radius: int,color: Color,) -> None:
|
|
1448
|
+
def ImageDrawCircleV(dst: Any|list|tuple,center: Vector2|list|tuple,radius: int,color: Color|list|tuple,) -> None:
|
|
1449
1449
|
"""Draw a filled circle within an image (Vector version)"""
|
|
1450
1450
|
...
|
|
1451
|
-
def ImageDrawLine(dst: Any,startPosX: int,startPosY: int,endPosX: int,endPosY: int,color: Color,) -> None:
|
|
1451
|
+
def ImageDrawLine(dst: Any|list|tuple,startPosX: int,startPosY: int,endPosX: int,endPosY: int,color: Color|list|tuple,) -> None:
|
|
1452
1452
|
"""Draw line within an image"""
|
|
1453
1453
|
...
|
|
1454
|
-
def ImageDrawLineV(dst: Any,start: Vector2,end: Vector2,color: Color,) -> None:
|
|
1454
|
+
def ImageDrawLineV(dst: Any|list|tuple,start: Vector2|list|tuple,end: Vector2|list|tuple,color: Color|list|tuple,) -> None:
|
|
1455
1455
|
"""Draw line within an image (Vector version)"""
|
|
1456
1456
|
...
|
|
1457
|
-
def ImageDrawPixel(dst: Any,posX: int,posY: int,color: Color,) -> None:
|
|
1457
|
+
def ImageDrawPixel(dst: Any|list|tuple,posX: int,posY: int,color: Color|list|tuple,) -> None:
|
|
1458
1458
|
"""Draw pixel within an image"""
|
|
1459
1459
|
...
|
|
1460
|
-
def ImageDrawPixelV(dst: Any,position: Vector2,color: Color,) -> None:
|
|
1460
|
+
def ImageDrawPixelV(dst: Any|list|tuple,position: Vector2|list|tuple,color: Color|list|tuple,) -> None:
|
|
1461
1461
|
"""Draw pixel within an image (Vector version)"""
|
|
1462
1462
|
...
|
|
1463
|
-
def ImageDrawRectangle(dst: Any,posX: int,posY: int,width: int,height: int,color: Color,) -> None:
|
|
1463
|
+
def ImageDrawRectangle(dst: Any|list|tuple,posX: int,posY: int,width: int,height: int,color: Color|list|tuple,) -> None:
|
|
1464
1464
|
"""Draw rectangle within an image"""
|
|
1465
1465
|
...
|
|
1466
|
-
def ImageDrawRectangleLines(dst: Any,rec: Rectangle,thick: int,color: Color,) -> None:
|
|
1466
|
+
def ImageDrawRectangleLines(dst: Any|list|tuple,rec: Rectangle|list|tuple,thick: int,color: Color|list|tuple,) -> None:
|
|
1467
1467
|
"""Draw rectangle lines within an image"""
|
|
1468
1468
|
...
|
|
1469
|
-
def ImageDrawRectangleRec(dst: Any,rec: Rectangle,color: Color,) -> None:
|
|
1469
|
+
def ImageDrawRectangleRec(dst: Any|list|tuple,rec: Rectangle|list|tuple,color: Color|list|tuple,) -> None:
|
|
1470
1470
|
"""Draw rectangle within an image"""
|
|
1471
1471
|
...
|
|
1472
|
-
def ImageDrawRectangleV(dst: Any,position: Vector2,size: Vector2,color: Color,) -> None:
|
|
1472
|
+
def ImageDrawRectangleV(dst: Any|list|tuple,position: Vector2|list|tuple,size: Vector2|list|tuple,color: Color|list|tuple,) -> None:
|
|
1473
1473
|
"""Draw rectangle within an image (Vector version)"""
|
|
1474
1474
|
...
|
|
1475
|
-
def ImageDrawText(dst: Any,text:
|
|
1475
|
+
def ImageDrawText(dst: Any|list|tuple,text: bytes,posX: int,posY: int,fontSize: int,color: Color|list|tuple,) -> None:
|
|
1476
1476
|
"""Draw text (using default font) within an image (destination)"""
|
|
1477
1477
|
...
|
|
1478
|
-
def ImageDrawTextEx(dst: Any,font: Font,text:
|
|
1478
|
+
def ImageDrawTextEx(dst: Any|list|tuple,font: Font|list|tuple,text: bytes,position: Vector2|list|tuple,fontSize: float,spacing: float,tint: Color|list|tuple,) -> None:
|
|
1479
1479
|
"""Draw text (custom sprite font) within an image (destination)"""
|
|
1480
1480
|
...
|
|
1481
|
-
def ImageFlipHorizontal(image: Any,) -> None:
|
|
1481
|
+
def ImageFlipHorizontal(image: Any|list|tuple,) -> None:
|
|
1482
1482
|
"""Flip image horizontally"""
|
|
1483
1483
|
...
|
|
1484
|
-
def ImageFlipVertical(image: Any,) -> None:
|
|
1484
|
+
def ImageFlipVertical(image: Any|list|tuple,) -> None:
|
|
1485
1485
|
"""Flip image vertically"""
|
|
1486
1486
|
...
|
|
1487
|
-
def ImageFormat(image: Any,newFormat: int,) -> None:
|
|
1487
|
+
def ImageFormat(image: Any|list|tuple,newFormat: int,) -> None:
|
|
1488
1488
|
"""Convert image data to desired format"""
|
|
1489
1489
|
...
|
|
1490
|
-
def ImageFromImage(image: Image,rec: Rectangle,) -> Image:
|
|
1490
|
+
def ImageFromImage(image: Image|list|tuple,rec: Rectangle|list|tuple,) -> Image:
|
|
1491
1491
|
"""Create an image from another image piece"""
|
|
1492
1492
|
...
|
|
1493
|
-
def ImageMipmaps(image: Any,) -> None:
|
|
1493
|
+
def ImageMipmaps(image: Any|list|tuple,) -> None:
|
|
1494
1494
|
"""Compute all mipmap levels for a provided image"""
|
|
1495
1495
|
...
|
|
1496
|
-
def ImageResize(image: Any,newWidth: int,newHeight: int,) -> None:
|
|
1496
|
+
def ImageResize(image: Any|list|tuple,newWidth: int,newHeight: int,) -> None:
|
|
1497
1497
|
"""Resize image (Bicubic scaling algorithm)"""
|
|
1498
1498
|
...
|
|
1499
|
-
def ImageResizeCanvas(image: Any,newWidth: int,newHeight: int,offsetX: int,offsetY: int,fill: Color,) -> None:
|
|
1499
|
+
def ImageResizeCanvas(image: Any|list|tuple,newWidth: int,newHeight: int,offsetX: int,offsetY: int,fill: Color|list|tuple,) -> None:
|
|
1500
1500
|
"""Resize canvas and fill with color"""
|
|
1501
1501
|
...
|
|
1502
|
-
def ImageResizeNN(image: Any,newWidth: int,newHeight: int,) -> None:
|
|
1502
|
+
def ImageResizeNN(image: Any|list|tuple,newWidth: int,newHeight: int,) -> None:
|
|
1503
1503
|
"""Resize image (Nearest-Neighbor scaling algorithm)"""
|
|
1504
1504
|
...
|
|
1505
|
-
def ImageRotate(image: Any,degrees: int,) -> None:
|
|
1505
|
+
def ImageRotate(image: Any|list|tuple,degrees: int,) -> None:
|
|
1506
1506
|
"""Rotate image by input angle in degrees (-359 to 359)"""
|
|
1507
1507
|
...
|
|
1508
|
-
def ImageRotateCCW(image: Any,) -> None:
|
|
1508
|
+
def ImageRotateCCW(image: Any|list|tuple,) -> None:
|
|
1509
1509
|
"""Rotate image counter-clockwise 90deg"""
|
|
1510
1510
|
...
|
|
1511
|
-
def ImageRotateCW(image: Any,) -> None:
|
|
1511
|
+
def ImageRotateCW(image: Any|list|tuple,) -> None:
|
|
1512
1512
|
"""Rotate image clockwise 90deg"""
|
|
1513
1513
|
...
|
|
1514
|
-
def ImageText(text:
|
|
1514
|
+
def ImageText(text: bytes,fontSize: int,color: Color|list|tuple,) -> Image:
|
|
1515
1515
|
"""Create an image from text (default font)"""
|
|
1516
1516
|
...
|
|
1517
|
-
def ImageTextEx(font: Font,text:
|
|
1517
|
+
def ImageTextEx(font: Font|list|tuple,text: bytes,fontSize: float,spacing: float,tint: Color|list|tuple,) -> Image:
|
|
1518
1518
|
"""Create an image from text (custom sprite font)"""
|
|
1519
1519
|
...
|
|
1520
|
-
def ImageToPOT(image: Any,fill: Color,) -> None:
|
|
1520
|
+
def ImageToPOT(image: Any|list|tuple,fill: Color|list|tuple,) -> None:
|
|
1521
1521
|
"""Convert image to POT (power-of-two)"""
|
|
1522
1522
|
...
|
|
1523
1523
|
def InitAudioDevice() -> None:
|
|
@@ -1526,19 +1526,19 @@ def InitAudioDevice() -> None:
|
|
|
1526
1526
|
def InitPhysics() -> None:
|
|
1527
1527
|
"""Initializes physics system"""
|
|
1528
1528
|
...
|
|
1529
|
-
def InitWindow(width: int,height: int,title:
|
|
1529
|
+
def InitWindow(width: int,height: int,title: bytes,) -> None:
|
|
1530
1530
|
"""Initialize window and OpenGL context"""
|
|
1531
1531
|
...
|
|
1532
1532
|
def IsAudioDeviceReady() -> bool:
|
|
1533
1533
|
"""Check if audio device has been initialized successfully"""
|
|
1534
1534
|
...
|
|
1535
|
-
def IsAudioStreamPlaying(stream: AudioStream,) -> bool:
|
|
1535
|
+
def IsAudioStreamPlaying(stream: AudioStream|list|tuple,) -> bool:
|
|
1536
1536
|
"""Check if audio stream is playing"""
|
|
1537
1537
|
...
|
|
1538
|
-
def IsAudioStreamProcessed(stream: AudioStream,) -> bool:
|
|
1538
|
+
def IsAudioStreamProcessed(stream: AudioStream|list|tuple,) -> bool:
|
|
1539
1539
|
"""Check if any audio stream buffers requires refill"""
|
|
1540
1540
|
...
|
|
1541
|
-
def IsAudioStreamReady(stream: AudioStream,) -> bool:
|
|
1541
|
+
def IsAudioStreamReady(stream: AudioStream|list|tuple,) -> bool:
|
|
1542
1542
|
"""Checks if an audio stream is ready"""
|
|
1543
1543
|
...
|
|
1544
1544
|
def IsCursorHidden() -> bool:
|
|
@@ -1550,10 +1550,10 @@ def IsCursorOnScreen() -> bool:
|
|
|
1550
1550
|
def IsFileDropped() -> bool:
|
|
1551
1551
|
"""Check if a file has been dropped into window"""
|
|
1552
1552
|
...
|
|
1553
|
-
def IsFileExtension(fileName:
|
|
1553
|
+
def IsFileExtension(fileName: bytes,ext: bytes,) -> bool:
|
|
1554
1554
|
"""Check file extension (including point: .png, .wav)"""
|
|
1555
1555
|
...
|
|
1556
|
-
def IsFontReady(font: Font,) -> bool:
|
|
1556
|
+
def IsFontReady(font: Font|list|tuple,) -> bool:
|
|
1557
1557
|
"""Check if a font is ready"""
|
|
1558
1558
|
...
|
|
1559
1559
|
def IsGamepadAvailable(gamepad: int,) -> bool:
|
|
@@ -1574,7 +1574,7 @@ def IsGamepadButtonUp(gamepad: int,button: int,) -> bool:
|
|
|
1574
1574
|
def IsGestureDetected(gesture: int,) -> bool:
|
|
1575
1575
|
"""Check if a gesture have been detected"""
|
|
1576
1576
|
...
|
|
1577
|
-
def IsImageReady(image: Image,) -> bool:
|
|
1577
|
+
def IsImageReady(image: Image|list|tuple,) -> bool:
|
|
1578
1578
|
"""Check if an image is ready"""
|
|
1579
1579
|
...
|
|
1580
1580
|
def IsKeyDown(key: int,) -> bool:
|
|
@@ -1592,13 +1592,13 @@ def IsKeyReleased(key: int,) -> bool:
|
|
|
1592
1592
|
def IsKeyUp(key: int,) -> bool:
|
|
1593
1593
|
"""Check if a key is NOT being pressed"""
|
|
1594
1594
|
...
|
|
1595
|
-
def IsMaterialReady(material: Material,) -> bool:
|
|
1595
|
+
def IsMaterialReady(material: Material|list|tuple,) -> bool:
|
|
1596
1596
|
"""Check if a material is ready"""
|
|
1597
1597
|
...
|
|
1598
|
-
def IsModelAnimationValid(model: Model,anim: ModelAnimation,) -> bool:
|
|
1598
|
+
def IsModelAnimationValid(model: Model|list|tuple,anim: ModelAnimation|list|tuple,) -> bool:
|
|
1599
1599
|
"""Check model animation skeleton match"""
|
|
1600
1600
|
...
|
|
1601
|
-
def IsModelReady(model: Model,) -> bool:
|
|
1601
|
+
def IsModelReady(model: Model|list|tuple,) -> bool:
|
|
1602
1602
|
"""Check if a model is ready"""
|
|
1603
1603
|
...
|
|
1604
1604
|
def IsMouseButtonDown(button: int,) -> bool:
|
|
@@ -1613,31 +1613,31 @@ def IsMouseButtonReleased(button: int,) -> bool:
|
|
|
1613
1613
|
def IsMouseButtonUp(button: int,) -> bool:
|
|
1614
1614
|
"""Check if a mouse button is NOT being pressed"""
|
|
1615
1615
|
...
|
|
1616
|
-
def IsMusicReady(music: Music,) -> bool:
|
|
1616
|
+
def IsMusicReady(music: Music|list|tuple,) -> bool:
|
|
1617
1617
|
"""Checks if a music stream is ready"""
|
|
1618
1618
|
...
|
|
1619
|
-
def IsMusicStreamPlaying(music: Music,) -> bool:
|
|
1619
|
+
def IsMusicStreamPlaying(music: Music|list|tuple,) -> bool:
|
|
1620
1620
|
"""Check if music is playing"""
|
|
1621
1621
|
...
|
|
1622
|
-
def IsPathFile(path:
|
|
1622
|
+
def IsPathFile(path: bytes,) -> bool:
|
|
1623
1623
|
"""Check if a given path is a file or a directory"""
|
|
1624
1624
|
...
|
|
1625
|
-
def IsRenderTextureReady(target: RenderTexture,) -> bool:
|
|
1625
|
+
def IsRenderTextureReady(target: RenderTexture|list|tuple,) -> bool:
|
|
1626
1626
|
"""Check if a render texture is ready"""
|
|
1627
1627
|
...
|
|
1628
|
-
def IsShaderReady(shader: Shader,) -> bool:
|
|
1628
|
+
def IsShaderReady(shader: Shader|list|tuple,) -> bool:
|
|
1629
1629
|
"""Check if a shader is ready"""
|
|
1630
1630
|
...
|
|
1631
|
-
def IsSoundPlaying(sound: Sound,) -> bool:
|
|
1631
|
+
def IsSoundPlaying(sound: Sound|list|tuple,) -> bool:
|
|
1632
1632
|
"""Check if a sound is currently playing"""
|
|
1633
1633
|
...
|
|
1634
|
-
def IsSoundReady(sound: Sound,) -> bool:
|
|
1634
|
+
def IsSoundReady(sound: Sound|list|tuple,) -> bool:
|
|
1635
1635
|
"""Checks if a sound is ready"""
|
|
1636
1636
|
...
|
|
1637
|
-
def IsTextureReady(texture: Texture,) -> bool:
|
|
1637
|
+
def IsTextureReady(texture: Texture|list|tuple,) -> bool:
|
|
1638
1638
|
"""Check if a texture is ready"""
|
|
1639
1639
|
...
|
|
1640
|
-
def IsWaveReady(wave: Wave,) -> bool:
|
|
1640
|
+
def IsWaveReady(wave: Wave|list|tuple,) -> bool:
|
|
1641
1641
|
"""Checks if wave data is ready"""
|
|
1642
1642
|
...
|
|
1643
1643
|
def IsWindowFocused() -> bool:
|
|
@@ -1793,88 +1793,88 @@ def Lerp(start: float,end: float,amount: float,) -> float:
|
|
|
1793
1793
|
def LoadAudioStream(sampleRate: int,sampleSize: int,channels: int,) -> AudioStream:
|
|
1794
1794
|
"""Load audio stream (to stream raw audio pcm data)"""
|
|
1795
1795
|
...
|
|
1796
|
-
def LoadAutomationEventList(fileName:
|
|
1796
|
+
def LoadAutomationEventList(fileName: bytes,) -> AutomationEventList:
|
|
1797
1797
|
"""Load automation events list from file, NULL for empty list, capacity = MAX_AUTOMATION_EVENTS"""
|
|
1798
1798
|
...
|
|
1799
|
-
def LoadCodepoints(text:
|
|
1799
|
+
def LoadCodepoints(text: bytes,count: Any,) -> Any:
|
|
1800
1800
|
"""Load all codepoints from a UTF-8 text string, codepoints count returned by parameter"""
|
|
1801
1801
|
...
|
|
1802
|
-
def LoadDirectoryFiles(dirPath:
|
|
1802
|
+
def LoadDirectoryFiles(dirPath: bytes,) -> FilePathList:
|
|
1803
1803
|
"""Load directory filepaths"""
|
|
1804
1804
|
...
|
|
1805
|
-
def LoadDirectoryFilesEx(basePath:
|
|
1805
|
+
def LoadDirectoryFilesEx(basePath: bytes,filter: bytes,scanSubdirs: bool,) -> FilePathList:
|
|
1806
1806
|
"""Load directory filepaths with extension filtering and recursive directory scan"""
|
|
1807
1807
|
...
|
|
1808
1808
|
def LoadDroppedFiles() -> FilePathList:
|
|
1809
1809
|
"""Load dropped filepaths"""
|
|
1810
1810
|
...
|
|
1811
|
-
def LoadFileData(fileName:
|
|
1811
|
+
def LoadFileData(fileName: bytes,dataSize: Any,) -> bytes:
|
|
1812
1812
|
"""Load file data as byte array (read)"""
|
|
1813
1813
|
...
|
|
1814
|
-
def LoadFileText(fileName:
|
|
1814
|
+
def LoadFileText(fileName: bytes,) -> bytes:
|
|
1815
1815
|
"""Load text data from file (read), returns a '\0' terminated string"""
|
|
1816
1816
|
...
|
|
1817
|
-
def LoadFont(fileName:
|
|
1817
|
+
def LoadFont(fileName: bytes,) -> Font:
|
|
1818
1818
|
"""Load font from file into GPU memory (VRAM)"""
|
|
1819
1819
|
...
|
|
1820
|
-
def LoadFontData(fileData:
|
|
1820
|
+
def LoadFontData(fileData: bytes,dataSize: int,fontSize: int,codepoints: Any,codepointCount: int,type: int,) -> Any:
|
|
1821
1821
|
"""Load font data for further use"""
|
|
1822
1822
|
...
|
|
1823
|
-
def LoadFontEx(fileName:
|
|
1823
|
+
def LoadFontEx(fileName: bytes,fontSize: int,codepoints: Any,codepointCount: int,) -> Font:
|
|
1824
1824
|
"""Load font from file with extended parameters, use NULL for codepoints and 0 for codepointCount to load the default character setFont"""
|
|
1825
1825
|
...
|
|
1826
|
-
def LoadFontFromImage(image: Image,key: Color,firstChar: int,) -> Font:
|
|
1826
|
+
def LoadFontFromImage(image: Image|list|tuple,key: Color|list|tuple,firstChar: int,) -> Font:
|
|
1827
1827
|
"""Load font from Image (XNA style)"""
|
|
1828
1828
|
...
|
|
1829
|
-
def LoadFontFromMemory(fileType:
|
|
1829
|
+
def LoadFontFromMemory(fileType: bytes,fileData: bytes,dataSize: int,fontSize: int,codepoints: Any,codepointCount: int,) -> Font:
|
|
1830
1830
|
"""Load font from memory buffer, fileType refers to extension: i.e. '.ttf'"""
|
|
1831
1831
|
...
|
|
1832
|
-
def LoadImage(fileName:
|
|
1832
|
+
def LoadImage(fileName: bytes,) -> Image:
|
|
1833
1833
|
"""Load image from file into CPU memory (RAM)"""
|
|
1834
1834
|
...
|
|
1835
|
-
def LoadImageAnim(fileName:
|
|
1835
|
+
def LoadImageAnim(fileName: bytes,frames: Any,) -> Image:
|
|
1836
1836
|
"""Load image sequence from file (frames appended to image.data)"""
|
|
1837
1837
|
...
|
|
1838
|
-
def LoadImageColors(image: Image,) -> Any:
|
|
1838
|
+
def LoadImageColors(image: Image|list|tuple,) -> Any:
|
|
1839
1839
|
"""Load color data from image as a Color array (RGBA - 32bit)"""
|
|
1840
1840
|
...
|
|
1841
|
-
def LoadImageFromMemory(fileType:
|
|
1841
|
+
def LoadImageFromMemory(fileType: bytes,fileData: bytes,dataSize: int,) -> Image:
|
|
1842
1842
|
"""Load image from memory buffer, fileType refers to extension: i.e. '.png'"""
|
|
1843
1843
|
...
|
|
1844
1844
|
def LoadImageFromScreen() -> Image:
|
|
1845
1845
|
"""Load image from screen buffer and (screenshot)"""
|
|
1846
1846
|
...
|
|
1847
|
-
def LoadImageFromTexture(texture: Texture,) -> Image:
|
|
1847
|
+
def LoadImageFromTexture(texture: Texture|list|tuple,) -> Image:
|
|
1848
1848
|
"""Load image from GPU texture data"""
|
|
1849
1849
|
...
|
|
1850
|
-
def LoadImagePalette(image: Image,maxPaletteSize: int,colorCount: Any,) -> Any:
|
|
1850
|
+
def LoadImagePalette(image: Image|list|tuple,maxPaletteSize: int,colorCount: Any,) -> Any:
|
|
1851
1851
|
"""Load colors palette from image as a Color array (RGBA - 32bit)"""
|
|
1852
1852
|
...
|
|
1853
|
-
def LoadImageRaw(fileName:
|
|
1853
|
+
def LoadImageRaw(fileName: bytes,width: int,height: int,format: int,headerSize: int,) -> Image:
|
|
1854
1854
|
"""Load image from RAW file data"""
|
|
1855
1855
|
...
|
|
1856
|
-
def LoadImageSvg(fileNameOrString:
|
|
1856
|
+
def LoadImageSvg(fileNameOrString: bytes,width: int,height: int,) -> Image:
|
|
1857
1857
|
"""Load image from SVG file data or string with specified size"""
|
|
1858
1858
|
...
|
|
1859
1859
|
def LoadMaterialDefault() -> Material:
|
|
1860
1860
|
"""Load default material (Supports: DIFFUSE, SPECULAR, NORMAL maps)"""
|
|
1861
1861
|
...
|
|
1862
|
-
def LoadMaterials(fileName:
|
|
1862
|
+
def LoadMaterials(fileName: bytes,materialCount: Any,) -> Any:
|
|
1863
1863
|
"""Load materials from model file"""
|
|
1864
1864
|
...
|
|
1865
|
-
def LoadModel(fileName:
|
|
1865
|
+
def LoadModel(fileName: bytes,) -> Model:
|
|
1866
1866
|
"""Load model from files (meshes and materials)"""
|
|
1867
1867
|
...
|
|
1868
|
-
def LoadModelAnimations(fileName:
|
|
1868
|
+
def LoadModelAnimations(fileName: bytes,animCount: Any,) -> Any:
|
|
1869
1869
|
"""Load model animations from file"""
|
|
1870
1870
|
...
|
|
1871
|
-
def LoadModelFromMesh(mesh: Mesh,) -> Model:
|
|
1871
|
+
def LoadModelFromMesh(mesh: Mesh|list|tuple,) -> Model:
|
|
1872
1872
|
"""Load model from generated mesh (default material)"""
|
|
1873
1873
|
...
|
|
1874
|
-
def LoadMusicStream(fileName:
|
|
1874
|
+
def LoadMusicStream(fileName: bytes,) -> Music:
|
|
1875
1875
|
"""Load music stream from file"""
|
|
1876
1876
|
...
|
|
1877
|
-
def LoadMusicStreamFromMemory(fileType:
|
|
1877
|
+
def LoadMusicStreamFromMemory(fileType: bytes,data: bytes,dataSize: int,) -> Music:
|
|
1878
1878
|
"""Load music stream from data"""
|
|
1879
1879
|
...
|
|
1880
1880
|
def LoadRandomSequence(count: int,min_1: int,max_2: int,) -> Any:
|
|
@@ -1883,43 +1883,43 @@ def LoadRandomSequence(count: int,min_1: int,max_2: int,) -> Any:
|
|
|
1883
1883
|
def LoadRenderTexture(width: int,height: int,) -> RenderTexture:
|
|
1884
1884
|
"""Load texture for rendering (framebuffer)"""
|
|
1885
1885
|
...
|
|
1886
|
-
def LoadShader(vsFileName:
|
|
1886
|
+
def LoadShader(vsFileName: bytes,fsFileName: bytes,) -> Shader:
|
|
1887
1887
|
"""Load shader from files and bind default locations"""
|
|
1888
1888
|
...
|
|
1889
|
-
def LoadShaderFromMemory(vsCode:
|
|
1889
|
+
def LoadShaderFromMemory(vsCode: bytes,fsCode: bytes,) -> Shader:
|
|
1890
1890
|
"""Load shader from code strings and bind default locations"""
|
|
1891
1891
|
...
|
|
1892
|
-
def LoadSound(fileName:
|
|
1892
|
+
def LoadSound(fileName: bytes,) -> Sound:
|
|
1893
1893
|
"""Load sound from file"""
|
|
1894
1894
|
...
|
|
1895
|
-
def LoadSoundAlias(source: Sound,) -> Sound:
|
|
1895
|
+
def LoadSoundAlias(source: Sound|list|tuple,) -> Sound:
|
|
1896
1896
|
"""Create a new sound that shares the same sample data as the source sound, does not own the sound data"""
|
|
1897
1897
|
...
|
|
1898
|
-
def LoadSoundFromWave(wave: Wave,) -> Sound:
|
|
1898
|
+
def LoadSoundFromWave(wave: Wave|list|tuple,) -> Sound:
|
|
1899
1899
|
"""Load sound from wave data"""
|
|
1900
1900
|
...
|
|
1901
|
-
def LoadTexture(fileName:
|
|
1901
|
+
def LoadTexture(fileName: bytes,) -> Texture:
|
|
1902
1902
|
"""Load texture from file into GPU memory (VRAM)"""
|
|
1903
1903
|
...
|
|
1904
|
-
def LoadTextureCubemap(image: Image,layout: int,) -> Texture:
|
|
1904
|
+
def LoadTextureCubemap(image: Image|list|tuple,layout: int,) -> Texture:
|
|
1905
1905
|
"""Load cubemap from image, multiple image cubemap layouts supported"""
|
|
1906
1906
|
...
|
|
1907
|
-
def LoadTextureFromImage(image: Image,) -> Texture:
|
|
1907
|
+
def LoadTextureFromImage(image: Image|list|tuple,) -> Texture:
|
|
1908
1908
|
"""Load texture from image data"""
|
|
1909
1909
|
...
|
|
1910
|
-
def LoadUTF8(codepoints: Any,length: int,) ->
|
|
1910
|
+
def LoadUTF8(codepoints: Any,length: int,) -> bytes:
|
|
1911
1911
|
"""Load UTF-8 text encoded from codepoints array"""
|
|
1912
1912
|
...
|
|
1913
|
-
def LoadVrStereoConfig(device: VrDeviceInfo,) -> VrStereoConfig:
|
|
1913
|
+
def LoadVrStereoConfig(device: VrDeviceInfo|list|tuple,) -> VrStereoConfig:
|
|
1914
1914
|
"""Load VR stereo config for VR simulator device parameters"""
|
|
1915
1915
|
...
|
|
1916
|
-
def LoadWave(fileName:
|
|
1916
|
+
def LoadWave(fileName: bytes,) -> Wave:
|
|
1917
1917
|
"""Load wave data from file"""
|
|
1918
1918
|
...
|
|
1919
|
-
def LoadWaveFromMemory(fileType:
|
|
1919
|
+
def LoadWaveFromMemory(fileType: bytes,fileData: bytes,dataSize: int,) -> Wave:
|
|
1920
1920
|
"""Load wave from memory buffer, fileType refers to extension: i.e. '.wav'"""
|
|
1921
1921
|
...
|
|
1922
|
-
def LoadWaveSamples(wave: Wave,) -> Any:
|
|
1922
|
+
def LoadWaveSamples(wave: Wave|list|tuple,) -> Any:
|
|
1923
1923
|
"""Load samples data from wave as a 32bit float data array"""
|
|
1924
1924
|
...
|
|
1925
1925
|
MATERIAL_MAP_ALBEDO: int
|
|
@@ -1951,10 +1951,10 @@ MOUSE_CURSOR_RESIZE_EW: int
|
|
|
1951
1951
|
MOUSE_CURSOR_RESIZE_NESW: int
|
|
1952
1952
|
MOUSE_CURSOR_RESIZE_NS: int
|
|
1953
1953
|
MOUSE_CURSOR_RESIZE_NWSE: int
|
|
1954
|
-
def MatrixAdd(left: Matrix,right: Matrix,) -> Matrix:
|
|
1954
|
+
def MatrixAdd(left: Matrix|list|tuple,right: Matrix|list|tuple,) -> Matrix:
|
|
1955
1955
|
""""""
|
|
1956
1956
|
...
|
|
1957
|
-
def MatrixDeterminant(mat: Matrix,) -> float:
|
|
1957
|
+
def MatrixDeterminant(mat: Matrix|list|tuple,) -> float:
|
|
1958
1958
|
""""""
|
|
1959
1959
|
...
|
|
1960
1960
|
def MatrixFrustum(left: float,right: float,bottom: float,top: float,near: float,far: float,) -> Matrix:
|
|
@@ -1963,13 +1963,13 @@ def MatrixFrustum(left: float,right: float,bottom: float,top: float,near: float,
|
|
|
1963
1963
|
def MatrixIdentity() -> Matrix:
|
|
1964
1964
|
""""""
|
|
1965
1965
|
...
|
|
1966
|
-
def MatrixInvert(mat: Matrix,) -> Matrix:
|
|
1966
|
+
def MatrixInvert(mat: Matrix|list|tuple,) -> Matrix:
|
|
1967
1967
|
""""""
|
|
1968
1968
|
...
|
|
1969
|
-
def MatrixLookAt(eye: Vector3,target: Vector3,up: Vector3,) -> Matrix:
|
|
1969
|
+
def MatrixLookAt(eye: Vector3|list|tuple,target: Vector3|list|tuple,up: Vector3|list|tuple,) -> Matrix:
|
|
1970
1970
|
""""""
|
|
1971
1971
|
...
|
|
1972
|
-
def MatrixMultiply(left: Matrix,right: Matrix,) -> Matrix:
|
|
1972
|
+
def MatrixMultiply(left: Matrix|list|tuple,right: Matrix|list|tuple,) -> Matrix:
|
|
1973
1973
|
""""""
|
|
1974
1974
|
...
|
|
1975
1975
|
def MatrixOrtho(left: float,right: float,bottom: float,top: float,nearPlane: float,farPlane: float,) -> Matrix:
|
|
@@ -1978,13 +1978,13 @@ def MatrixOrtho(left: float,right: float,bottom: float,top: float,nearPlane: flo
|
|
|
1978
1978
|
def MatrixPerspective(fovY: float,aspect: float,nearPlane: float,farPlane: float,) -> Matrix:
|
|
1979
1979
|
""""""
|
|
1980
1980
|
...
|
|
1981
|
-
def MatrixRotate(axis: Vector3,angle: float,) -> Matrix:
|
|
1981
|
+
def MatrixRotate(axis: Vector3|list|tuple,angle: float,) -> Matrix:
|
|
1982
1982
|
""""""
|
|
1983
1983
|
...
|
|
1984
1984
|
def MatrixRotateX(angle: float,) -> Matrix:
|
|
1985
1985
|
""""""
|
|
1986
1986
|
...
|
|
1987
|
-
def MatrixRotateXYZ(angle: Vector3,) -> Matrix:
|
|
1987
|
+
def MatrixRotateXYZ(angle: Vector3|list|tuple,) -> Matrix:
|
|
1988
1988
|
""""""
|
|
1989
1989
|
...
|
|
1990
1990
|
def MatrixRotateY(angle: float,) -> Matrix:
|
|
@@ -1993,34 +1993,34 @@ def MatrixRotateY(angle: float,) -> Matrix:
|
|
|
1993
1993
|
def MatrixRotateZ(angle: float,) -> Matrix:
|
|
1994
1994
|
""""""
|
|
1995
1995
|
...
|
|
1996
|
-
def MatrixRotateZYX(angle: Vector3,) -> Matrix:
|
|
1996
|
+
def MatrixRotateZYX(angle: Vector3|list|tuple,) -> Matrix:
|
|
1997
1997
|
""""""
|
|
1998
1998
|
...
|
|
1999
1999
|
def MatrixScale(x: float,y: float,z: float,) -> Matrix:
|
|
2000
2000
|
""""""
|
|
2001
2001
|
...
|
|
2002
|
-
def MatrixSubtract(left: Matrix,right: Matrix,) -> Matrix:
|
|
2002
|
+
def MatrixSubtract(left: Matrix|list|tuple,right: Matrix|list|tuple,) -> Matrix:
|
|
2003
2003
|
""""""
|
|
2004
2004
|
...
|
|
2005
|
-
def MatrixToFloatV(mat: Matrix,) -> float16:
|
|
2005
|
+
def MatrixToFloatV(mat: Matrix|list|tuple,) -> float16:
|
|
2006
2006
|
""""""
|
|
2007
2007
|
...
|
|
2008
|
-
def MatrixTrace(mat: Matrix,) -> float:
|
|
2008
|
+
def MatrixTrace(mat: Matrix|list|tuple,) -> float:
|
|
2009
2009
|
""""""
|
|
2010
2010
|
...
|
|
2011
2011
|
def MatrixTranslate(x: float,y: float,z: float,) -> Matrix:
|
|
2012
2012
|
""""""
|
|
2013
2013
|
...
|
|
2014
|
-
def MatrixTranspose(mat: Matrix,) -> Matrix:
|
|
2014
|
+
def MatrixTranspose(mat: Matrix|list|tuple,) -> Matrix:
|
|
2015
2015
|
""""""
|
|
2016
2016
|
...
|
|
2017
2017
|
def MaximizeWindow() -> None:
|
|
2018
2018
|
"""Set window state: maximized, if resizable (only PLATFORM_DESKTOP)"""
|
|
2019
2019
|
...
|
|
2020
|
-
def MeasureText(text:
|
|
2020
|
+
def MeasureText(text: bytes,fontSize: int,) -> int:
|
|
2021
2021
|
"""Measure string width for default font"""
|
|
2022
2022
|
...
|
|
2023
|
-
def MeasureTextEx(font: Font,text:
|
|
2023
|
+
def MeasureTextEx(font: Font|list|tuple,text: bytes,fontSize: float,spacing: float,) -> Vector2:
|
|
2024
2024
|
"""Measure string size for Font"""
|
|
2025
2025
|
...
|
|
2026
2026
|
def MemAlloc(size: int,) -> Any:
|
|
@@ -2041,7 +2041,7 @@ NPATCH_THREE_PATCH_VERTICAL: int
|
|
|
2041
2041
|
def Normalize(value: float,start: float,end: float,) -> float:
|
|
2042
2042
|
""""""
|
|
2043
2043
|
...
|
|
2044
|
-
def OpenURL(url:
|
|
2044
|
+
def OpenURL(url: bytes,) -> None:
|
|
2045
2045
|
"""Open URL with default system browser (if available)"""
|
|
2046
2046
|
...
|
|
2047
2047
|
PHYSICS_CIRCLE: int
|
|
@@ -2072,106 +2072,106 @@ PIXELFORMAT_UNCOMPRESSED_R8G8B8: int
|
|
|
2072
2072
|
PIXELFORMAT_UNCOMPRESSED_R8G8B8A8: int
|
|
2073
2073
|
PROGRESSBAR: int
|
|
2074
2074
|
PROGRESS_PADDING: int
|
|
2075
|
-
def PauseAudioStream(stream: AudioStream,) -> None:
|
|
2075
|
+
def PauseAudioStream(stream: AudioStream|list|tuple,) -> None:
|
|
2076
2076
|
"""Pause audio stream"""
|
|
2077
2077
|
...
|
|
2078
|
-
def PauseMusicStream(music: Music,) -> None:
|
|
2078
|
+
def PauseMusicStream(music: Music|list|tuple,) -> None:
|
|
2079
2079
|
"""Pause music playing"""
|
|
2080
2080
|
...
|
|
2081
|
-
def PauseSound(sound: Sound,) -> None:
|
|
2081
|
+
def PauseSound(sound: Sound|list|tuple,) -> None:
|
|
2082
2082
|
"""Pause a sound"""
|
|
2083
2083
|
...
|
|
2084
|
-
def PhysicsAddForce(body: Any,force: Vector2,) -> None:
|
|
2084
|
+
def PhysicsAddForce(body: Any|list|tuple,force: Vector2|list|tuple,) -> None:
|
|
2085
2085
|
"""Adds a force to a physics body"""
|
|
2086
2086
|
...
|
|
2087
|
-
def PhysicsAddTorque(body: Any,amount: float,) -> None:
|
|
2087
|
+
def PhysicsAddTorque(body: Any|list|tuple,amount: float,) -> None:
|
|
2088
2088
|
"""Adds an angular force to a physics body"""
|
|
2089
2089
|
...
|
|
2090
|
-
def PhysicsShatter(body: Any,position: Vector2,force: float,) -> None:
|
|
2090
|
+
def PhysicsShatter(body: Any|list|tuple,position: Vector2|list|tuple,force: float,) -> None:
|
|
2091
2091
|
"""Shatters a polygon shape physics body to little physics bodies with explosion force"""
|
|
2092
2092
|
...
|
|
2093
|
-
def PlayAudioStream(stream: AudioStream,) -> None:
|
|
2093
|
+
def PlayAudioStream(stream: AudioStream|list|tuple,) -> None:
|
|
2094
2094
|
"""Play audio stream"""
|
|
2095
2095
|
...
|
|
2096
|
-
def PlayAutomationEvent(event: AutomationEvent,) -> None:
|
|
2096
|
+
def PlayAutomationEvent(event: AutomationEvent|list|tuple,) -> None:
|
|
2097
2097
|
"""Play a recorded automation event"""
|
|
2098
2098
|
...
|
|
2099
|
-
def PlayMusicStream(music: Music,) -> None:
|
|
2099
|
+
def PlayMusicStream(music: Music|list|tuple,) -> None:
|
|
2100
2100
|
"""Start music playing"""
|
|
2101
2101
|
...
|
|
2102
|
-
def PlaySound(sound: Sound,) -> None:
|
|
2102
|
+
def PlaySound(sound: Sound|list|tuple,) -> None:
|
|
2103
2103
|
"""Play a sound"""
|
|
2104
2104
|
...
|
|
2105
2105
|
def PollInputEvents() -> None:
|
|
2106
2106
|
"""Register all input events"""
|
|
2107
2107
|
...
|
|
2108
|
-
def QuaternionAdd(q1: Vector4,q2: Vector4,) -> Vector4:
|
|
2108
|
+
def QuaternionAdd(q1: Vector4|list|tuple,q2: Vector4|list|tuple,) -> Vector4:
|
|
2109
2109
|
""""""
|
|
2110
2110
|
...
|
|
2111
|
-
def QuaternionAddValue(q: Vector4,add: float,) -> Vector4:
|
|
2111
|
+
def QuaternionAddValue(q: Vector4|list|tuple,add: float,) -> Vector4:
|
|
2112
2112
|
""""""
|
|
2113
2113
|
...
|
|
2114
|
-
def QuaternionDivide(q1: Vector4,q2: Vector4,) -> Vector4:
|
|
2114
|
+
def QuaternionDivide(q1: Vector4|list|tuple,q2: Vector4|list|tuple,) -> Vector4:
|
|
2115
2115
|
""""""
|
|
2116
2116
|
...
|
|
2117
|
-
def QuaternionEquals(p: Vector4,q: Vector4,) -> int:
|
|
2117
|
+
def QuaternionEquals(p: Vector4|list|tuple,q: Vector4|list|tuple,) -> int:
|
|
2118
2118
|
""""""
|
|
2119
2119
|
...
|
|
2120
|
-
def QuaternionFromAxisAngle(axis: Vector3,angle: float,) -> Vector4:
|
|
2120
|
+
def QuaternionFromAxisAngle(axis: Vector3|list|tuple,angle: float,) -> Vector4:
|
|
2121
2121
|
""""""
|
|
2122
2122
|
...
|
|
2123
2123
|
def QuaternionFromEuler(pitch: float,yaw: float,roll: float,) -> Vector4:
|
|
2124
2124
|
""""""
|
|
2125
2125
|
...
|
|
2126
|
-
def QuaternionFromMatrix(mat: Matrix,) -> Vector4:
|
|
2126
|
+
def QuaternionFromMatrix(mat: Matrix|list|tuple,) -> Vector4:
|
|
2127
2127
|
""""""
|
|
2128
2128
|
...
|
|
2129
|
-
def QuaternionFromVector3ToVector3(from_0: Vector3,to: Vector3,) -> Vector4:
|
|
2129
|
+
def QuaternionFromVector3ToVector3(from_0: Vector3|list|tuple,to: Vector3|list|tuple,) -> Vector4:
|
|
2130
2130
|
""""""
|
|
2131
2131
|
...
|
|
2132
2132
|
def QuaternionIdentity() -> Vector4:
|
|
2133
2133
|
""""""
|
|
2134
2134
|
...
|
|
2135
|
-
def QuaternionInvert(q: Vector4,) -> Vector4:
|
|
2135
|
+
def QuaternionInvert(q: Vector4|list|tuple,) -> Vector4:
|
|
2136
2136
|
""""""
|
|
2137
2137
|
...
|
|
2138
|
-
def QuaternionLength(q: Vector4,) -> float:
|
|
2138
|
+
def QuaternionLength(q: Vector4|list|tuple,) -> float:
|
|
2139
2139
|
""""""
|
|
2140
2140
|
...
|
|
2141
|
-
def QuaternionLerp(q1: Vector4,q2: Vector4,amount: float,) -> Vector4:
|
|
2141
|
+
def QuaternionLerp(q1: Vector4|list|tuple,q2: Vector4|list|tuple,amount: float,) -> Vector4:
|
|
2142
2142
|
""""""
|
|
2143
2143
|
...
|
|
2144
|
-
def QuaternionMultiply(q1: Vector4,q2: Vector4,) -> Vector4:
|
|
2144
|
+
def QuaternionMultiply(q1: Vector4|list|tuple,q2: Vector4|list|tuple,) -> Vector4:
|
|
2145
2145
|
""""""
|
|
2146
2146
|
...
|
|
2147
|
-
def QuaternionNlerp(q1: Vector4,q2: Vector4,amount: float,) -> Vector4:
|
|
2147
|
+
def QuaternionNlerp(q1: Vector4|list|tuple,q2: Vector4|list|tuple,amount: float,) -> Vector4:
|
|
2148
2148
|
""""""
|
|
2149
2149
|
...
|
|
2150
|
-
def QuaternionNormalize(q: Vector4,) -> Vector4:
|
|
2150
|
+
def QuaternionNormalize(q: Vector4|list|tuple,) -> Vector4:
|
|
2151
2151
|
""""""
|
|
2152
2152
|
...
|
|
2153
|
-
def QuaternionScale(q: Vector4,mul: float,) -> Vector4:
|
|
2153
|
+
def QuaternionScale(q: Vector4|list|tuple,mul: float,) -> Vector4:
|
|
2154
2154
|
""""""
|
|
2155
2155
|
...
|
|
2156
|
-
def QuaternionSlerp(q1: Vector4,q2: Vector4,amount: float,) -> Vector4:
|
|
2156
|
+
def QuaternionSlerp(q1: Vector4|list|tuple,q2: Vector4|list|tuple,amount: float,) -> Vector4:
|
|
2157
2157
|
""""""
|
|
2158
2158
|
...
|
|
2159
|
-
def QuaternionSubtract(q1: Vector4,q2: Vector4,) -> Vector4:
|
|
2159
|
+
def QuaternionSubtract(q1: Vector4|list|tuple,q2: Vector4|list|tuple,) -> Vector4:
|
|
2160
2160
|
""""""
|
|
2161
2161
|
...
|
|
2162
|
-
def QuaternionSubtractValue(q: Vector4,sub: float,) -> Vector4:
|
|
2162
|
+
def QuaternionSubtractValue(q: Vector4|list|tuple,sub: float,) -> Vector4:
|
|
2163
2163
|
""""""
|
|
2164
2164
|
...
|
|
2165
|
-
def QuaternionToAxisAngle(q: Vector4,outAxis: Any,outAngle: Any,) -> None:
|
|
2165
|
+
def QuaternionToAxisAngle(q: Vector4|list|tuple,outAxis: Any|list|tuple,outAngle: Any,) -> None:
|
|
2166
2166
|
""""""
|
|
2167
2167
|
...
|
|
2168
|
-
def QuaternionToEuler(q: Vector4,) -> Vector3:
|
|
2168
|
+
def QuaternionToEuler(q: Vector4|list|tuple,) -> Vector3:
|
|
2169
2169
|
""""""
|
|
2170
2170
|
...
|
|
2171
|
-
def QuaternionToMatrix(q: Vector4,) -> Matrix:
|
|
2171
|
+
def QuaternionToMatrix(q: Vector4|list|tuple,) -> Matrix:
|
|
2172
2172
|
""""""
|
|
2173
2173
|
...
|
|
2174
|
-
def QuaternionTransform(q: Vector4,mat: Matrix,) -> Vector4:
|
|
2174
|
+
def QuaternionTransform(q: Vector4|list|tuple,mat: Matrix|list|tuple,) -> Vector4:
|
|
2175
2175
|
""""""
|
|
2176
2176
|
...
|
|
2177
2177
|
RL_ATTACHMENT_COLOR_CHANNEL0: int
|
|
@@ -2294,13 +2294,13 @@ def ResetPhysics() -> None:
|
|
|
2294
2294
|
def RestoreWindow() -> None:
|
|
2295
2295
|
"""Set window state: not minimized/maximized (only PLATFORM_DESKTOP)"""
|
|
2296
2296
|
...
|
|
2297
|
-
def ResumeAudioStream(stream: AudioStream,) -> None:
|
|
2297
|
+
def ResumeAudioStream(stream: AudioStream|list|tuple,) -> None:
|
|
2298
2298
|
"""Resume audio stream"""
|
|
2299
2299
|
...
|
|
2300
|
-
def ResumeMusicStream(music: Music,) -> None:
|
|
2300
|
+
def ResumeMusicStream(music: Music|list|tuple,) -> None:
|
|
2301
2301
|
"""Resume playing paused music"""
|
|
2302
2302
|
...
|
|
2303
|
-
def ResumeSound(sound: Sound,) -> None:
|
|
2303
|
+
def ResumeSound(sound: Sound|list|tuple,) -> None:
|
|
2304
2304
|
"""Resume a paused sound"""
|
|
2305
2305
|
...
|
|
2306
2306
|
SCROLLBAR: int
|
|
@@ -2360,37 +2360,37 @@ STATE_FOCUSED: int
|
|
|
2360
2360
|
STATE_NORMAL: int
|
|
2361
2361
|
STATE_PRESSED: int
|
|
2362
2362
|
STATUSBAR: int
|
|
2363
|
-
def SaveFileData(fileName:
|
|
2363
|
+
def SaveFileData(fileName: bytes,data: Any,dataSize: int,) -> bool:
|
|
2364
2364
|
"""Save data to file from byte array (write), returns true on success"""
|
|
2365
2365
|
...
|
|
2366
|
-
def SaveFileText(fileName:
|
|
2366
|
+
def SaveFileText(fileName: bytes,text: bytes,) -> bool:
|
|
2367
2367
|
"""Save text data to file (write), string must be '\0' terminated, returns true on success"""
|
|
2368
2368
|
...
|
|
2369
|
-
def SeekMusicStream(music: Music,position: float,) -> None:
|
|
2369
|
+
def SeekMusicStream(music: Music|list|tuple,position: float,) -> None:
|
|
2370
2370
|
"""Seek music to a position (in seconds)"""
|
|
2371
2371
|
...
|
|
2372
2372
|
def SetAudioStreamBufferSizeDefault(size: int,) -> None:
|
|
2373
2373
|
"""Default size for new audio streams"""
|
|
2374
2374
|
...
|
|
2375
|
-
def SetAudioStreamCallback(stream: AudioStream,callback: Any,) -> None:
|
|
2375
|
+
def SetAudioStreamCallback(stream: AudioStream|list|tuple,callback: Any,) -> None:
|
|
2376
2376
|
"""Audio thread callback to request new data"""
|
|
2377
2377
|
...
|
|
2378
|
-
def SetAudioStreamPan(stream: AudioStream,pan: float,) -> None:
|
|
2378
|
+
def SetAudioStreamPan(stream: AudioStream|list|tuple,pan: float,) -> None:
|
|
2379
2379
|
"""Set pan for audio stream (0.5 is centered)"""
|
|
2380
2380
|
...
|
|
2381
|
-
def SetAudioStreamPitch(stream: AudioStream,pitch: float,) -> None:
|
|
2381
|
+
def SetAudioStreamPitch(stream: AudioStream|list|tuple,pitch: float,) -> None:
|
|
2382
2382
|
"""Set pitch for audio stream (1.0 is base level)"""
|
|
2383
2383
|
...
|
|
2384
|
-
def SetAudioStreamVolume(stream: AudioStream,volume: float,) -> None:
|
|
2384
|
+
def SetAudioStreamVolume(stream: AudioStream|list|tuple,volume: float,) -> None:
|
|
2385
2385
|
"""Set volume for audio stream (1.0 is max level)"""
|
|
2386
2386
|
...
|
|
2387
2387
|
def SetAutomationEventBaseFrame(frame: int,) -> None:
|
|
2388
2388
|
"""Set automation event internal base frame to start recording"""
|
|
2389
2389
|
...
|
|
2390
|
-
def SetAutomationEventList(list_0: Any,) -> None:
|
|
2390
|
+
def SetAutomationEventList(list_0: Any|list|tuple,) -> None:
|
|
2391
2391
|
"""Set automation event list to record to"""
|
|
2392
2392
|
...
|
|
2393
|
-
def SetClipboardText(text:
|
|
2393
|
+
def SetClipboardText(text: bytes,) -> None:
|
|
2394
2394
|
"""Set clipboard text content"""
|
|
2395
2395
|
...
|
|
2396
2396
|
def SetConfigFlags(flags: int,) -> None:
|
|
@@ -2399,25 +2399,25 @@ def SetConfigFlags(flags: int,) -> None:
|
|
|
2399
2399
|
def SetExitKey(key: int,) -> None:
|
|
2400
2400
|
"""Set a custom key to exit program (default is ESC)"""
|
|
2401
2401
|
...
|
|
2402
|
-
def SetGamepadMappings(mappings:
|
|
2402
|
+
def SetGamepadMappings(mappings: bytes,) -> int:
|
|
2403
2403
|
"""Set internal gamepad mappings (SDL_GameControllerDB)"""
|
|
2404
2404
|
...
|
|
2405
2405
|
def SetGesturesEnabled(flags: int,) -> None:
|
|
2406
2406
|
"""Enable a set of gestures using flags"""
|
|
2407
2407
|
...
|
|
2408
|
-
def SetLoadFileDataCallback(callback:
|
|
2408
|
+
def SetLoadFileDataCallback(callback: bytes,) -> None:
|
|
2409
2409
|
"""Set custom file binary data loader"""
|
|
2410
2410
|
...
|
|
2411
|
-
def SetLoadFileTextCallback(callback:
|
|
2411
|
+
def SetLoadFileTextCallback(callback: bytes,) -> None:
|
|
2412
2412
|
"""Set custom file text data loader"""
|
|
2413
2413
|
...
|
|
2414
2414
|
def SetMasterVolume(volume: float,) -> None:
|
|
2415
2415
|
"""Set master volume (listener)"""
|
|
2416
2416
|
...
|
|
2417
|
-
def SetMaterialTexture(material: Any,mapType: int,texture: Texture,) -> None:
|
|
2417
|
+
def SetMaterialTexture(material: Any|list|tuple,mapType: int,texture: Texture|list|tuple,) -> None:
|
|
2418
2418
|
"""Set texture for a material map type (MATERIAL_MAP_DIFFUSE, MATERIAL_MAP_SPECULAR...)"""
|
|
2419
2419
|
...
|
|
2420
|
-
def SetModelMeshMaterial(model: Any,meshId: int,materialId: int,) -> None:
|
|
2420
|
+
def SetModelMeshMaterial(model: Any|list|tuple,meshId: int,materialId: int,) -> None:
|
|
2421
2421
|
"""Set material for a mesh"""
|
|
2422
2422
|
...
|
|
2423
2423
|
def SetMouseCursor(cursor: int,) -> None:
|
|
@@ -2432,16 +2432,16 @@ def SetMousePosition(x: int,y: int,) -> None:
|
|
|
2432
2432
|
def SetMouseScale(scaleX: float,scaleY: float,) -> None:
|
|
2433
2433
|
"""Set mouse scaling"""
|
|
2434
2434
|
...
|
|
2435
|
-
def SetMusicPan(music: Music,pan: float,) -> None:
|
|
2435
|
+
def SetMusicPan(music: Music|list|tuple,pan: float,) -> None:
|
|
2436
2436
|
"""Set pan for a music (0.5 is center)"""
|
|
2437
2437
|
...
|
|
2438
|
-
def SetMusicPitch(music: Music,pitch: float,) -> None:
|
|
2438
|
+
def SetMusicPitch(music: Music|list|tuple,pitch: float,) -> None:
|
|
2439
2439
|
"""Set pitch for a music (1.0 is base level)"""
|
|
2440
2440
|
...
|
|
2441
|
-
def SetMusicVolume(music: Music,volume: float,) -> None:
|
|
2441
|
+
def SetMusicVolume(music: Music|list|tuple,volume: float,) -> None:
|
|
2442
2442
|
"""Set volume for music (1.0 is max level)"""
|
|
2443
2443
|
...
|
|
2444
|
-
def SetPhysicsBodyRotation(body: Any,radians: float,) -> None:
|
|
2444
|
+
def SetPhysicsBodyRotation(body: Any|list|tuple,radians: float,) -> None:
|
|
2445
2445
|
"""Sets physics body shape transform based on radians parameter"""
|
|
2446
2446
|
...
|
|
2447
2447
|
def SetPhysicsGravity(x: float,y: float,) -> None:
|
|
@@ -2450,40 +2450,40 @@ def SetPhysicsGravity(x: float,y: float,) -> None:
|
|
|
2450
2450
|
def SetPhysicsTimeStep(delta: float,) -> None:
|
|
2451
2451
|
"""Sets physics fixed time step in milliseconds. 1.666666 by default"""
|
|
2452
2452
|
...
|
|
2453
|
-
def SetPixelColor(dstPtr: Any,color: Color,format: int,) -> None:
|
|
2453
|
+
def SetPixelColor(dstPtr: Any,color: Color|list|tuple,format: int,) -> None:
|
|
2454
2454
|
"""Set color formatted into destination pixel pointer"""
|
|
2455
2455
|
...
|
|
2456
2456
|
def SetRandomSeed(seed: int,) -> None:
|
|
2457
2457
|
"""Set the seed for the random number generator"""
|
|
2458
2458
|
...
|
|
2459
|
-
def SetSaveFileDataCallback(callback:
|
|
2459
|
+
def SetSaveFileDataCallback(callback: bytes,) -> None:
|
|
2460
2460
|
"""Set custom file binary data saver"""
|
|
2461
2461
|
...
|
|
2462
|
-
def SetSaveFileTextCallback(callback:
|
|
2462
|
+
def SetSaveFileTextCallback(callback: bytes,) -> None:
|
|
2463
2463
|
"""Set custom file text data saver"""
|
|
2464
2464
|
...
|
|
2465
|
-
def SetShaderValue(shader: Shader,locIndex: int,value: Any,uniformType: int,) -> None:
|
|
2465
|
+
def SetShaderValue(shader: Shader|list|tuple,locIndex: int,value: Any,uniformType: int,) -> None:
|
|
2466
2466
|
"""Set shader uniform value"""
|
|
2467
2467
|
...
|
|
2468
|
-
def SetShaderValueMatrix(shader: Shader,locIndex: int,mat: Matrix,) -> None:
|
|
2468
|
+
def SetShaderValueMatrix(shader: Shader|list|tuple,locIndex: int,mat: Matrix|list|tuple,) -> None:
|
|
2469
2469
|
"""Set shader uniform value (matrix 4x4)"""
|
|
2470
2470
|
...
|
|
2471
|
-
def SetShaderValueTexture(shader: Shader,locIndex: int,texture: Texture,) -> None:
|
|
2471
|
+
def SetShaderValueTexture(shader: Shader|list|tuple,locIndex: int,texture: Texture|list|tuple,) -> None:
|
|
2472
2472
|
"""Set shader uniform value for texture (sampler2d)"""
|
|
2473
2473
|
...
|
|
2474
|
-
def SetShaderValueV(shader: Shader,locIndex: int,value: Any,uniformType: int,count: int,) -> None:
|
|
2474
|
+
def SetShaderValueV(shader: Shader|list|tuple,locIndex: int,value: Any,uniformType: int,count: int,) -> None:
|
|
2475
2475
|
"""Set shader uniform value vector"""
|
|
2476
2476
|
...
|
|
2477
|
-
def SetShapesTexture(texture: Texture,source: Rectangle,) -> None:
|
|
2477
|
+
def SetShapesTexture(texture: Texture|list|tuple,source: Rectangle|list|tuple,) -> None:
|
|
2478
2478
|
"""Set texture and rectangle to be used on shapes drawing"""
|
|
2479
2479
|
...
|
|
2480
|
-
def SetSoundPan(sound: Sound,pan: float,) -> None:
|
|
2480
|
+
def SetSoundPan(sound: Sound|list|tuple,pan: float,) -> None:
|
|
2481
2481
|
"""Set pan for a sound (0.5 is center)"""
|
|
2482
2482
|
...
|
|
2483
|
-
def SetSoundPitch(sound: Sound,pitch: float,) -> None:
|
|
2483
|
+
def SetSoundPitch(sound: Sound|list|tuple,pitch: float,) -> None:
|
|
2484
2484
|
"""Set pitch for a sound (1.0 is base level)"""
|
|
2485
2485
|
...
|
|
2486
|
-
def SetSoundVolume(sound: Sound,volume: float,) -> None:
|
|
2486
|
+
def SetSoundVolume(sound: Sound|list|tuple,volume: float,) -> None:
|
|
2487
2487
|
"""Set volume for a sound (1.0 is max level)"""
|
|
2488
2488
|
...
|
|
2489
2489
|
def SetTargetFPS(fps: int,) -> None:
|
|
@@ -2492,13 +2492,13 @@ def SetTargetFPS(fps: int,) -> None:
|
|
|
2492
2492
|
def SetTextLineSpacing(spacing: int,) -> None:
|
|
2493
2493
|
"""Set vertical line spacing when drawing with line-breaks"""
|
|
2494
2494
|
...
|
|
2495
|
-
def SetTextureFilter(texture: Texture,filter: int,) -> None:
|
|
2495
|
+
def SetTextureFilter(texture: Texture|list|tuple,filter: int,) -> None:
|
|
2496
2496
|
"""Set texture scaling filter mode"""
|
|
2497
2497
|
...
|
|
2498
|
-
def SetTextureWrap(texture: Texture,wrap: int,) -> None:
|
|
2498
|
+
def SetTextureWrap(texture: Texture|list|tuple,wrap: int,) -> None:
|
|
2499
2499
|
"""Set texture wrapping mode"""
|
|
2500
2500
|
...
|
|
2501
|
-
def SetTraceLogCallback(callback:
|
|
2501
|
+
def SetTraceLogCallback(callback: bytes,) -> None:
|
|
2502
2502
|
"""Set custom trace log"""
|
|
2503
2503
|
...
|
|
2504
2504
|
def SetTraceLogLevel(logLevel: int,) -> None:
|
|
@@ -2507,10 +2507,10 @@ def SetTraceLogLevel(logLevel: int,) -> None:
|
|
|
2507
2507
|
def SetWindowFocused() -> None:
|
|
2508
2508
|
"""Set window focused (only PLATFORM_DESKTOP)"""
|
|
2509
2509
|
...
|
|
2510
|
-
def SetWindowIcon(image: Image,) -> None:
|
|
2510
|
+
def SetWindowIcon(image: Image|list|tuple,) -> None:
|
|
2511
2511
|
"""Set icon for window (single image, RGBA 32bit, only PLATFORM_DESKTOP)"""
|
|
2512
2512
|
...
|
|
2513
|
-
def SetWindowIcons(images: Any,count: int,) -> None:
|
|
2513
|
+
def SetWindowIcons(images: Any|list|tuple,count: int,) -> None:
|
|
2514
2514
|
"""Set icon for window (multiple images, RGBA 32bit, only PLATFORM_DESKTOP)"""
|
|
2515
2515
|
...
|
|
2516
2516
|
def SetWindowMaxSize(width: int,height: int,) -> None:
|
|
@@ -2534,7 +2534,7 @@ def SetWindowSize(width: int,height: int,) -> None:
|
|
|
2534
2534
|
def SetWindowState(flags: int,) -> None:
|
|
2535
2535
|
"""Set window configuration state using flags (only PLATFORM_DESKTOP)"""
|
|
2536
2536
|
...
|
|
2537
|
-
def SetWindowTitle(title:
|
|
2537
|
+
def SetWindowTitle(title: bytes,) -> None:
|
|
2538
2538
|
"""Set title for window (only PLATFORM_DESKTOP and PLATFORM_WEB)"""
|
|
2539
2539
|
...
|
|
2540
2540
|
def ShowCursor() -> None:
|
|
@@ -2543,16 +2543,16 @@ def ShowCursor() -> None:
|
|
|
2543
2543
|
def StartAutomationEventRecording() -> None:
|
|
2544
2544
|
"""Start recording automation events (AutomationEventList must be set)"""
|
|
2545
2545
|
...
|
|
2546
|
-
def StopAudioStream(stream: AudioStream,) -> None:
|
|
2546
|
+
def StopAudioStream(stream: AudioStream|list|tuple,) -> None:
|
|
2547
2547
|
"""Stop audio stream"""
|
|
2548
2548
|
...
|
|
2549
2549
|
def StopAutomationEventRecording() -> None:
|
|
2550
2550
|
"""Stop recording automation events"""
|
|
2551
2551
|
...
|
|
2552
|
-
def StopMusicStream(music: Music,) -> None:
|
|
2552
|
+
def StopMusicStream(music: Music|list|tuple,) -> None:
|
|
2553
2553
|
"""Stop music playing"""
|
|
2554
2554
|
...
|
|
2555
|
-
def StopSound(sound: Sound,) -> None:
|
|
2555
|
+
def StopSound(sound: Sound|list|tuple,) -> None:
|
|
2556
2556
|
"""Stop playing a sound"""
|
|
2557
2557
|
...
|
|
2558
2558
|
def SwapScreenBuffer() -> None:
|
|
@@ -2591,52 +2591,52 @@ TEXT_WRAP_MODE: int
|
|
|
2591
2591
|
TEXT_WRAP_NONE: int
|
|
2592
2592
|
TEXT_WRAP_WORD: int
|
|
2593
2593
|
TOGGLE: int
|
|
2594
|
-
def TakeScreenshot(fileName:
|
|
2594
|
+
def TakeScreenshot(fileName: bytes,) -> None:
|
|
2595
2595
|
"""Takes a screenshot of current screen (filename extension defines format)"""
|
|
2596
2596
|
...
|
|
2597
|
-
def TextAppend(text:
|
|
2597
|
+
def TextAppend(text: bytes,append: bytes,position: Any,) -> None:
|
|
2598
2598
|
"""Append text at specific position and move cursor!"""
|
|
2599
2599
|
...
|
|
2600
|
-
def TextCopy(dst:
|
|
2600
|
+
def TextCopy(dst: bytes,src: bytes,) -> int:
|
|
2601
2601
|
"""Copy one string to another, returns bytes copied"""
|
|
2602
2602
|
...
|
|
2603
|
-
def TextFindIndex(text:
|
|
2603
|
+
def TextFindIndex(text: bytes,find: bytes,) -> int:
|
|
2604
2604
|
"""Find first text occurrence within a string"""
|
|
2605
2605
|
...
|
|
2606
|
-
def TextFormat(*args) ->
|
|
2606
|
+
def TextFormat(*args) -> bytes:
|
|
2607
2607
|
"""VARARG FUNCTION - MAY NOT BE SUPPORTED BY CFFI"""
|
|
2608
2608
|
...
|
|
2609
|
-
def TextInsert(text:
|
|
2609
|
+
def TextInsert(text: bytes,insert: bytes,position: int,) -> bytes:
|
|
2610
2610
|
"""Insert text in a position (WARNING: memory must be freed!)"""
|
|
2611
2611
|
...
|
|
2612
|
-
def TextIsEqual(text1:
|
|
2612
|
+
def TextIsEqual(text1: bytes,text2: bytes,) -> bool:
|
|
2613
2613
|
"""Check if two text string are equal"""
|
|
2614
2614
|
...
|
|
2615
|
-
def TextJoin(textList: list[
|
|
2615
|
+
def TextJoin(textList: list[bytes],count: int,delimiter: bytes,) -> bytes:
|
|
2616
2616
|
"""Join text strings with delimiter"""
|
|
2617
2617
|
...
|
|
2618
|
-
def TextLength(text:
|
|
2618
|
+
def TextLength(text: bytes,) -> int:
|
|
2619
2619
|
"""Get text length, checks for '\0' ending"""
|
|
2620
2620
|
...
|
|
2621
|
-
def TextReplace(text:
|
|
2621
|
+
def TextReplace(text: bytes,replace: bytes,by: bytes,) -> bytes:
|
|
2622
2622
|
"""Replace text string (WARNING: memory must be freed!)"""
|
|
2623
2623
|
...
|
|
2624
|
-
def TextSplit(text:
|
|
2624
|
+
def TextSplit(text: bytes,delimiter: bytes,count: Any,) -> list[bytes]:
|
|
2625
2625
|
"""Split text into multiple strings"""
|
|
2626
2626
|
...
|
|
2627
|
-
def TextSubtext(text:
|
|
2627
|
+
def TextSubtext(text: bytes,position: int,length: int,) -> bytes:
|
|
2628
2628
|
"""Get a piece of a text string"""
|
|
2629
2629
|
...
|
|
2630
|
-
def TextToInteger(text:
|
|
2630
|
+
def TextToInteger(text: bytes,) -> int:
|
|
2631
2631
|
"""Get integer value from text (negative values not supported)"""
|
|
2632
2632
|
...
|
|
2633
|
-
def TextToLower(text:
|
|
2633
|
+
def TextToLower(text: bytes,) -> bytes:
|
|
2634
2634
|
"""Get lower case version of provided string"""
|
|
2635
2635
|
...
|
|
2636
|
-
def TextToPascal(text:
|
|
2636
|
+
def TextToPascal(text: bytes,) -> bytes:
|
|
2637
2637
|
"""Get Pascal case notation version of provided string"""
|
|
2638
2638
|
...
|
|
2639
|
-
def TextToUpper(text:
|
|
2639
|
+
def TextToUpper(text: bytes,) -> bytes:
|
|
2640
2640
|
"""Get upper case version of provided string"""
|
|
2641
2641
|
...
|
|
2642
2642
|
def ToggleBorderlessWindowed() -> None:
|
|
@@ -2648,311 +2648,311 @@ def ToggleFullscreen() -> None:
|
|
|
2648
2648
|
def TraceLog(*args) -> None:
|
|
2649
2649
|
"""VARARG FUNCTION - MAY NOT BE SUPPORTED BY CFFI"""
|
|
2650
2650
|
...
|
|
2651
|
-
def UnloadAudioStream(stream: AudioStream,) -> None:
|
|
2651
|
+
def UnloadAudioStream(stream: AudioStream|list|tuple,) -> None:
|
|
2652
2652
|
"""Unload audio stream and free memory"""
|
|
2653
2653
|
...
|
|
2654
|
-
def UnloadAutomationEventList(list_0: Any,) -> None:
|
|
2654
|
+
def UnloadAutomationEventList(list_0: Any|list|tuple,) -> None:
|
|
2655
2655
|
"""Unload automation events list from file"""
|
|
2656
2656
|
...
|
|
2657
2657
|
def UnloadCodepoints(codepoints: Any,) -> None:
|
|
2658
2658
|
"""Unload codepoints data from memory"""
|
|
2659
2659
|
...
|
|
2660
|
-
def UnloadDirectoryFiles(files: FilePathList,) -> None:
|
|
2660
|
+
def UnloadDirectoryFiles(files: FilePathList|list|tuple,) -> None:
|
|
2661
2661
|
"""Unload filepaths"""
|
|
2662
2662
|
...
|
|
2663
|
-
def UnloadDroppedFiles(files: FilePathList,) -> None:
|
|
2663
|
+
def UnloadDroppedFiles(files: FilePathList|list|tuple,) -> None:
|
|
2664
2664
|
"""Unload dropped filepaths"""
|
|
2665
2665
|
...
|
|
2666
|
-
def UnloadFileData(data:
|
|
2666
|
+
def UnloadFileData(data: bytes,) -> None:
|
|
2667
2667
|
"""Unload file data allocated by LoadFileData()"""
|
|
2668
2668
|
...
|
|
2669
|
-
def UnloadFileText(text:
|
|
2669
|
+
def UnloadFileText(text: bytes,) -> None:
|
|
2670
2670
|
"""Unload file text data allocated by LoadFileText()"""
|
|
2671
2671
|
...
|
|
2672
|
-
def UnloadFont(font: Font,) -> None:
|
|
2672
|
+
def UnloadFont(font: Font|list|tuple,) -> None:
|
|
2673
2673
|
"""Unload font from GPU memory (VRAM)"""
|
|
2674
2674
|
...
|
|
2675
|
-
def UnloadFontData(glyphs: Any,glyphCount: int,) -> None:
|
|
2675
|
+
def UnloadFontData(glyphs: Any|list|tuple,glyphCount: int,) -> None:
|
|
2676
2676
|
"""Unload font chars info data (RAM)"""
|
|
2677
2677
|
...
|
|
2678
|
-
def UnloadImage(image: Image,) -> None:
|
|
2678
|
+
def UnloadImage(image: Image|list|tuple,) -> None:
|
|
2679
2679
|
"""Unload image from CPU memory (RAM)"""
|
|
2680
2680
|
...
|
|
2681
|
-
def UnloadImageColors(colors: Any,) -> None:
|
|
2681
|
+
def UnloadImageColors(colors: Any|list|tuple,) -> None:
|
|
2682
2682
|
"""Unload color data loaded with LoadImageColors()"""
|
|
2683
2683
|
...
|
|
2684
|
-
def UnloadImagePalette(colors: Any,) -> None:
|
|
2684
|
+
def UnloadImagePalette(colors: Any|list|tuple,) -> None:
|
|
2685
2685
|
"""Unload colors palette loaded with LoadImagePalette()"""
|
|
2686
2686
|
...
|
|
2687
|
-
def UnloadMaterial(material: Material,) -> None:
|
|
2687
|
+
def UnloadMaterial(material: Material|list|tuple,) -> None:
|
|
2688
2688
|
"""Unload material from GPU memory (VRAM)"""
|
|
2689
2689
|
...
|
|
2690
|
-
def UnloadMesh(mesh: Mesh,) -> None:
|
|
2690
|
+
def UnloadMesh(mesh: Mesh|list|tuple,) -> None:
|
|
2691
2691
|
"""Unload mesh data from CPU and GPU"""
|
|
2692
2692
|
...
|
|
2693
|
-
def UnloadModel(model: Model,) -> None:
|
|
2693
|
+
def UnloadModel(model: Model|list|tuple,) -> None:
|
|
2694
2694
|
"""Unload model (including meshes) from memory (RAM and/or VRAM)"""
|
|
2695
2695
|
...
|
|
2696
|
-
def UnloadModelAnimation(anim: ModelAnimation,) -> None:
|
|
2696
|
+
def UnloadModelAnimation(anim: ModelAnimation|list|tuple,) -> None:
|
|
2697
2697
|
"""Unload animation data"""
|
|
2698
2698
|
...
|
|
2699
|
-
def UnloadModelAnimations(animations: Any,animCount: int,) -> None:
|
|
2699
|
+
def UnloadModelAnimations(animations: Any|list|tuple,animCount: int,) -> None:
|
|
2700
2700
|
"""Unload animation array data"""
|
|
2701
2701
|
...
|
|
2702
|
-
def UnloadMusicStream(music: Music,) -> None:
|
|
2702
|
+
def UnloadMusicStream(music: Music|list|tuple,) -> None:
|
|
2703
2703
|
"""Unload music stream"""
|
|
2704
2704
|
...
|
|
2705
2705
|
def UnloadRandomSequence(sequence: Any,) -> None:
|
|
2706
2706
|
"""Unload random values sequence"""
|
|
2707
2707
|
...
|
|
2708
|
-
def UnloadRenderTexture(target: RenderTexture,) -> None:
|
|
2708
|
+
def UnloadRenderTexture(target: RenderTexture|list|tuple,) -> None:
|
|
2709
2709
|
"""Unload render texture from GPU memory (VRAM)"""
|
|
2710
2710
|
...
|
|
2711
|
-
def UnloadShader(shader: Shader,) -> None:
|
|
2711
|
+
def UnloadShader(shader: Shader|list|tuple,) -> None:
|
|
2712
2712
|
"""Unload shader from GPU memory (VRAM)"""
|
|
2713
2713
|
...
|
|
2714
|
-
def UnloadSound(sound: Sound,) -> None:
|
|
2714
|
+
def UnloadSound(sound: Sound|list|tuple,) -> None:
|
|
2715
2715
|
"""Unload sound"""
|
|
2716
2716
|
...
|
|
2717
|
-
def UnloadSoundAlias(alias: Sound,) -> None:
|
|
2717
|
+
def UnloadSoundAlias(alias: Sound|list|tuple,) -> None:
|
|
2718
2718
|
"""Unload a sound alias (does not deallocate sample data)"""
|
|
2719
2719
|
...
|
|
2720
|
-
def UnloadTexture(texture: Texture,) -> None:
|
|
2720
|
+
def UnloadTexture(texture: Texture|list|tuple,) -> None:
|
|
2721
2721
|
"""Unload texture from GPU memory (VRAM)"""
|
|
2722
2722
|
...
|
|
2723
|
-
def UnloadUTF8(text:
|
|
2723
|
+
def UnloadUTF8(text: bytes,) -> None:
|
|
2724
2724
|
"""Unload UTF-8 text encoded from codepoints array"""
|
|
2725
2725
|
...
|
|
2726
|
-
def UnloadVrStereoConfig(config: VrStereoConfig,) -> None:
|
|
2726
|
+
def UnloadVrStereoConfig(config: VrStereoConfig|list|tuple,) -> None:
|
|
2727
2727
|
"""Unload VR stereo config"""
|
|
2728
2728
|
...
|
|
2729
|
-
def UnloadWave(wave: Wave,) -> None:
|
|
2729
|
+
def UnloadWave(wave: Wave|list|tuple,) -> None:
|
|
2730
2730
|
"""Unload wave data"""
|
|
2731
2731
|
...
|
|
2732
2732
|
def UnloadWaveSamples(samples: Any,) -> None:
|
|
2733
2733
|
"""Unload samples data loaded with LoadWaveSamples()"""
|
|
2734
2734
|
...
|
|
2735
|
-
def UpdateAudioStream(stream: AudioStream,data: Any,frameCount: int,) -> None:
|
|
2735
|
+
def UpdateAudioStream(stream: AudioStream|list|tuple,data: Any,frameCount: int,) -> None:
|
|
2736
2736
|
"""Update audio stream buffers with data"""
|
|
2737
2737
|
...
|
|
2738
|
-
def UpdateCamera(camera: Any,mode: int,) -> None:
|
|
2738
|
+
def UpdateCamera(camera: Any|list|tuple,mode: int,) -> None:
|
|
2739
2739
|
"""Update camera position for selected mode"""
|
|
2740
2740
|
...
|
|
2741
|
-
def UpdateCameraPro(camera: Any,movement: Vector3,rotation: Vector3,zoom: float,) -> None:
|
|
2741
|
+
def UpdateCameraPro(camera: Any|list|tuple,movement: Vector3|list|tuple,rotation: Vector3|list|tuple,zoom: float,) -> None:
|
|
2742
2742
|
"""Update camera movement/rotation"""
|
|
2743
2743
|
...
|
|
2744
|
-
def UpdateMeshBuffer(mesh: Mesh,index: int,data: Any,dataSize: int,offset: int,) -> None:
|
|
2744
|
+
def UpdateMeshBuffer(mesh: Mesh|list|tuple,index: int,data: Any,dataSize: int,offset: int,) -> None:
|
|
2745
2745
|
"""Update mesh vertex data in GPU for a specific buffer index"""
|
|
2746
2746
|
...
|
|
2747
|
-
def UpdateModelAnimation(model: Model,anim: ModelAnimation,frame: int,) -> None:
|
|
2747
|
+
def UpdateModelAnimation(model: Model|list|tuple,anim: ModelAnimation|list|tuple,frame: int,) -> None:
|
|
2748
2748
|
"""Update model animation pose"""
|
|
2749
2749
|
...
|
|
2750
|
-
def UpdateMusicStream(music: Music,) -> None:
|
|
2750
|
+
def UpdateMusicStream(music: Music|list|tuple,) -> None:
|
|
2751
2751
|
"""Updates buffers for music streaming"""
|
|
2752
2752
|
...
|
|
2753
2753
|
def UpdatePhysics() -> None:
|
|
2754
2754
|
"""Update physics system"""
|
|
2755
2755
|
...
|
|
2756
|
-
def UpdateSound(sound: Sound,data: Any,sampleCount: int,) -> None:
|
|
2756
|
+
def UpdateSound(sound: Sound|list|tuple,data: Any,sampleCount: int,) -> None:
|
|
2757
2757
|
"""Update sound buffer with new data"""
|
|
2758
2758
|
...
|
|
2759
|
-
def UpdateTexture(texture: Texture,pixels: Any,) -> None:
|
|
2759
|
+
def UpdateTexture(texture: Texture|list|tuple,pixels: Any,) -> None:
|
|
2760
2760
|
"""Update GPU texture with new data"""
|
|
2761
2761
|
...
|
|
2762
|
-
def UpdateTextureRec(texture: Texture,rec: Rectangle,pixels: Any,) -> None:
|
|
2762
|
+
def UpdateTextureRec(texture: Texture|list|tuple,rec: Rectangle|list|tuple,pixels: Any,) -> None:
|
|
2763
2763
|
"""Update GPU texture rectangle with new data"""
|
|
2764
2764
|
...
|
|
2765
|
-
def UploadMesh(mesh: Any,dynamic: bool,) -> None:
|
|
2765
|
+
def UploadMesh(mesh: Any|list|tuple,dynamic: bool,) -> None:
|
|
2766
2766
|
"""Upload mesh vertex data in GPU and provide VAO/VBO ids"""
|
|
2767
2767
|
...
|
|
2768
2768
|
VALUEBOX: int
|
|
2769
|
-
def Vector2Add(v1: Vector2,v2: Vector2,) -> Vector2:
|
|
2769
|
+
def Vector2Add(v1: Vector2|list|tuple,v2: Vector2|list|tuple,) -> Vector2:
|
|
2770
2770
|
""""""
|
|
2771
2771
|
...
|
|
2772
|
-
def Vector2AddValue(v: Vector2,add: float,) -> Vector2:
|
|
2772
|
+
def Vector2AddValue(v: Vector2|list|tuple,add: float,) -> Vector2:
|
|
2773
2773
|
""""""
|
|
2774
2774
|
...
|
|
2775
|
-
def Vector2Angle(v1: Vector2,v2: Vector2,) -> float:
|
|
2775
|
+
def Vector2Angle(v1: Vector2|list|tuple,v2: Vector2|list|tuple,) -> float:
|
|
2776
2776
|
""""""
|
|
2777
2777
|
...
|
|
2778
|
-
def Vector2Clamp(v: Vector2,min_1: Vector2,max_2: Vector2,) -> Vector2:
|
|
2778
|
+
def Vector2Clamp(v: Vector2|list|tuple,min_1: Vector2|list|tuple,max_2: Vector2|list|tuple,) -> Vector2:
|
|
2779
2779
|
""""""
|
|
2780
2780
|
...
|
|
2781
|
-
def Vector2ClampValue(v: Vector2,min_1: float,max_2: float,) -> Vector2:
|
|
2781
|
+
def Vector2ClampValue(v: Vector2|list|tuple,min_1: float,max_2: float,) -> Vector2:
|
|
2782
2782
|
""""""
|
|
2783
2783
|
...
|
|
2784
|
-
def Vector2Distance(v1: Vector2,v2: Vector2,) -> float:
|
|
2784
|
+
def Vector2Distance(v1: Vector2|list|tuple,v2: Vector2|list|tuple,) -> float:
|
|
2785
2785
|
""""""
|
|
2786
2786
|
...
|
|
2787
|
-
def Vector2DistanceSqr(v1: Vector2,v2: Vector2,) -> float:
|
|
2787
|
+
def Vector2DistanceSqr(v1: Vector2|list|tuple,v2: Vector2|list|tuple,) -> float:
|
|
2788
2788
|
""""""
|
|
2789
2789
|
...
|
|
2790
|
-
def Vector2Divide(v1: Vector2,v2: Vector2,) -> Vector2:
|
|
2790
|
+
def Vector2Divide(v1: Vector2|list|tuple,v2: Vector2|list|tuple,) -> Vector2:
|
|
2791
2791
|
""""""
|
|
2792
2792
|
...
|
|
2793
|
-
def Vector2DotProduct(v1: Vector2,v2: Vector2,) -> float:
|
|
2793
|
+
def Vector2DotProduct(v1: Vector2|list|tuple,v2: Vector2|list|tuple,) -> float:
|
|
2794
2794
|
""""""
|
|
2795
2795
|
...
|
|
2796
|
-
def Vector2Equals(p: Vector2,q: Vector2,) -> int:
|
|
2796
|
+
def Vector2Equals(p: Vector2|list|tuple,q: Vector2|list|tuple,) -> int:
|
|
2797
2797
|
""""""
|
|
2798
2798
|
...
|
|
2799
|
-
def Vector2Invert(v: Vector2,) -> Vector2:
|
|
2799
|
+
def Vector2Invert(v: Vector2|list|tuple,) -> Vector2:
|
|
2800
2800
|
""""""
|
|
2801
2801
|
...
|
|
2802
|
-
def Vector2Length(v: Vector2,) -> float:
|
|
2802
|
+
def Vector2Length(v: Vector2|list|tuple,) -> float:
|
|
2803
2803
|
""""""
|
|
2804
2804
|
...
|
|
2805
|
-
def Vector2LengthSqr(v: Vector2,) -> float:
|
|
2805
|
+
def Vector2LengthSqr(v: Vector2|list|tuple,) -> float:
|
|
2806
2806
|
""""""
|
|
2807
2807
|
...
|
|
2808
|
-
def Vector2Lerp(v1: Vector2,v2: Vector2,amount: float,) -> Vector2:
|
|
2808
|
+
def Vector2Lerp(v1: Vector2|list|tuple,v2: Vector2|list|tuple,amount: float,) -> Vector2:
|
|
2809
2809
|
""""""
|
|
2810
2810
|
...
|
|
2811
|
-
def Vector2LineAngle(start: Vector2,end: Vector2,) -> float:
|
|
2811
|
+
def Vector2LineAngle(start: Vector2|list|tuple,end: Vector2|list|tuple,) -> float:
|
|
2812
2812
|
""""""
|
|
2813
2813
|
...
|
|
2814
|
-
def Vector2MoveTowards(v: Vector2,target: Vector2,maxDistance: float,) -> Vector2:
|
|
2814
|
+
def Vector2MoveTowards(v: Vector2|list|tuple,target: Vector2|list|tuple,maxDistance: float,) -> Vector2:
|
|
2815
2815
|
""""""
|
|
2816
2816
|
...
|
|
2817
|
-
def Vector2Multiply(v1: Vector2,v2: Vector2,) -> Vector2:
|
|
2817
|
+
def Vector2Multiply(v1: Vector2|list|tuple,v2: Vector2|list|tuple,) -> Vector2:
|
|
2818
2818
|
""""""
|
|
2819
2819
|
...
|
|
2820
|
-
def Vector2Negate(v: Vector2,) -> Vector2:
|
|
2820
|
+
def Vector2Negate(v: Vector2|list|tuple,) -> Vector2:
|
|
2821
2821
|
""""""
|
|
2822
2822
|
...
|
|
2823
|
-
def Vector2Normalize(v: Vector2,) -> Vector2:
|
|
2823
|
+
def Vector2Normalize(v: Vector2|list|tuple,) -> Vector2:
|
|
2824
2824
|
""""""
|
|
2825
2825
|
...
|
|
2826
2826
|
def Vector2One() -> Vector2:
|
|
2827
2827
|
""""""
|
|
2828
2828
|
...
|
|
2829
|
-
def Vector2Reflect(v: Vector2,normal: Vector2,) -> Vector2:
|
|
2829
|
+
def Vector2Reflect(v: Vector2|list|tuple,normal: Vector2|list|tuple,) -> Vector2:
|
|
2830
2830
|
""""""
|
|
2831
2831
|
...
|
|
2832
|
-
def Vector2Rotate(v: Vector2,angle: float,) -> Vector2:
|
|
2832
|
+
def Vector2Rotate(v: Vector2|list|tuple,angle: float,) -> Vector2:
|
|
2833
2833
|
""""""
|
|
2834
2834
|
...
|
|
2835
|
-
def Vector2Scale(v: Vector2,scale: float,) -> Vector2:
|
|
2835
|
+
def Vector2Scale(v: Vector2|list|tuple,scale: float,) -> Vector2:
|
|
2836
2836
|
""""""
|
|
2837
2837
|
...
|
|
2838
|
-
def Vector2Subtract(v1: Vector2,v2: Vector2,) -> Vector2:
|
|
2838
|
+
def Vector2Subtract(v1: Vector2|list|tuple,v2: Vector2|list|tuple,) -> Vector2:
|
|
2839
2839
|
""""""
|
|
2840
2840
|
...
|
|
2841
|
-
def Vector2SubtractValue(v: Vector2,sub: float,) -> Vector2:
|
|
2841
|
+
def Vector2SubtractValue(v: Vector2|list|tuple,sub: float,) -> Vector2:
|
|
2842
2842
|
""""""
|
|
2843
2843
|
...
|
|
2844
|
-
def Vector2Transform(v: Vector2,mat: Matrix,) -> Vector2:
|
|
2844
|
+
def Vector2Transform(v: Vector2|list|tuple,mat: Matrix|list|tuple,) -> Vector2:
|
|
2845
2845
|
""""""
|
|
2846
2846
|
...
|
|
2847
2847
|
def Vector2Zero() -> Vector2:
|
|
2848
2848
|
""""""
|
|
2849
2849
|
...
|
|
2850
|
-
def Vector3Add(v1: Vector3,v2: Vector3,) -> Vector3:
|
|
2850
|
+
def Vector3Add(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> Vector3:
|
|
2851
2851
|
""""""
|
|
2852
2852
|
...
|
|
2853
|
-
def Vector3AddValue(v: Vector3,add: float,) -> Vector3:
|
|
2853
|
+
def Vector3AddValue(v: Vector3|list|tuple,add: float,) -> Vector3:
|
|
2854
2854
|
""""""
|
|
2855
2855
|
...
|
|
2856
|
-
def Vector3Angle(v1: Vector3,v2: Vector3,) -> float:
|
|
2856
|
+
def Vector3Angle(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> float:
|
|
2857
2857
|
""""""
|
|
2858
2858
|
...
|
|
2859
|
-
def Vector3Barycenter(p: Vector3,a: Vector3,b: Vector3,c: Vector3,) -> Vector3:
|
|
2859
|
+
def Vector3Barycenter(p: Vector3|list|tuple,a: Vector3|list|tuple,b: Vector3|list|tuple,c: Vector3|list|tuple,) -> Vector3:
|
|
2860
2860
|
""""""
|
|
2861
2861
|
...
|
|
2862
|
-
def Vector3Clamp(v: Vector3,min_1: Vector3,max_2: Vector3,) -> Vector3:
|
|
2862
|
+
def Vector3Clamp(v: Vector3|list|tuple,min_1: Vector3|list|tuple,max_2: Vector3|list|tuple,) -> Vector3:
|
|
2863
2863
|
""""""
|
|
2864
2864
|
...
|
|
2865
|
-
def Vector3ClampValue(v: Vector3,min_1: float,max_2: float,) -> Vector3:
|
|
2865
|
+
def Vector3ClampValue(v: Vector3|list|tuple,min_1: float,max_2: float,) -> Vector3:
|
|
2866
2866
|
""""""
|
|
2867
2867
|
...
|
|
2868
|
-
def Vector3CrossProduct(v1: Vector3,v2: Vector3,) -> Vector3:
|
|
2868
|
+
def Vector3CrossProduct(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> Vector3:
|
|
2869
2869
|
""""""
|
|
2870
2870
|
...
|
|
2871
|
-
def Vector3Distance(v1: Vector3,v2: Vector3,) -> float:
|
|
2871
|
+
def Vector3Distance(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> float:
|
|
2872
2872
|
""""""
|
|
2873
2873
|
...
|
|
2874
|
-
def Vector3DistanceSqr(v1: Vector3,v2: Vector3,) -> float:
|
|
2874
|
+
def Vector3DistanceSqr(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> float:
|
|
2875
2875
|
""""""
|
|
2876
2876
|
...
|
|
2877
|
-
def Vector3Divide(v1: Vector3,v2: Vector3,) -> Vector3:
|
|
2877
|
+
def Vector3Divide(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> Vector3:
|
|
2878
2878
|
""""""
|
|
2879
2879
|
...
|
|
2880
|
-
def Vector3DotProduct(v1: Vector3,v2: Vector3,) -> float:
|
|
2880
|
+
def Vector3DotProduct(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> float:
|
|
2881
2881
|
""""""
|
|
2882
2882
|
...
|
|
2883
|
-
def Vector3Equals(p: Vector3,q: Vector3,) -> int:
|
|
2883
|
+
def Vector3Equals(p: Vector3|list|tuple,q: Vector3|list|tuple,) -> int:
|
|
2884
2884
|
""""""
|
|
2885
2885
|
...
|
|
2886
|
-
def Vector3Invert(v: Vector3,) -> Vector3:
|
|
2886
|
+
def Vector3Invert(v: Vector3|list|tuple,) -> Vector3:
|
|
2887
2887
|
""""""
|
|
2888
2888
|
...
|
|
2889
|
-
def Vector3Length(v: Vector3,) -> float:
|
|
2889
|
+
def Vector3Length(v: Vector3|list|tuple,) -> float:
|
|
2890
2890
|
""""""
|
|
2891
2891
|
...
|
|
2892
|
-
def Vector3LengthSqr(v: Vector3,) -> float:
|
|
2892
|
+
def Vector3LengthSqr(v: Vector3|list|tuple,) -> float:
|
|
2893
2893
|
""""""
|
|
2894
2894
|
...
|
|
2895
|
-
def Vector3Lerp(v1: Vector3,v2: Vector3,amount: float,) -> Vector3:
|
|
2895
|
+
def Vector3Lerp(v1: Vector3|list|tuple,v2: Vector3|list|tuple,amount: float,) -> Vector3:
|
|
2896
2896
|
""""""
|
|
2897
2897
|
...
|
|
2898
|
-
def Vector3Max(v1: Vector3,v2: Vector3,) -> Vector3:
|
|
2898
|
+
def Vector3Max(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> Vector3:
|
|
2899
2899
|
""""""
|
|
2900
2900
|
...
|
|
2901
|
-
def Vector3Min(v1: Vector3,v2: Vector3,) -> Vector3:
|
|
2901
|
+
def Vector3Min(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> Vector3:
|
|
2902
2902
|
""""""
|
|
2903
2903
|
...
|
|
2904
|
-
def Vector3Multiply(v1: Vector3,v2: Vector3,) -> Vector3:
|
|
2904
|
+
def Vector3Multiply(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> Vector3:
|
|
2905
2905
|
""""""
|
|
2906
2906
|
...
|
|
2907
|
-
def Vector3Negate(v: Vector3,) -> Vector3:
|
|
2907
|
+
def Vector3Negate(v: Vector3|list|tuple,) -> Vector3:
|
|
2908
2908
|
""""""
|
|
2909
2909
|
...
|
|
2910
|
-
def Vector3Normalize(v: Vector3,) -> Vector3:
|
|
2910
|
+
def Vector3Normalize(v: Vector3|list|tuple,) -> Vector3:
|
|
2911
2911
|
""""""
|
|
2912
2912
|
...
|
|
2913
2913
|
def Vector3One() -> Vector3:
|
|
2914
2914
|
""""""
|
|
2915
2915
|
...
|
|
2916
|
-
def Vector3OrthoNormalize(v1: Any,v2: Any,) -> None:
|
|
2916
|
+
def Vector3OrthoNormalize(v1: Any|list|tuple,v2: Any|list|tuple,) -> None:
|
|
2917
2917
|
""""""
|
|
2918
2918
|
...
|
|
2919
|
-
def Vector3Perpendicular(v: Vector3,) -> Vector3:
|
|
2919
|
+
def Vector3Perpendicular(v: Vector3|list|tuple,) -> Vector3:
|
|
2920
2920
|
""""""
|
|
2921
2921
|
...
|
|
2922
|
-
def Vector3Project(v1: Vector3,v2: Vector3,) -> Vector3:
|
|
2922
|
+
def Vector3Project(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> Vector3:
|
|
2923
2923
|
""""""
|
|
2924
2924
|
...
|
|
2925
|
-
def Vector3Reflect(v: Vector3,normal: Vector3,) -> Vector3:
|
|
2925
|
+
def Vector3Reflect(v: Vector3|list|tuple,normal: Vector3|list|tuple,) -> Vector3:
|
|
2926
2926
|
""""""
|
|
2927
2927
|
...
|
|
2928
|
-
def Vector3Refract(v: Vector3,n: Vector3,r: float,) -> Vector3:
|
|
2928
|
+
def Vector3Refract(v: Vector3|list|tuple,n: Vector3|list|tuple,r: float,) -> Vector3:
|
|
2929
2929
|
""""""
|
|
2930
2930
|
...
|
|
2931
|
-
def Vector3Reject(v1: Vector3,v2: Vector3,) -> Vector3:
|
|
2931
|
+
def Vector3Reject(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> Vector3:
|
|
2932
2932
|
""""""
|
|
2933
2933
|
...
|
|
2934
|
-
def Vector3RotateByAxisAngle(v: Vector3,axis: Vector3,angle: float,) -> Vector3:
|
|
2934
|
+
def Vector3RotateByAxisAngle(v: Vector3|list|tuple,axis: Vector3|list|tuple,angle: float,) -> Vector3:
|
|
2935
2935
|
""""""
|
|
2936
2936
|
...
|
|
2937
|
-
def Vector3RotateByQuaternion(v: Vector3,q: Vector4,) -> Vector3:
|
|
2937
|
+
def Vector3RotateByQuaternion(v: Vector3|list|tuple,q: Vector4|list|tuple,) -> Vector3:
|
|
2938
2938
|
""""""
|
|
2939
2939
|
...
|
|
2940
|
-
def Vector3Scale(v: Vector3,scalar: float,) -> Vector3:
|
|
2940
|
+
def Vector3Scale(v: Vector3|list|tuple,scalar: float,) -> Vector3:
|
|
2941
2941
|
""""""
|
|
2942
2942
|
...
|
|
2943
|
-
def Vector3Subtract(v1: Vector3,v2: Vector3,) -> Vector3:
|
|
2943
|
+
def Vector3Subtract(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> Vector3:
|
|
2944
2944
|
""""""
|
|
2945
2945
|
...
|
|
2946
|
-
def Vector3SubtractValue(v: Vector3,sub: float,) -> Vector3:
|
|
2946
|
+
def Vector3SubtractValue(v: Vector3|list|tuple,sub: float,) -> Vector3:
|
|
2947
2947
|
""""""
|
|
2948
2948
|
...
|
|
2949
|
-
def Vector3ToFloatV(v: Vector3,) -> float3:
|
|
2949
|
+
def Vector3ToFloatV(v: Vector3|list|tuple,) -> float3:
|
|
2950
2950
|
""""""
|
|
2951
2951
|
...
|
|
2952
|
-
def Vector3Transform(v: Vector3,mat: Matrix,) -> Vector3:
|
|
2952
|
+
def Vector3Transform(v: Vector3|list|tuple,mat: Matrix|list|tuple,) -> Vector3:
|
|
2953
2953
|
""""""
|
|
2954
2954
|
...
|
|
2955
|
-
def Vector3Unproject(source: Vector3,projection: Matrix,view: Matrix,) -> Vector3:
|
|
2955
|
+
def Vector3Unproject(source: Vector3|list|tuple,projection: Matrix|list|tuple,view: Matrix|list|tuple,) -> Vector3:
|
|
2956
2956
|
""""""
|
|
2957
2957
|
...
|
|
2958
2958
|
def Vector3Zero() -> Vector3:
|
|
@@ -2961,13 +2961,13 @@ def Vector3Zero() -> Vector3:
|
|
|
2961
2961
|
def WaitTime(seconds: float,) -> None:
|
|
2962
2962
|
"""Wait for some time (halt program execution)"""
|
|
2963
2963
|
...
|
|
2964
|
-
def WaveCopy(wave: Wave,) -> Wave:
|
|
2964
|
+
def WaveCopy(wave: Wave|list|tuple,) -> Wave:
|
|
2965
2965
|
"""Copy a wave to a new wave"""
|
|
2966
2966
|
...
|
|
2967
|
-
def WaveCrop(wave: Any,initSample: int,finalSample: int,) -> None:
|
|
2967
|
+
def WaveCrop(wave: Any|list|tuple,initSample: int,finalSample: int,) -> None:
|
|
2968
2968
|
"""Crop a wave to defined samples range"""
|
|
2969
2969
|
...
|
|
2970
|
-
def WaveFormat(wave: Any,sampleRate: int,sampleSize: int,channels: int,) -> None:
|
|
2970
|
+
def WaveFormat(wave: Any|list|tuple,sampleRate: int,sampleSize: int,channels: int,) -> None:
|
|
2971
2971
|
"""Convert wave data to desired format"""
|
|
2972
2972
|
...
|
|
2973
2973
|
def WindowShouldClose() -> bool:
|
|
@@ -2976,106 +2976,106 @@ def WindowShouldClose() -> bool:
|
|
|
2976
2976
|
def Wrap(value: float,min_1: float,max_2: float,) -> float:
|
|
2977
2977
|
""""""
|
|
2978
2978
|
...
|
|
2979
|
-
def glfwCreateCursor(image: Any,xhot: int,yhot: int,) -> Any:
|
|
2979
|
+
def glfwCreateCursor(image: Any|list|tuple,xhot: int,yhot: int,) -> Any:
|
|
2980
2980
|
""""""
|
|
2981
2981
|
...
|
|
2982
2982
|
def glfwCreateStandardCursor(shape: int,) -> Any:
|
|
2983
2983
|
""""""
|
|
2984
2984
|
...
|
|
2985
|
-
def glfwCreateWindow(width: int,height: int,title:
|
|
2985
|
+
def glfwCreateWindow(width: int,height: int,title: bytes,monitor: Any|list|tuple,share: Any|list|tuple,) -> Any:
|
|
2986
2986
|
""""""
|
|
2987
2987
|
...
|
|
2988
2988
|
def glfwDefaultWindowHints() -> None:
|
|
2989
2989
|
""""""
|
|
2990
2990
|
...
|
|
2991
|
-
def glfwDestroyCursor(cursor: Any,) -> None:
|
|
2991
|
+
def glfwDestroyCursor(cursor: Any|list|tuple,) -> None:
|
|
2992
2992
|
""""""
|
|
2993
2993
|
...
|
|
2994
|
-
def glfwDestroyWindow(window: Any,) -> None:
|
|
2994
|
+
def glfwDestroyWindow(window: Any|list|tuple,) -> None:
|
|
2995
2995
|
""""""
|
|
2996
2996
|
...
|
|
2997
|
-
def glfwExtensionSupported(extension:
|
|
2997
|
+
def glfwExtensionSupported(extension: bytes,) -> int:
|
|
2998
2998
|
""""""
|
|
2999
2999
|
...
|
|
3000
|
-
def glfwFocusWindow(window: Any,) -> None:
|
|
3000
|
+
def glfwFocusWindow(window: Any|list|tuple,) -> None:
|
|
3001
3001
|
""""""
|
|
3002
3002
|
...
|
|
3003
|
-
def glfwGetClipboardString(window: Any,) ->
|
|
3003
|
+
def glfwGetClipboardString(window: Any|list|tuple,) -> bytes:
|
|
3004
3004
|
""""""
|
|
3005
3005
|
...
|
|
3006
3006
|
def glfwGetCurrentContext() -> Any:
|
|
3007
3007
|
""""""
|
|
3008
3008
|
...
|
|
3009
|
-
def glfwGetCursorPos(window: Any,xpos: Any,ypos: Any,) -> None:
|
|
3009
|
+
def glfwGetCursorPos(window: Any|list|tuple,xpos: Any,ypos: Any,) -> None:
|
|
3010
3010
|
""""""
|
|
3011
3011
|
...
|
|
3012
|
-
def glfwGetError(description: list[
|
|
3012
|
+
def glfwGetError(description: list[bytes],) -> int:
|
|
3013
3013
|
""""""
|
|
3014
3014
|
...
|
|
3015
|
-
def glfwGetFramebufferSize(window: Any,width: Any,height: Any,) -> None:
|
|
3015
|
+
def glfwGetFramebufferSize(window: Any|list|tuple,width: Any,height: Any,) -> None:
|
|
3016
3016
|
""""""
|
|
3017
3017
|
...
|
|
3018
|
-
def glfwGetGamepadName(jid: int,) ->
|
|
3018
|
+
def glfwGetGamepadName(jid: int,) -> bytes:
|
|
3019
3019
|
""""""
|
|
3020
3020
|
...
|
|
3021
|
-
def glfwGetGamepadState(jid: int,state: Any,) -> int:
|
|
3021
|
+
def glfwGetGamepadState(jid: int,state: Any|list|tuple,) -> int:
|
|
3022
3022
|
""""""
|
|
3023
3023
|
...
|
|
3024
|
-
def glfwGetGammaRamp(monitor: Any,) -> Any:
|
|
3024
|
+
def glfwGetGammaRamp(monitor: Any|list|tuple,) -> Any:
|
|
3025
3025
|
""""""
|
|
3026
3026
|
...
|
|
3027
|
-
def glfwGetInputMode(window: Any,mode: int,) -> int:
|
|
3027
|
+
def glfwGetInputMode(window: Any|list|tuple,mode: int,) -> int:
|
|
3028
3028
|
""""""
|
|
3029
3029
|
...
|
|
3030
3030
|
def glfwGetJoystickAxes(jid: int,count: Any,) -> Any:
|
|
3031
3031
|
""""""
|
|
3032
3032
|
...
|
|
3033
|
-
def glfwGetJoystickButtons(jid: int,count: Any,) ->
|
|
3033
|
+
def glfwGetJoystickButtons(jid: int,count: Any,) -> bytes:
|
|
3034
3034
|
""""""
|
|
3035
3035
|
...
|
|
3036
|
-
def glfwGetJoystickGUID(jid: int,) ->
|
|
3036
|
+
def glfwGetJoystickGUID(jid: int,) -> bytes:
|
|
3037
3037
|
""""""
|
|
3038
3038
|
...
|
|
3039
|
-
def glfwGetJoystickHats(jid: int,count: Any,) ->
|
|
3039
|
+
def glfwGetJoystickHats(jid: int,count: Any,) -> bytes:
|
|
3040
3040
|
""""""
|
|
3041
3041
|
...
|
|
3042
|
-
def glfwGetJoystickName(jid: int,) ->
|
|
3042
|
+
def glfwGetJoystickName(jid: int,) -> bytes:
|
|
3043
3043
|
""""""
|
|
3044
3044
|
...
|
|
3045
3045
|
def glfwGetJoystickUserPointer(jid: int,) -> Any:
|
|
3046
3046
|
""""""
|
|
3047
3047
|
...
|
|
3048
|
-
def glfwGetKey(window: Any,key: int,) -> int:
|
|
3048
|
+
def glfwGetKey(window: Any|list|tuple,key: int,) -> int:
|
|
3049
3049
|
""""""
|
|
3050
3050
|
...
|
|
3051
|
-
def glfwGetKeyName(key: int,scancode: int,) ->
|
|
3051
|
+
def glfwGetKeyName(key: int,scancode: int,) -> bytes:
|
|
3052
3052
|
""""""
|
|
3053
3053
|
...
|
|
3054
3054
|
def glfwGetKeyScancode(key: int,) -> int:
|
|
3055
3055
|
""""""
|
|
3056
3056
|
...
|
|
3057
|
-
def glfwGetMonitorContentScale(monitor: Any,xscale: Any,yscale: Any,) -> None:
|
|
3057
|
+
def glfwGetMonitorContentScale(monitor: Any|list|tuple,xscale: Any,yscale: Any,) -> None:
|
|
3058
3058
|
""""""
|
|
3059
3059
|
...
|
|
3060
|
-
def glfwGetMonitorName(monitor: Any,) ->
|
|
3060
|
+
def glfwGetMonitorName(monitor: Any|list|tuple,) -> bytes:
|
|
3061
3061
|
""""""
|
|
3062
3062
|
...
|
|
3063
|
-
def glfwGetMonitorPhysicalSize(monitor: Any,widthMM: Any,heightMM: Any,) -> None:
|
|
3063
|
+
def glfwGetMonitorPhysicalSize(monitor: Any|list|tuple,widthMM: Any,heightMM: Any,) -> None:
|
|
3064
3064
|
""""""
|
|
3065
3065
|
...
|
|
3066
|
-
def glfwGetMonitorPos(monitor: Any,xpos: Any,ypos: Any,) -> None:
|
|
3066
|
+
def glfwGetMonitorPos(monitor: Any|list|tuple,xpos: Any,ypos: Any,) -> None:
|
|
3067
3067
|
""""""
|
|
3068
3068
|
...
|
|
3069
|
-
def glfwGetMonitorUserPointer(monitor: Any,) -> Any:
|
|
3069
|
+
def glfwGetMonitorUserPointer(monitor: Any|list|tuple,) -> Any:
|
|
3070
3070
|
""""""
|
|
3071
3071
|
...
|
|
3072
|
-
def glfwGetMonitorWorkarea(monitor: Any,xpos: Any,ypos: Any,width: Any,height: Any,) -> None:
|
|
3072
|
+
def glfwGetMonitorWorkarea(monitor: Any|list|tuple,xpos: Any,ypos: Any,width: Any,height: Any,) -> None:
|
|
3073
3073
|
""""""
|
|
3074
3074
|
...
|
|
3075
3075
|
def glfwGetMonitors(count: Any,) -> Any:
|
|
3076
3076
|
""""""
|
|
3077
3077
|
...
|
|
3078
|
-
def glfwGetMouseButton(window: Any,button: int,) -> int:
|
|
3078
|
+
def glfwGetMouseButton(window: Any|list|tuple,button: int,) -> int:
|
|
3079
3079
|
""""""
|
|
3080
3080
|
...
|
|
3081
3081
|
def glfwGetPlatform() -> int:
|
|
@@ -3084,10 +3084,10 @@ def glfwGetPlatform() -> int:
|
|
|
3084
3084
|
def glfwGetPrimaryMonitor() -> Any:
|
|
3085
3085
|
""""""
|
|
3086
3086
|
...
|
|
3087
|
-
def glfwGetProcAddress(procname:
|
|
3087
|
+
def glfwGetProcAddress(procname: bytes,) -> Any:
|
|
3088
3088
|
""""""
|
|
3089
3089
|
...
|
|
3090
|
-
def glfwGetRequiredInstanceExtensions(count: Any,) -> list[
|
|
3090
|
+
def glfwGetRequiredInstanceExtensions(count: Any,) -> list[bytes]:
|
|
3091
3091
|
""""""
|
|
3092
3092
|
...
|
|
3093
3093
|
def glfwGetTime() -> float:
|
|
@@ -3102,49 +3102,49 @@ def glfwGetTimerValue() -> int:
|
|
|
3102
3102
|
def glfwGetVersion(major: Any,minor: Any,rev: Any,) -> None:
|
|
3103
3103
|
""""""
|
|
3104
3104
|
...
|
|
3105
|
-
def glfwGetVersionString() ->
|
|
3105
|
+
def glfwGetVersionString() -> bytes:
|
|
3106
3106
|
""""""
|
|
3107
3107
|
...
|
|
3108
|
-
def glfwGetVideoMode(monitor: Any,) -> Any:
|
|
3108
|
+
def glfwGetVideoMode(monitor: Any|list|tuple,) -> Any:
|
|
3109
3109
|
""""""
|
|
3110
3110
|
...
|
|
3111
|
-
def glfwGetVideoModes(monitor: Any,count: Any,) -> Any:
|
|
3111
|
+
def glfwGetVideoModes(monitor: Any|list|tuple,count: Any,) -> Any:
|
|
3112
3112
|
""""""
|
|
3113
3113
|
...
|
|
3114
|
-
def glfwGetWindowAttrib(window: Any,attrib: int,) -> int:
|
|
3114
|
+
def glfwGetWindowAttrib(window: Any|list|tuple,attrib: int,) -> int:
|
|
3115
3115
|
""""""
|
|
3116
3116
|
...
|
|
3117
|
-
def glfwGetWindowContentScale(window: Any,xscale: Any,yscale: Any,) -> None:
|
|
3117
|
+
def glfwGetWindowContentScale(window: Any|list|tuple,xscale: Any,yscale: Any,) -> None:
|
|
3118
3118
|
""""""
|
|
3119
3119
|
...
|
|
3120
|
-
def glfwGetWindowFrameSize(window: Any,left: Any,top: Any,right: Any,bottom: Any,) -> None:
|
|
3120
|
+
def glfwGetWindowFrameSize(window: Any|list|tuple,left: Any,top: Any,right: Any,bottom: Any,) -> None:
|
|
3121
3121
|
""""""
|
|
3122
3122
|
...
|
|
3123
|
-
def glfwGetWindowMonitor(window: Any,) -> Any:
|
|
3123
|
+
def glfwGetWindowMonitor(window: Any|list|tuple,) -> Any:
|
|
3124
3124
|
""""""
|
|
3125
3125
|
...
|
|
3126
|
-
def glfwGetWindowOpacity(window: Any,) -> float:
|
|
3126
|
+
def glfwGetWindowOpacity(window: Any|list|tuple,) -> float:
|
|
3127
3127
|
""""""
|
|
3128
3128
|
...
|
|
3129
|
-
def glfwGetWindowPos(window: Any,xpos: Any,ypos: Any,) -> None:
|
|
3129
|
+
def glfwGetWindowPos(window: Any|list|tuple,xpos: Any,ypos: Any,) -> None:
|
|
3130
3130
|
""""""
|
|
3131
3131
|
...
|
|
3132
|
-
def glfwGetWindowSize(window: Any,width: Any,height: Any,) -> None:
|
|
3132
|
+
def glfwGetWindowSize(window: Any|list|tuple,width: Any,height: Any,) -> None:
|
|
3133
3133
|
""""""
|
|
3134
3134
|
...
|
|
3135
|
-
def glfwGetWindowUserPointer(window: Any,) -> Any:
|
|
3135
|
+
def glfwGetWindowUserPointer(window: Any|list|tuple,) -> Any:
|
|
3136
3136
|
""""""
|
|
3137
3137
|
...
|
|
3138
|
-
def glfwHideWindow(window: Any,) -> None:
|
|
3138
|
+
def glfwHideWindow(window: Any|list|tuple,) -> None:
|
|
3139
3139
|
""""""
|
|
3140
3140
|
...
|
|
3141
|
-
def glfwIconifyWindow(window: Any,) -> None:
|
|
3141
|
+
def glfwIconifyWindow(window: Any|list|tuple,) -> None:
|
|
3142
3142
|
""""""
|
|
3143
3143
|
...
|
|
3144
3144
|
def glfwInit() -> int:
|
|
3145
3145
|
""""""
|
|
3146
3146
|
...
|
|
3147
|
-
def glfwInitAllocator(allocator: Any,) -> None:
|
|
3147
|
+
def glfwInitAllocator(allocator: Any|list|tuple,) -> None:
|
|
3148
3148
|
""""""
|
|
3149
3149
|
...
|
|
3150
3150
|
def glfwInitHint(hint: int,value: int,) -> None:
|
|
@@ -3156,10 +3156,10 @@ def glfwJoystickIsGamepad(jid: int,) -> int:
|
|
|
3156
3156
|
def glfwJoystickPresent(jid: int,) -> int:
|
|
3157
3157
|
""""""
|
|
3158
3158
|
...
|
|
3159
|
-
def glfwMakeContextCurrent(window: Any,) -> None:
|
|
3159
|
+
def glfwMakeContextCurrent(window: Any|list|tuple,) -> None:
|
|
3160
3160
|
""""""
|
|
3161
3161
|
...
|
|
3162
|
-
def glfwMaximizeWindow(window: Any,) -> None:
|
|
3162
|
+
def glfwMaximizeWindow(window: Any|list|tuple,) -> None:
|
|
3163
3163
|
""""""
|
|
3164
3164
|
...
|
|
3165
3165
|
def glfwPlatformSupported(platform: int,) -> int:
|
|
@@ -3174,49 +3174,49 @@ def glfwPostEmptyEvent() -> None:
|
|
|
3174
3174
|
def glfwRawMouseMotionSupported() -> int:
|
|
3175
3175
|
""""""
|
|
3176
3176
|
...
|
|
3177
|
-
def glfwRequestWindowAttention(window: Any,) -> None:
|
|
3177
|
+
def glfwRequestWindowAttention(window: Any|list|tuple,) -> None:
|
|
3178
3178
|
""""""
|
|
3179
3179
|
...
|
|
3180
|
-
def glfwRestoreWindow(window: Any,) -> None:
|
|
3180
|
+
def glfwRestoreWindow(window: Any|list|tuple,) -> None:
|
|
3181
3181
|
""""""
|
|
3182
3182
|
...
|
|
3183
|
-
def glfwSetCharCallback(window: Any,callback: Any,) -> Any:
|
|
3183
|
+
def glfwSetCharCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any:
|
|
3184
3184
|
""""""
|
|
3185
3185
|
...
|
|
3186
|
-
def glfwSetCharModsCallback(window: Any,callback: Any,) -> Any:
|
|
3186
|
+
def glfwSetCharModsCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any:
|
|
3187
3187
|
""""""
|
|
3188
3188
|
...
|
|
3189
|
-
def glfwSetClipboardString(window: Any,string:
|
|
3189
|
+
def glfwSetClipboardString(window: Any|list|tuple,string: bytes,) -> None:
|
|
3190
3190
|
""""""
|
|
3191
3191
|
...
|
|
3192
|
-
def glfwSetCursor(window: Any,cursor: Any,) -> None:
|
|
3192
|
+
def glfwSetCursor(window: Any|list|tuple,cursor: Any|list|tuple,) -> None:
|
|
3193
3193
|
""""""
|
|
3194
3194
|
...
|
|
3195
|
-
def glfwSetCursorEnterCallback(window: Any,callback: Any,) -> Any:
|
|
3195
|
+
def glfwSetCursorEnterCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any:
|
|
3196
3196
|
""""""
|
|
3197
3197
|
...
|
|
3198
|
-
def glfwSetCursorPos(window: Any,xpos: float,ypos: float,) -> None:
|
|
3198
|
+
def glfwSetCursorPos(window: Any|list|tuple,xpos: float,ypos: float,) -> None:
|
|
3199
3199
|
""""""
|
|
3200
3200
|
...
|
|
3201
|
-
def glfwSetCursorPosCallback(window: Any,callback: Any,) -> Any:
|
|
3201
|
+
def glfwSetCursorPosCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any:
|
|
3202
3202
|
""""""
|
|
3203
3203
|
...
|
|
3204
|
-
def glfwSetDropCallback(window: Any,callback: list[
|
|
3204
|
+
def glfwSetDropCallback(window: Any|list|tuple,callback: list[bytes]|list|tuple,) -> list[bytes]:
|
|
3205
3205
|
""""""
|
|
3206
3206
|
...
|
|
3207
|
-
def glfwSetErrorCallback(callback:
|
|
3207
|
+
def glfwSetErrorCallback(callback: bytes,) -> bytes:
|
|
3208
3208
|
""""""
|
|
3209
3209
|
...
|
|
3210
|
-
def glfwSetFramebufferSizeCallback(window: Any,callback: Any,) -> Any:
|
|
3210
|
+
def glfwSetFramebufferSizeCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any:
|
|
3211
3211
|
""""""
|
|
3212
3212
|
...
|
|
3213
|
-
def glfwSetGamma(monitor: Any,gamma: float,) -> None:
|
|
3213
|
+
def glfwSetGamma(monitor: Any|list|tuple,gamma: float,) -> None:
|
|
3214
3214
|
""""""
|
|
3215
3215
|
...
|
|
3216
|
-
def glfwSetGammaRamp(monitor: Any,ramp: Any,) -> None:
|
|
3216
|
+
def glfwSetGammaRamp(monitor: Any|list|tuple,ramp: Any|list|tuple,) -> None:
|
|
3217
3217
|
""""""
|
|
3218
3218
|
...
|
|
3219
|
-
def glfwSetInputMode(window: Any,mode: int,value: int,) -> None:
|
|
3219
|
+
def glfwSetInputMode(window: Any|list|tuple,mode: int,value: int,) -> None:
|
|
3220
3220
|
""""""
|
|
3221
3221
|
...
|
|
3222
3222
|
def glfwSetJoystickCallback(callback: Any,) -> Any:
|
|
@@ -3225,85 +3225,85 @@ def glfwSetJoystickCallback(callback: Any,) -> Any:
|
|
|
3225
3225
|
def glfwSetJoystickUserPointer(jid: int,pointer: Any,) -> None:
|
|
3226
3226
|
""""""
|
|
3227
3227
|
...
|
|
3228
|
-
def glfwSetKeyCallback(window: Any,callback: Any,) -> Any:
|
|
3228
|
+
def glfwSetKeyCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any:
|
|
3229
3229
|
""""""
|
|
3230
3230
|
...
|
|
3231
|
-
def glfwSetMonitorCallback(callback: Any,) -> Any:
|
|
3231
|
+
def glfwSetMonitorCallback(callback: Any|list|tuple,) -> Any:
|
|
3232
3232
|
""""""
|
|
3233
3233
|
...
|
|
3234
|
-
def glfwSetMonitorUserPointer(monitor: Any,pointer: Any,) -> None:
|
|
3234
|
+
def glfwSetMonitorUserPointer(monitor: Any|list|tuple,pointer: Any,) -> None:
|
|
3235
3235
|
""""""
|
|
3236
3236
|
...
|
|
3237
|
-
def glfwSetMouseButtonCallback(window: Any,callback: Any,) -> Any:
|
|
3237
|
+
def glfwSetMouseButtonCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any:
|
|
3238
3238
|
""""""
|
|
3239
3239
|
...
|
|
3240
|
-
def glfwSetScrollCallback(window: Any,callback: Any,) -> Any:
|
|
3240
|
+
def glfwSetScrollCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any:
|
|
3241
3241
|
""""""
|
|
3242
3242
|
...
|
|
3243
3243
|
def glfwSetTime(time: float,) -> None:
|
|
3244
3244
|
""""""
|
|
3245
3245
|
...
|
|
3246
|
-
def glfwSetWindowAspectRatio(window: Any,numer: int,denom: int,) -> None:
|
|
3246
|
+
def glfwSetWindowAspectRatio(window: Any|list|tuple,numer: int,denom: int,) -> None:
|
|
3247
3247
|
""""""
|
|
3248
3248
|
...
|
|
3249
|
-
def glfwSetWindowAttrib(window: Any,attrib: int,value: int,) -> None:
|
|
3249
|
+
def glfwSetWindowAttrib(window: Any|list|tuple,attrib: int,value: int,) -> None:
|
|
3250
3250
|
""""""
|
|
3251
3251
|
...
|
|
3252
|
-
def glfwSetWindowCloseCallback(window: Any,callback: Any,) -> Any:
|
|
3252
|
+
def glfwSetWindowCloseCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any:
|
|
3253
3253
|
""""""
|
|
3254
3254
|
...
|
|
3255
|
-
def glfwSetWindowContentScaleCallback(window: Any,callback: Any,) -> Any:
|
|
3255
|
+
def glfwSetWindowContentScaleCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any:
|
|
3256
3256
|
""""""
|
|
3257
3257
|
...
|
|
3258
|
-
def glfwSetWindowFocusCallback(window: Any,callback: Any,) -> Any:
|
|
3258
|
+
def glfwSetWindowFocusCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any:
|
|
3259
3259
|
""""""
|
|
3260
3260
|
...
|
|
3261
|
-
def glfwSetWindowIcon(window: Any,count: int,images: Any,) -> None:
|
|
3261
|
+
def glfwSetWindowIcon(window: Any|list|tuple,count: int,images: Any|list|tuple,) -> None:
|
|
3262
3262
|
""""""
|
|
3263
3263
|
...
|
|
3264
|
-
def glfwSetWindowIconifyCallback(window: Any,callback: Any,) -> Any:
|
|
3264
|
+
def glfwSetWindowIconifyCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any:
|
|
3265
3265
|
""""""
|
|
3266
3266
|
...
|
|
3267
|
-
def glfwSetWindowMaximizeCallback(window: Any,callback: Any,) -> Any:
|
|
3267
|
+
def glfwSetWindowMaximizeCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any:
|
|
3268
3268
|
""""""
|
|
3269
3269
|
...
|
|
3270
|
-
def glfwSetWindowMonitor(window: Any,monitor: Any,xpos: int,ypos: int,width: int,height: int,refreshRate: int,) -> None:
|
|
3270
|
+
def glfwSetWindowMonitor(window: Any|list|tuple,monitor: Any|list|tuple,xpos: int,ypos: int,width: int,height: int,refreshRate: int,) -> None:
|
|
3271
3271
|
""""""
|
|
3272
3272
|
...
|
|
3273
|
-
def glfwSetWindowOpacity(window: Any,opacity: float,) -> None:
|
|
3273
|
+
def glfwSetWindowOpacity(window: Any|list|tuple,opacity: float,) -> None:
|
|
3274
3274
|
""""""
|
|
3275
3275
|
...
|
|
3276
|
-
def glfwSetWindowPos(window: Any,xpos: int,ypos: int,) -> None:
|
|
3276
|
+
def glfwSetWindowPos(window: Any|list|tuple,xpos: int,ypos: int,) -> None:
|
|
3277
3277
|
""""""
|
|
3278
3278
|
...
|
|
3279
|
-
def glfwSetWindowPosCallback(window: Any,callback: Any,) -> Any:
|
|
3279
|
+
def glfwSetWindowPosCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any:
|
|
3280
3280
|
""""""
|
|
3281
3281
|
...
|
|
3282
|
-
def glfwSetWindowRefreshCallback(window: Any,callback: Any,) -> Any:
|
|
3282
|
+
def glfwSetWindowRefreshCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any:
|
|
3283
3283
|
""""""
|
|
3284
3284
|
...
|
|
3285
|
-
def glfwSetWindowShouldClose(window: Any,value: int,) -> None:
|
|
3285
|
+
def glfwSetWindowShouldClose(window: Any|list|tuple,value: int,) -> None:
|
|
3286
3286
|
""""""
|
|
3287
3287
|
...
|
|
3288
|
-
def glfwSetWindowSize(window: Any,width: int,height: int,) -> None:
|
|
3288
|
+
def glfwSetWindowSize(window: Any|list|tuple,width: int,height: int,) -> None:
|
|
3289
3289
|
""""""
|
|
3290
3290
|
...
|
|
3291
|
-
def glfwSetWindowSizeCallback(window: Any,callback: Any,) -> Any:
|
|
3291
|
+
def glfwSetWindowSizeCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any:
|
|
3292
3292
|
""""""
|
|
3293
3293
|
...
|
|
3294
|
-
def glfwSetWindowSizeLimits(window: Any,minwidth: int,minheight: int,maxwidth: int,maxheight: int,) -> None:
|
|
3294
|
+
def glfwSetWindowSizeLimits(window: Any|list|tuple,minwidth: int,minheight: int,maxwidth: int,maxheight: int,) -> None:
|
|
3295
3295
|
""""""
|
|
3296
3296
|
...
|
|
3297
|
-
def glfwSetWindowTitle(window: Any,title:
|
|
3297
|
+
def glfwSetWindowTitle(window: Any|list|tuple,title: bytes,) -> None:
|
|
3298
3298
|
""""""
|
|
3299
3299
|
...
|
|
3300
|
-
def glfwSetWindowUserPointer(window: Any,pointer: Any,) -> None:
|
|
3300
|
+
def glfwSetWindowUserPointer(window: Any|list|tuple,pointer: Any,) -> None:
|
|
3301
3301
|
""""""
|
|
3302
3302
|
...
|
|
3303
|
-
def glfwShowWindow(window: Any,) -> None:
|
|
3303
|
+
def glfwShowWindow(window: Any|list|tuple,) -> None:
|
|
3304
3304
|
""""""
|
|
3305
3305
|
...
|
|
3306
|
-
def glfwSwapBuffers(window: Any,) -> None:
|
|
3306
|
+
def glfwSwapBuffers(window: Any|list|tuple,) -> None:
|
|
3307
3307
|
""""""
|
|
3308
3308
|
...
|
|
3309
3309
|
def glfwSwapInterval(interval: int,) -> None:
|
|
@@ -3312,7 +3312,7 @@ def glfwSwapInterval(interval: int,) -> None:
|
|
|
3312
3312
|
def glfwTerminate() -> None:
|
|
3313
3313
|
""""""
|
|
3314
3314
|
...
|
|
3315
|
-
def glfwUpdateGamepadMappings(string:
|
|
3315
|
+
def glfwUpdateGamepadMappings(string: bytes,) -> int:
|
|
3316
3316
|
""""""
|
|
3317
3317
|
...
|
|
3318
3318
|
def glfwVulkanSupported() -> int:
|
|
@@ -3327,10 +3327,10 @@ def glfwWaitEventsTimeout(timeout: float,) -> None:
|
|
|
3327
3327
|
def glfwWindowHint(hint: int,value: int,) -> None:
|
|
3328
3328
|
""""""
|
|
3329
3329
|
...
|
|
3330
|
-
def glfwWindowHintString(hint: int,value:
|
|
3330
|
+
def glfwWindowHintString(hint: int,value: bytes,) -> None:
|
|
3331
3331
|
""""""
|
|
3332
3332
|
...
|
|
3333
|
-
def glfwWindowShouldClose(window: Any,) -> int:
|
|
3333
|
+
def glfwWindowShouldClose(window: Any|list|tuple,) -> int:
|
|
3334
3334
|
""""""
|
|
3335
3335
|
...
|
|
3336
3336
|
def rlActiveDrawBuffers(count: int,) -> None:
|
|
@@ -3357,7 +3357,7 @@ def rlCheckErrors() -> None:
|
|
|
3357
3357
|
def rlCheckRenderBatchLimit(vCount: int,) -> bool:
|
|
3358
3358
|
"""Check internal buffer overflow for a given number of vertex"""
|
|
3359
3359
|
...
|
|
3360
|
-
def rlClearColor(r:
|
|
3360
|
+
def rlClearColor(r: bytes,g: bytes,b: bytes,a: bytes,) -> None:
|
|
3361
3361
|
"""Clear color buffer with color"""
|
|
3362
3362
|
...
|
|
3363
3363
|
def rlClearScreenBuffers() -> None:
|
|
@@ -3369,10 +3369,10 @@ def rlColor3f(x: float,y: float,z: float,) -> None:
|
|
|
3369
3369
|
def rlColor4f(x: float,y: float,z: float,w: float,) -> None:
|
|
3370
3370
|
"""Define one vertex (color) - 4 float"""
|
|
3371
3371
|
...
|
|
3372
|
-
def rlColor4ub(r:
|
|
3372
|
+
def rlColor4ub(r: bytes,g: bytes,b: bytes,a: bytes,) -> None:
|
|
3373
3373
|
"""Define one vertex (color) - 4 byte"""
|
|
3374
3374
|
...
|
|
3375
|
-
def rlCompileShader(shaderCode:
|
|
3375
|
+
def rlCompileShader(shaderCode: bytes,type: int,) -> int:
|
|
3376
3376
|
"""Compile custom shader and return shader id (type: RL_VERTEX_SHADER, RL_FRAGMENT_SHADER, RL_COMPUTE_SHADER)"""
|
|
3377
3377
|
...
|
|
3378
3378
|
def rlComputeShaderDispatch(groupX: int,groupY: int,groupZ: int,) -> None:
|
|
@@ -3432,7 +3432,7 @@ def rlDisableVertexBufferElement() -> None:
|
|
|
3432
3432
|
def rlDisableWireMode() -> None:
|
|
3433
3433
|
"""Disable wire mode ( and point ) maybe rename"""
|
|
3434
3434
|
...
|
|
3435
|
-
def rlDrawRenderBatch(batch: Any,) -> None:
|
|
3435
|
+
def rlDrawRenderBatch(batch: Any|list|tuple,) -> None:
|
|
3436
3436
|
"""Draw render batch data (Update->Draw->Reset)"""
|
|
3437
3437
|
...
|
|
3438
3438
|
def rlDrawRenderBatchActive() -> None:
|
|
@@ -3528,10 +3528,10 @@ def rlGetGlTextureFormats(format: int,glInternalFormat: Any,glFormat: Any,glType
|
|
|
3528
3528
|
def rlGetLineWidth() -> float:
|
|
3529
3529
|
"""Get the line drawing width"""
|
|
3530
3530
|
...
|
|
3531
|
-
def rlGetLocationAttrib(shaderId: int,attribName:
|
|
3531
|
+
def rlGetLocationAttrib(shaderId: int,attribName: bytes,) -> int:
|
|
3532
3532
|
"""Get shader location attribute"""
|
|
3533
3533
|
...
|
|
3534
|
-
def rlGetLocationUniform(shaderId: int,uniformName:
|
|
3534
|
+
def rlGetLocationUniform(shaderId: int,uniformName: bytes,) -> int:
|
|
3535
3535
|
"""Get shader location uniform"""
|
|
3536
3536
|
...
|
|
3537
3537
|
def rlGetMatrixModelview() -> Matrix:
|
|
@@ -3549,7 +3549,7 @@ def rlGetMatrixTransform() -> Matrix:
|
|
|
3549
3549
|
def rlGetMatrixViewOffsetStereo(eye: int,) -> Matrix:
|
|
3550
3550
|
"""Get internal view offset matrix for stereo render (selected eye)"""
|
|
3551
3551
|
...
|
|
3552
|
-
def rlGetPixelFormatName(format: int,) ->
|
|
3552
|
+
def rlGetPixelFormatName(format: int,) -> bytes:
|
|
3553
3553
|
"""Get name string for pixel format"""
|
|
3554
3554
|
...
|
|
3555
3555
|
def rlGetShaderBufferSize(id: int,) -> int:
|
|
@@ -3594,7 +3594,7 @@ def rlLoadRenderBatch(numBuffers: int,bufferElements: int,) -> rlRenderBatch:
|
|
|
3594
3594
|
def rlLoadShaderBuffer(size: int,data: Any,usageHint: int,) -> int:
|
|
3595
3595
|
"""Load shader storage buffer object (SSBO)"""
|
|
3596
3596
|
...
|
|
3597
|
-
def rlLoadShaderCode(vsCode:
|
|
3597
|
+
def rlLoadShaderCode(vsCode: bytes,fsCode: bytes,) -> int:
|
|
3598
3598
|
"""Load shader from code strings"""
|
|
3599
3599
|
...
|
|
3600
3600
|
def rlLoadShaderProgram(vShaderId: int,fShaderId: int,) -> int:
|
|
@@ -3636,7 +3636,7 @@ def rlPopMatrix() -> None:
|
|
|
3636
3636
|
def rlPushMatrix() -> None:
|
|
3637
3637
|
"""Push the current matrix to stack"""
|
|
3638
3638
|
...
|
|
3639
|
-
def rlReadScreenPixels(width: int,height: int,) ->
|
|
3639
|
+
def rlReadScreenPixels(width: int,height: int,) -> bytes:
|
|
3640
3640
|
"""Read screen pixel data (color buffer)"""
|
|
3641
3641
|
...
|
|
3642
3642
|
def rlReadShaderBuffer(id: int,dest: Any,count: int,offset: int,) -> None:
|
|
@@ -3675,19 +3675,19 @@ def rlSetFramebufferWidth(width: int,) -> None:
|
|
|
3675
3675
|
def rlSetLineWidth(width: float,) -> None:
|
|
3676
3676
|
"""Set the line drawing width"""
|
|
3677
3677
|
...
|
|
3678
|
-
def rlSetMatrixModelview(view: Matrix,) -> None:
|
|
3678
|
+
def rlSetMatrixModelview(view: Matrix|list|tuple,) -> None:
|
|
3679
3679
|
"""Set a custom modelview matrix (replaces internal modelview matrix)"""
|
|
3680
3680
|
...
|
|
3681
|
-
def rlSetMatrixProjection(proj: Matrix,) -> None:
|
|
3681
|
+
def rlSetMatrixProjection(proj: Matrix|list|tuple,) -> None:
|
|
3682
3682
|
"""Set a custom projection matrix (replaces internal projection matrix)"""
|
|
3683
3683
|
...
|
|
3684
|
-
def rlSetMatrixProjectionStereo(right: Matrix,left: Matrix,) -> None:
|
|
3684
|
+
def rlSetMatrixProjectionStereo(right: Matrix|list|tuple,left: Matrix|list|tuple,) -> None:
|
|
3685
3685
|
"""Set eyes projection matrices for stereo rendering"""
|
|
3686
3686
|
...
|
|
3687
|
-
def rlSetMatrixViewOffsetStereo(right: Matrix,left: Matrix,) -> None:
|
|
3687
|
+
def rlSetMatrixViewOffsetStereo(right: Matrix|list|tuple,left: Matrix|list|tuple,) -> None:
|
|
3688
3688
|
"""Set eyes view offsets matrices for stereo rendering"""
|
|
3689
3689
|
...
|
|
3690
|
-
def rlSetRenderBatchActive(batch: Any,) -> None:
|
|
3690
|
+
def rlSetRenderBatchActive(batch: Any|list|tuple,) -> None:
|
|
3691
3691
|
"""Set the active render batch for rlgl (NULL for default internal)"""
|
|
3692
3692
|
...
|
|
3693
3693
|
def rlSetShader(id: int,locs: Any,) -> None:
|
|
@@ -3699,7 +3699,7 @@ def rlSetTexture(id: int,) -> None:
|
|
|
3699
3699
|
def rlSetUniform(locIndex: int,value: Any,uniformType: int,count: int,) -> None:
|
|
3700
3700
|
"""Set shader value uniform"""
|
|
3701
3701
|
...
|
|
3702
|
-
def rlSetUniformMatrix(locIndex: int,mat: Matrix,) -> None:
|
|
3702
|
+
def rlSetUniformMatrix(locIndex: int,mat: Matrix|list|tuple,) -> None:
|
|
3703
3703
|
"""Set shader value matrix"""
|
|
3704
3704
|
...
|
|
3705
3705
|
def rlSetUniformSampler(locIndex: int,textureId: int,) -> None:
|
|
@@ -3726,7 +3726,7 @@ def rlTranslatef(x: float,y: float,z: float,) -> None:
|
|
|
3726
3726
|
def rlUnloadFramebuffer(id: int,) -> None:
|
|
3727
3727
|
"""Delete framebuffer from GPU"""
|
|
3728
3728
|
...
|
|
3729
|
-
def rlUnloadRenderBatch(batch: rlRenderBatch,) -> None:
|
|
3729
|
+
def rlUnloadRenderBatch(batch: rlRenderBatch|list|tuple,) -> None:
|
|
3730
3730
|
"""Unload render batch system"""
|
|
3731
3731
|
...
|
|
3732
3732
|
def rlUnloadShaderBuffer(ssboId: int,) -> None:
|
|
@@ -3774,118 +3774,393 @@ def rlglClose() -> None:
|
|
|
3774
3774
|
def rlglInit(width: int,height: int,) -> None:
|
|
3775
3775
|
"""Initialize rlgl (buffers, shaders, textures, states)"""
|
|
3776
3776
|
...
|
|
3777
|
-
AudioStream:
|
|
3778
|
-
|
|
3779
|
-
|
|
3780
|
-
|
|
3781
|
-
|
|
3782
|
-
|
|
3783
|
-
|
|
3784
|
-
|
|
3785
|
-
|
|
3786
|
-
|
|
3787
|
-
|
|
3788
|
-
|
|
3789
|
-
|
|
3790
|
-
|
|
3791
|
-
|
|
3792
|
-
|
|
3793
|
-
|
|
3794
|
-
|
|
3795
|
-
|
|
3796
|
-
|
|
3797
|
-
|
|
3798
|
-
|
|
3799
|
-
|
|
3800
|
-
|
|
3801
|
-
|
|
3802
|
-
|
|
3803
|
-
|
|
3804
|
-
|
|
3805
|
-
|
|
3806
|
-
|
|
3807
|
-
|
|
3808
|
-
|
|
3809
|
-
|
|
3810
|
-
|
|
3811
|
-
|
|
3812
|
-
|
|
3813
|
-
|
|
3814
|
-
|
|
3815
|
-
|
|
3816
|
-
|
|
3817
|
-
|
|
3818
|
-
|
|
3819
|
-
|
|
3820
|
-
|
|
3821
|
-
|
|
3822
|
-
|
|
3823
|
-
|
|
3824
|
-
|
|
3825
|
-
|
|
3826
|
-
|
|
3827
|
-
|
|
3828
|
-
|
|
3829
|
-
|
|
3830
|
-
|
|
3831
|
-
|
|
3832
|
-
|
|
3833
|
-
|
|
3834
|
-
|
|
3835
|
-
|
|
3836
|
-
|
|
3837
|
-
|
|
3838
|
-
|
|
3839
|
-
|
|
3840
|
-
|
|
3841
|
-
|
|
3842
|
-
|
|
3843
|
-
|
|
3844
|
-
|
|
3845
|
-
|
|
3846
|
-
|
|
3847
|
-
|
|
3848
|
-
|
|
3849
|
-
|
|
3850
|
-
|
|
3851
|
-
|
|
3852
|
-
|
|
3853
|
-
|
|
3854
|
-
|
|
3855
|
-
|
|
3856
|
-
|
|
3857
|
-
|
|
3858
|
-
|
|
3859
|
-
|
|
3860
|
-
|
|
3861
|
-
|
|
3862
|
-
|
|
3863
|
-
|
|
3864
|
-
|
|
3865
|
-
|
|
3866
|
-
|
|
3867
|
-
|
|
3868
|
-
|
|
3869
|
-
|
|
3870
|
-
|
|
3871
|
-
|
|
3872
|
-
|
|
3873
|
-
|
|
3874
|
-
|
|
3875
|
-
|
|
3876
|
-
|
|
3877
|
-
|
|
3878
|
-
|
|
3879
|
-
|
|
3880
|
-
|
|
3881
|
-
|
|
3882
|
-
|
|
3883
|
-
|
|
3884
|
-
|
|
3885
|
-
|
|
3886
|
-
|
|
3887
|
-
|
|
3888
|
-
|
|
3777
|
+
class AudioStream:
|
|
3778
|
+
buffer: Any
|
|
3779
|
+
processor: Any
|
|
3780
|
+
sampleRate: int
|
|
3781
|
+
sampleSize: int
|
|
3782
|
+
channels: int
|
|
3783
|
+
class AutomationEvent:
|
|
3784
|
+
frame: int
|
|
3785
|
+
type: int
|
|
3786
|
+
params: list
|
|
3787
|
+
class AutomationEventList:
|
|
3788
|
+
capacity: int
|
|
3789
|
+
count: int
|
|
3790
|
+
events: Any
|
|
3791
|
+
BlendMode = int
|
|
3792
|
+
class BoneInfo:
|
|
3793
|
+
name: bytes
|
|
3794
|
+
parent: int
|
|
3795
|
+
class BoundingBox:
|
|
3796
|
+
min: Vector3
|
|
3797
|
+
max: Vector3
|
|
3798
|
+
class Camera:
|
|
3799
|
+
position: Vector3
|
|
3800
|
+
target: Vector3
|
|
3801
|
+
up: Vector3
|
|
3802
|
+
fovy: float
|
|
3803
|
+
projection: int
|
|
3804
|
+
class Camera2D:
|
|
3805
|
+
offset: Vector2
|
|
3806
|
+
target: Vector2
|
|
3807
|
+
rotation: float
|
|
3808
|
+
zoom: float
|
|
3809
|
+
class Camera3D:
|
|
3810
|
+
position: Vector3
|
|
3811
|
+
target: Vector3
|
|
3812
|
+
up: Vector3
|
|
3813
|
+
fovy: float
|
|
3814
|
+
projection: int
|
|
3815
|
+
CameraMode = int
|
|
3816
|
+
CameraProjection = int
|
|
3817
|
+
class Color:
|
|
3818
|
+
r: bytes
|
|
3819
|
+
g: bytes
|
|
3820
|
+
b: bytes
|
|
3821
|
+
a: bytes
|
|
3822
|
+
ConfigFlags = int
|
|
3823
|
+
CubemapLayout = int
|
|
3824
|
+
class FilePathList:
|
|
3825
|
+
capacity: int
|
|
3826
|
+
count: int
|
|
3827
|
+
paths: list[bytes]
|
|
3828
|
+
class Font:
|
|
3829
|
+
baseSize: int
|
|
3830
|
+
glyphCount: int
|
|
3831
|
+
glyphPadding: int
|
|
3832
|
+
texture: Texture
|
|
3833
|
+
recs: Any
|
|
3834
|
+
glyphs: Any
|
|
3835
|
+
FontType = int
|
|
3836
|
+
class GLFWallocator:
|
|
3837
|
+
allocate: Any
|
|
3838
|
+
reallocate: Any
|
|
3839
|
+
deallocate: Any
|
|
3840
|
+
user: Any
|
|
3841
|
+
class GLFWcursor:
|
|
3842
|
+
...
|
|
3843
|
+
class GLFWgamepadstate:
|
|
3844
|
+
buttons: bytes
|
|
3845
|
+
axes: list
|
|
3846
|
+
class GLFWgammaramp:
|
|
3847
|
+
red: Any
|
|
3848
|
+
green: Any
|
|
3849
|
+
blue: Any
|
|
3850
|
+
size: int
|
|
3851
|
+
class GLFWimage:
|
|
3852
|
+
width: int
|
|
3853
|
+
height: int
|
|
3854
|
+
pixels: bytes
|
|
3855
|
+
class GLFWmonitor:
|
|
3856
|
+
...
|
|
3857
|
+
class GLFWvidmode:
|
|
3858
|
+
width: int
|
|
3859
|
+
height: int
|
|
3860
|
+
redBits: int
|
|
3861
|
+
greenBits: int
|
|
3862
|
+
blueBits: int
|
|
3863
|
+
refreshRate: int
|
|
3864
|
+
class GLFWwindow:
|
|
3865
|
+
...
|
|
3866
|
+
GamepadAxis = int
|
|
3867
|
+
GamepadButton = int
|
|
3868
|
+
Gesture = int
|
|
3869
|
+
class GlyphInfo:
|
|
3870
|
+
value: int
|
|
3871
|
+
offsetX: int
|
|
3872
|
+
offsetY: int
|
|
3873
|
+
advanceX: int
|
|
3874
|
+
image: Image
|
|
3875
|
+
GuiCheckBoxProperty = int
|
|
3876
|
+
GuiColorPickerProperty = int
|
|
3877
|
+
GuiComboBoxProperty = int
|
|
3878
|
+
GuiControl = int
|
|
3879
|
+
GuiControlProperty = int
|
|
3880
|
+
GuiDefaultProperty = int
|
|
3881
|
+
GuiDropdownBoxProperty = int
|
|
3882
|
+
GuiIconName = int
|
|
3883
|
+
GuiListViewProperty = int
|
|
3884
|
+
GuiProgressBarProperty = int
|
|
3885
|
+
GuiScrollBarProperty = int
|
|
3886
|
+
GuiSliderProperty = int
|
|
3887
|
+
GuiSpinnerProperty = int
|
|
3888
|
+
GuiState = int
|
|
3889
|
+
class GuiStyleProp:
|
|
3890
|
+
controlId: int
|
|
3891
|
+
propertyId: int
|
|
3892
|
+
propertyValue: int
|
|
3893
|
+
GuiTextAlignment = int
|
|
3894
|
+
GuiTextAlignmentVertical = int
|
|
3895
|
+
GuiTextBoxProperty = int
|
|
3896
|
+
GuiTextWrapMode = int
|
|
3897
|
+
GuiToggleProperty = int
|
|
3898
|
+
class Image:
|
|
3899
|
+
data: Any
|
|
3900
|
+
width: int
|
|
3901
|
+
height: int
|
|
3902
|
+
mipmaps: int
|
|
3903
|
+
format: int
|
|
3904
|
+
KeyboardKey = int
|
|
3905
|
+
class Material:
|
|
3906
|
+
shader: Shader
|
|
3907
|
+
maps: Any
|
|
3908
|
+
params: list
|
|
3909
|
+
class MaterialMap:
|
|
3910
|
+
texture: Texture
|
|
3911
|
+
color: Color
|
|
3912
|
+
value: float
|
|
3913
|
+
MaterialMapIndex = int
|
|
3914
|
+
class Matrix:
|
|
3915
|
+
m0: float
|
|
3916
|
+
m4: float
|
|
3917
|
+
m8: float
|
|
3918
|
+
m12: float
|
|
3919
|
+
m1: float
|
|
3920
|
+
m5: float
|
|
3921
|
+
m9: float
|
|
3922
|
+
m13: float
|
|
3923
|
+
m2: float
|
|
3924
|
+
m6: float
|
|
3925
|
+
m10: float
|
|
3926
|
+
m14: float
|
|
3927
|
+
m3: float
|
|
3928
|
+
m7: float
|
|
3929
|
+
m11: float
|
|
3930
|
+
m15: float
|
|
3931
|
+
class Matrix2x2:
|
|
3932
|
+
m00: float
|
|
3933
|
+
m01: float
|
|
3934
|
+
m10: float
|
|
3935
|
+
m11: float
|
|
3936
|
+
class Mesh:
|
|
3937
|
+
vertexCount: int
|
|
3938
|
+
triangleCount: int
|
|
3939
|
+
vertices: Any
|
|
3940
|
+
texcoords: Any
|
|
3941
|
+
texcoords2: Any
|
|
3942
|
+
normals: Any
|
|
3943
|
+
tangents: Any
|
|
3944
|
+
colors: bytes
|
|
3945
|
+
indices: Any
|
|
3946
|
+
animVertices: Any
|
|
3947
|
+
animNormals: Any
|
|
3948
|
+
boneIds: bytes
|
|
3949
|
+
boneWeights: Any
|
|
3950
|
+
vaoId: int
|
|
3951
|
+
vboId: Any
|
|
3952
|
+
class Model:
|
|
3953
|
+
transform: Matrix
|
|
3954
|
+
meshCount: int
|
|
3955
|
+
materialCount: int
|
|
3956
|
+
meshes: Any
|
|
3957
|
+
materials: Any
|
|
3958
|
+
meshMaterial: Any
|
|
3959
|
+
boneCount: int
|
|
3960
|
+
bones: Any
|
|
3961
|
+
bindPose: Any
|
|
3962
|
+
class ModelAnimation:
|
|
3963
|
+
boneCount: int
|
|
3964
|
+
frameCount: int
|
|
3965
|
+
bones: Any
|
|
3966
|
+
framePoses: Any
|
|
3967
|
+
name: bytes
|
|
3968
|
+
MouseButton = int
|
|
3969
|
+
MouseCursor = int
|
|
3970
|
+
class Music:
|
|
3971
|
+
stream: AudioStream
|
|
3972
|
+
frameCount: int
|
|
3973
|
+
looping: bool
|
|
3974
|
+
ctxType: int
|
|
3975
|
+
ctxData: Any
|
|
3976
|
+
class NPatchInfo:
|
|
3977
|
+
source: Rectangle
|
|
3978
|
+
left: int
|
|
3979
|
+
top: int
|
|
3980
|
+
right: int
|
|
3981
|
+
bottom: int
|
|
3982
|
+
layout: int
|
|
3983
|
+
NPatchLayout = int
|
|
3984
|
+
class PhysicsBodyData:
|
|
3985
|
+
id: int
|
|
3986
|
+
enabled: bool
|
|
3987
|
+
position: Vector2
|
|
3988
|
+
velocity: Vector2
|
|
3989
|
+
force: Vector2
|
|
3990
|
+
angularVelocity: float
|
|
3991
|
+
torque: float
|
|
3992
|
+
orient: float
|
|
3993
|
+
inertia: float
|
|
3994
|
+
inverseInertia: float
|
|
3995
|
+
mass: float
|
|
3996
|
+
inverseMass: float
|
|
3997
|
+
staticFriction: float
|
|
3998
|
+
dynamicFriction: float
|
|
3999
|
+
restitution: float
|
|
4000
|
+
useGravity: bool
|
|
4001
|
+
isGrounded: bool
|
|
4002
|
+
freezeOrient: bool
|
|
4003
|
+
shape: PhysicsShape
|
|
4004
|
+
class PhysicsManifoldData:
|
|
4005
|
+
id: int
|
|
4006
|
+
bodyA: Any
|
|
4007
|
+
bodyB: Any
|
|
4008
|
+
penetration: float
|
|
4009
|
+
normal: Vector2
|
|
4010
|
+
contacts: list
|
|
4011
|
+
contactsCount: int
|
|
4012
|
+
restitution: float
|
|
4013
|
+
dynamicFriction: float
|
|
4014
|
+
staticFriction: float
|
|
4015
|
+
class PhysicsShape:
|
|
4016
|
+
type: PhysicsShapeType
|
|
4017
|
+
body: Any
|
|
4018
|
+
vertexData: PhysicsVertexData
|
|
4019
|
+
radius: float
|
|
4020
|
+
transform: Matrix2x2
|
|
4021
|
+
PhysicsShapeType = int
|
|
4022
|
+
class PhysicsVertexData:
|
|
4023
|
+
vertexCount: int
|
|
4024
|
+
positions: list
|
|
4025
|
+
normals: list
|
|
4026
|
+
PixelFormat = int
|
|
4027
|
+
class Quaternion:
|
|
4028
|
+
x: float
|
|
4029
|
+
y: float
|
|
4030
|
+
z: float
|
|
4031
|
+
w: float
|
|
4032
|
+
class Ray:
|
|
4033
|
+
position: Vector3
|
|
4034
|
+
direction: Vector3
|
|
4035
|
+
class RayCollision:
|
|
4036
|
+
hit: bool
|
|
4037
|
+
distance: float
|
|
4038
|
+
point: Vector3
|
|
4039
|
+
normal: Vector3
|
|
4040
|
+
class Rectangle:
|
|
4041
|
+
x: float
|
|
4042
|
+
y: float
|
|
4043
|
+
width: float
|
|
4044
|
+
height: float
|
|
4045
|
+
class RenderTexture:
|
|
4046
|
+
id: int
|
|
4047
|
+
texture: Texture
|
|
4048
|
+
depth: Texture
|
|
4049
|
+
class RenderTexture2D:
|
|
4050
|
+
id: int
|
|
4051
|
+
texture: Texture
|
|
4052
|
+
depth: Texture
|
|
4053
|
+
class Shader:
|
|
4054
|
+
id: int
|
|
4055
|
+
locs: Any
|
|
4056
|
+
ShaderAttributeDataType = int
|
|
4057
|
+
ShaderLocationIndex = int
|
|
4058
|
+
ShaderUniformDataType = int
|
|
4059
|
+
class Sound:
|
|
4060
|
+
stream: AudioStream
|
|
4061
|
+
frameCount: int
|
|
4062
|
+
class Texture:
|
|
4063
|
+
id: int
|
|
4064
|
+
width: int
|
|
4065
|
+
height: int
|
|
4066
|
+
mipmaps: int
|
|
4067
|
+
format: int
|
|
4068
|
+
class Texture2D:
|
|
4069
|
+
id: int
|
|
4070
|
+
width: int
|
|
4071
|
+
height: int
|
|
4072
|
+
mipmaps: int
|
|
4073
|
+
format: int
|
|
4074
|
+
class TextureCubemap:
|
|
4075
|
+
id: int
|
|
4076
|
+
width: int
|
|
4077
|
+
height: int
|
|
4078
|
+
mipmaps: int
|
|
4079
|
+
format: int
|
|
4080
|
+
TextureFilter = int
|
|
4081
|
+
TextureWrap = int
|
|
4082
|
+
TraceLogLevel = int
|
|
4083
|
+
class Transform:
|
|
4084
|
+
translation: Vector3
|
|
4085
|
+
rotation: Vector4
|
|
4086
|
+
scale: Vector3
|
|
4087
|
+
class Vector2:
|
|
4088
|
+
x: float
|
|
4089
|
+
y: float
|
|
4090
|
+
class Vector3:
|
|
4091
|
+
x: float
|
|
4092
|
+
y: float
|
|
4093
|
+
z: float
|
|
4094
|
+
class Vector4:
|
|
4095
|
+
x: float
|
|
4096
|
+
y: float
|
|
4097
|
+
z: float
|
|
4098
|
+
w: float
|
|
4099
|
+
class VrDeviceInfo:
|
|
4100
|
+
hResolution: int
|
|
4101
|
+
vResolution: int
|
|
4102
|
+
hScreenSize: float
|
|
4103
|
+
vScreenSize: float
|
|
4104
|
+
vScreenCenter: float
|
|
4105
|
+
eyeToScreenDistance: float
|
|
4106
|
+
lensSeparationDistance: float
|
|
4107
|
+
interpupillaryDistance: float
|
|
4108
|
+
lensDistortionValues: list
|
|
4109
|
+
chromaAbCorrection: list
|
|
4110
|
+
class VrStereoConfig:
|
|
4111
|
+
projection: list
|
|
4112
|
+
viewOffset: list
|
|
4113
|
+
leftLensCenter: list
|
|
4114
|
+
rightLensCenter: list
|
|
4115
|
+
leftScreenCenter: list
|
|
4116
|
+
rightScreenCenter: list
|
|
4117
|
+
scale: list
|
|
4118
|
+
scaleIn: list
|
|
4119
|
+
class Wave:
|
|
4120
|
+
frameCount: int
|
|
4121
|
+
sampleRate: int
|
|
4122
|
+
sampleSize: int
|
|
4123
|
+
channels: int
|
|
4124
|
+
data: Any
|
|
4125
|
+
class float16:
|
|
4126
|
+
v: list
|
|
4127
|
+
class float3:
|
|
4128
|
+
v: list
|
|
4129
|
+
class rAudioBuffer:
|
|
4130
|
+
...
|
|
4131
|
+
class rAudioProcessor:
|
|
4132
|
+
...
|
|
4133
|
+
rlBlendMode = int
|
|
4134
|
+
rlCullMode = int
|
|
4135
|
+
class rlDrawCall:
|
|
4136
|
+
mode: int
|
|
4137
|
+
vertexCount: int
|
|
4138
|
+
vertexAlignment: int
|
|
4139
|
+
textureId: int
|
|
4140
|
+
rlFramebufferAttachTextureType = int
|
|
4141
|
+
rlFramebufferAttachType = int
|
|
4142
|
+
rlGlVersion = int
|
|
4143
|
+
rlPixelFormat = int
|
|
4144
|
+
class rlRenderBatch:
|
|
4145
|
+
bufferCount: int
|
|
4146
|
+
currentBuffer: int
|
|
4147
|
+
vertexBuffer: Any
|
|
4148
|
+
draws: Any
|
|
4149
|
+
drawCounter: int
|
|
4150
|
+
currentDepth: float
|
|
4151
|
+
rlShaderAttributeDataType = int
|
|
4152
|
+
rlShaderLocationIndex = int
|
|
4153
|
+
rlShaderUniformDataType = int
|
|
4154
|
+
rlTextureFilter = int
|
|
4155
|
+
rlTraceLogLevel = int
|
|
4156
|
+
class rlVertexBuffer:
|
|
4157
|
+
elementCount: int
|
|
4158
|
+
vertices: Any
|
|
4159
|
+
texcoords: Any
|
|
4160
|
+
colors: bytes
|
|
4161
|
+
indices: Any
|
|
4162
|
+
vaoId: int
|
|
4163
|
+
vboId: list
|
|
3889
4164
|
|
|
3890
4165
|
LIGHTGRAY : Color
|
|
3891
4166
|
GRAY : Color
|