raylib 5.5.0.4__cp312-cp312-manylinux2014_x86_64.manylinux_2_17_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.
- pyray/__init__.py +159 -0
- pyray/__init__.pyi +4555 -0
- pyray/py.typed +0 -0
- raylib/__init__.py +34 -0
- raylib/__init__.pyi +4423 -0
- raylib/_raylib_cffi.cpython-312-x86_64-linux-gnu.so +0 -0
- raylib/build.py +327 -0
- raylib/colors.py +41 -0
- raylib/defines.py +508 -0
- raylib/enums.py +759 -0
- raylib/glfw3.h.modified +5618 -0
- raylib/physac.h.modified +171 -0
- raylib/py.typed +0 -0
- raylib/raygui.h.modified +865 -0
- raylib/raylib.h.modified +1448 -0
- raylib/raymath.h.modified +249 -0
- raylib/rlgl.h.modified +522 -0
- raylib/version.py +1 -0
- raylib-5.5.0.4.dist-info/METADATA +316 -0
- raylib-5.5.0.4.dist-info/RECORD +23 -0
- raylib-5.5.0.4.dist-info/WHEEL +6 -0
- raylib-5.5.0.4.dist-info/licenses/LICENSE +277 -0
- raylib-5.5.0.4.dist-info/top_level.txt +2 -0
raylib/__init__.pyi
ADDED
|
@@ -0,0 +1,4423 @@
|
|
|
1
|
+
from typing import Any
|
|
2
|
+
from warnings import deprecated
|
|
3
|
+
import _cffi_backend # type: ignore
|
|
4
|
+
|
|
5
|
+
ffi: _cffi_backend.FFI
|
|
6
|
+
rl: _cffi_backend.Lib
|
|
7
|
+
PhysicsShapeType = int
|
|
8
|
+
|
|
9
|
+
class struct: ...
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
ARROWS_SIZE: int
|
|
13
|
+
ARROWS_VISIBLE: int
|
|
14
|
+
ARROW_PADDING: int
|
|
15
|
+
def AttachAudioMixedProcessor(processor: Any,) -> None:
|
|
16
|
+
"""Attach audio stream processor to the entire audio pipeline, receives the samples as 'float'."""
|
|
17
|
+
...
|
|
18
|
+
def AttachAudioStreamProcessor(stream: AudioStream|list|tuple,processor: Any,) -> None:
|
|
19
|
+
"""Attach audio stream processor to stream, receives the samples as 'float'."""
|
|
20
|
+
...
|
|
21
|
+
BACKGROUND_COLOR: int
|
|
22
|
+
BASE_COLOR_DISABLED: int
|
|
23
|
+
BASE_COLOR_FOCUSED: int
|
|
24
|
+
BASE_COLOR_NORMAL: int
|
|
25
|
+
BASE_COLOR_PRESSED: int
|
|
26
|
+
BLEND_ADDITIVE: int
|
|
27
|
+
BLEND_ADD_COLORS: int
|
|
28
|
+
BLEND_ALPHA: int
|
|
29
|
+
BLEND_ALPHA_PREMULTIPLY: int
|
|
30
|
+
BLEND_CUSTOM: int
|
|
31
|
+
BLEND_CUSTOM_SEPARATE: int
|
|
32
|
+
BLEND_MULTIPLIED: int
|
|
33
|
+
BLEND_SUBTRACT_COLORS: int
|
|
34
|
+
BORDER_COLOR_DISABLED: int
|
|
35
|
+
BORDER_COLOR_FOCUSED: int
|
|
36
|
+
BORDER_COLOR_NORMAL: int
|
|
37
|
+
BORDER_COLOR_PRESSED: int
|
|
38
|
+
BORDER_WIDTH: int
|
|
39
|
+
BUTTON: int
|
|
40
|
+
def BeginBlendMode(mode: int,) -> None:
|
|
41
|
+
"""Begin blending mode (alpha, additive, multiplied, subtract, custom)."""
|
|
42
|
+
...
|
|
43
|
+
def BeginDrawing() -> None:
|
|
44
|
+
"""Setup canvas (framebuffer) to start drawing."""
|
|
45
|
+
...
|
|
46
|
+
def BeginMode2D(camera: Camera2D|list|tuple,) -> None:
|
|
47
|
+
"""Begin 2D mode with custom camera (2D)."""
|
|
48
|
+
...
|
|
49
|
+
def BeginMode3D(camera: Camera3D|list|tuple,) -> None:
|
|
50
|
+
"""Begin 3D mode with custom camera (3D)."""
|
|
51
|
+
...
|
|
52
|
+
def BeginScissorMode(x: int,y: int,width: int,height: int,) -> None:
|
|
53
|
+
"""Begin scissor mode (define screen area for following drawing)."""
|
|
54
|
+
...
|
|
55
|
+
def BeginShaderMode(shader: Shader|list|tuple,) -> None:
|
|
56
|
+
"""Begin custom shader drawing."""
|
|
57
|
+
...
|
|
58
|
+
def BeginTextureMode(target: RenderTexture|list|tuple,) -> None:
|
|
59
|
+
"""Begin drawing to render texture."""
|
|
60
|
+
...
|
|
61
|
+
def BeginVrStereoMode(config: VrStereoConfig|list|tuple,) -> None:
|
|
62
|
+
"""Begin stereo rendering (requires VR simulator)."""
|
|
63
|
+
...
|
|
64
|
+
CAMERA_CUSTOM: int
|
|
65
|
+
CAMERA_FIRST_PERSON: int
|
|
66
|
+
CAMERA_FREE: int
|
|
67
|
+
CAMERA_ORBITAL: int
|
|
68
|
+
CAMERA_ORTHOGRAPHIC: int
|
|
69
|
+
CAMERA_PERSPECTIVE: int
|
|
70
|
+
CAMERA_THIRD_PERSON: int
|
|
71
|
+
CHECKBOX: int
|
|
72
|
+
CHECK_PADDING: int
|
|
73
|
+
COLORPICKER: int
|
|
74
|
+
COLOR_SELECTOR_SIZE: int
|
|
75
|
+
COMBOBOX: int
|
|
76
|
+
COMBO_BUTTON_SPACING: int
|
|
77
|
+
COMBO_BUTTON_WIDTH: int
|
|
78
|
+
CUBEMAP_LAYOUT_AUTO_DETECT: int
|
|
79
|
+
CUBEMAP_LAYOUT_CROSS_FOUR_BY_THREE: int
|
|
80
|
+
CUBEMAP_LAYOUT_CROSS_THREE_BY_FOUR: int
|
|
81
|
+
CUBEMAP_LAYOUT_LINE_HORIZONTAL: int
|
|
82
|
+
CUBEMAP_LAYOUT_LINE_VERTICAL: int
|
|
83
|
+
def ChangeDirectory(dir: bytes,) -> bool:
|
|
84
|
+
"""Change working directory, return true on success."""
|
|
85
|
+
...
|
|
86
|
+
def CheckCollisionBoxSphere(box: BoundingBox|list|tuple,center: Vector3|list|tuple,radius: float,) -> bool:
|
|
87
|
+
"""Check collision between box and sphere."""
|
|
88
|
+
...
|
|
89
|
+
def CheckCollisionBoxes(box1: BoundingBox|list|tuple,box2: BoundingBox|list|tuple,) -> bool:
|
|
90
|
+
"""Check collision between two bounding boxes."""
|
|
91
|
+
...
|
|
92
|
+
def CheckCollisionCircleLine(center: Vector2|list|tuple,radius: float,p1: Vector2|list|tuple,p2: Vector2|list|tuple,) -> bool:
|
|
93
|
+
"""Check if circle collides with a line created betweeen two points [p1] and [p2]."""
|
|
94
|
+
...
|
|
95
|
+
def CheckCollisionCircleRec(center: Vector2|list|tuple,radius: float,rec: Rectangle|list|tuple,) -> bool:
|
|
96
|
+
"""Check collision between circle and rectangle."""
|
|
97
|
+
...
|
|
98
|
+
def CheckCollisionCircles(center1: Vector2|list|tuple,radius1: float,center2: Vector2|list|tuple,radius2: float,) -> bool:
|
|
99
|
+
"""Check collision between two circles."""
|
|
100
|
+
...
|
|
101
|
+
def CheckCollisionLines(startPos1: Vector2|list|tuple,endPos1: Vector2|list|tuple,startPos2: Vector2|list|tuple,endPos2: Vector2|list|tuple,collisionPoint: Any|list|tuple,) -> bool:
|
|
102
|
+
"""Check the collision between two lines defined by two points each, returns collision point by reference."""
|
|
103
|
+
...
|
|
104
|
+
def CheckCollisionPointCircle(point: Vector2|list|tuple,center: Vector2|list|tuple,radius: float,) -> bool:
|
|
105
|
+
"""Check if point is inside circle."""
|
|
106
|
+
...
|
|
107
|
+
def CheckCollisionPointLine(point: Vector2|list|tuple,p1: Vector2|list|tuple,p2: Vector2|list|tuple,threshold: int,) -> bool:
|
|
108
|
+
"""Check if point belongs to line created between two points [p1] and [p2] with defined margin in pixels [threshold]."""
|
|
109
|
+
...
|
|
110
|
+
def CheckCollisionPointPoly(point: Vector2|list|tuple,points: Any|list|tuple,pointCount: int,) -> bool:
|
|
111
|
+
"""Check if point is within a polygon described by array of vertices."""
|
|
112
|
+
...
|
|
113
|
+
def CheckCollisionPointRec(point: Vector2|list|tuple,rec: Rectangle|list|tuple,) -> bool:
|
|
114
|
+
"""Check if point is inside rectangle."""
|
|
115
|
+
...
|
|
116
|
+
def CheckCollisionPointTriangle(point: Vector2|list|tuple,p1: Vector2|list|tuple,p2: Vector2|list|tuple,p3: Vector2|list|tuple,) -> bool:
|
|
117
|
+
"""Check if point is inside a triangle."""
|
|
118
|
+
...
|
|
119
|
+
def CheckCollisionRecs(rec1: Rectangle|list|tuple,rec2: Rectangle|list|tuple,) -> bool:
|
|
120
|
+
"""Check collision between two rectangles."""
|
|
121
|
+
...
|
|
122
|
+
def CheckCollisionSpheres(center1: Vector3|list|tuple,radius1: float,center2: Vector3|list|tuple,radius2: float,) -> bool:
|
|
123
|
+
"""Check collision between two spheres."""
|
|
124
|
+
...
|
|
125
|
+
def Clamp(value: float,min_1: float,max_2: float,) -> float:
|
|
126
|
+
"""."""
|
|
127
|
+
...
|
|
128
|
+
def ClearBackground(color: Color|list|tuple,) -> None:
|
|
129
|
+
"""Set background color (framebuffer clear color)."""
|
|
130
|
+
...
|
|
131
|
+
def ClearWindowState(flags: int,) -> None:
|
|
132
|
+
"""Clear window configuration state flags."""
|
|
133
|
+
...
|
|
134
|
+
def CloseAudioDevice() -> None:
|
|
135
|
+
"""Close the audio device and context."""
|
|
136
|
+
...
|
|
137
|
+
@deprecated("Raylib no longer recommends the use of Physac library")
|
|
138
|
+
def ClosePhysics() -> None:
|
|
139
|
+
"""Unitializes physics pointers and closes physics loop thread."""
|
|
140
|
+
...
|
|
141
|
+
def CloseWindow() -> None:
|
|
142
|
+
"""Close window and unload OpenGL context."""
|
|
143
|
+
...
|
|
144
|
+
def CodepointToUTF8(codepoint: int,utf8Size: Any,) -> bytes:
|
|
145
|
+
"""Encode one codepoint into UTF-8 byte array (array length returned as parameter)."""
|
|
146
|
+
...
|
|
147
|
+
def ColorAlpha(color: Color|list|tuple,alpha: float,) -> Color:
|
|
148
|
+
"""Get color with alpha applied, alpha goes from 0.0f to 1.0f."""
|
|
149
|
+
...
|
|
150
|
+
def ColorAlphaBlend(dst: Color|list|tuple,src: Color|list|tuple,tint: Color|list|tuple,) -> Color:
|
|
151
|
+
"""Get src alpha-blended into dst color with tint."""
|
|
152
|
+
...
|
|
153
|
+
def ColorBrightness(color: Color|list|tuple,factor: float,) -> Color:
|
|
154
|
+
"""Get color with brightness correction, brightness factor goes from -1.0f to 1.0f."""
|
|
155
|
+
...
|
|
156
|
+
def ColorContrast(color: Color|list|tuple,contrast: float,) -> Color:
|
|
157
|
+
"""Get color with contrast correction, contrast values between -1.0f and 1.0f."""
|
|
158
|
+
...
|
|
159
|
+
def ColorFromHSV(hue: float,saturation: float,value: float,) -> Color:
|
|
160
|
+
"""Get a Color from HSV values, hue [0..360], saturation/value [0..1]."""
|
|
161
|
+
...
|
|
162
|
+
def ColorFromNormalized(normalized: Vector4|list|tuple,) -> Color:
|
|
163
|
+
"""Get Color from normalized values [0..1]."""
|
|
164
|
+
...
|
|
165
|
+
def ColorIsEqual(col1: Color|list|tuple,col2: Color|list|tuple,) -> bool:
|
|
166
|
+
"""Check if two colors are equal."""
|
|
167
|
+
...
|
|
168
|
+
def ColorLerp(color1: Color|list|tuple,color2: Color|list|tuple,factor: float,) -> Color:
|
|
169
|
+
"""Get color lerp interpolation between two colors, factor [0.0f..1.0f]."""
|
|
170
|
+
...
|
|
171
|
+
def ColorNormalize(color: Color|list|tuple,) -> Vector4:
|
|
172
|
+
"""Get Color normalized as float [0..1]."""
|
|
173
|
+
...
|
|
174
|
+
def ColorTint(color: Color|list|tuple,tint: Color|list|tuple,) -> Color:
|
|
175
|
+
"""Get color multiplied with another color."""
|
|
176
|
+
...
|
|
177
|
+
def ColorToHSV(color: Color|list|tuple,) -> Vector3:
|
|
178
|
+
"""Get HSV values for a Color, hue [0..360], saturation/value [0..1]."""
|
|
179
|
+
...
|
|
180
|
+
def ColorToInt(color: Color|list|tuple,) -> int:
|
|
181
|
+
"""Get hexadecimal value for a Color (0xRRGGBBAA)."""
|
|
182
|
+
...
|
|
183
|
+
def CompressData(data: bytes,dataSize: int,compDataSize: Any,) -> bytes:
|
|
184
|
+
"""Compress data (DEFLATE algorithm), memory must be MemFree()."""
|
|
185
|
+
...
|
|
186
|
+
def ComputeCRC32(data: bytes,dataSize: int,) -> int:
|
|
187
|
+
"""Compute CRC32 hash code."""
|
|
188
|
+
...
|
|
189
|
+
def ComputeMD5(data: bytes,dataSize: int,) -> Any:
|
|
190
|
+
"""Compute MD5 hash code, returns static int[4] (16 bytes)."""
|
|
191
|
+
...
|
|
192
|
+
def ComputeSHA1(data: bytes,dataSize: int,) -> Any:
|
|
193
|
+
"""Compute SHA1 hash code, returns static int[5] (20 bytes)."""
|
|
194
|
+
...
|
|
195
|
+
@deprecated("Raylib no longer recommends the use of Physac library")
|
|
196
|
+
def CreatePhysicsBodyCircle(pos: Vector2|list|tuple,radius: float,density: float,) -> Any:
|
|
197
|
+
"""Creates a new circle physics body with generic parameters."""
|
|
198
|
+
...
|
|
199
|
+
@deprecated("Raylib no longer recommends the use of Physac library")
|
|
200
|
+
def CreatePhysicsBodyPolygon(pos: Vector2|list|tuple,radius: float,sides: int,density: float,) -> Any:
|
|
201
|
+
"""Creates a new polygon physics body with generic parameters."""
|
|
202
|
+
...
|
|
203
|
+
@deprecated("Raylib no longer recommends the use of Physac library")
|
|
204
|
+
def CreatePhysicsBodyRectangle(pos: Vector2|list|tuple,width: float,height: float,density: float,) -> Any:
|
|
205
|
+
"""Creates a new rectangle physics body with generic parameters."""
|
|
206
|
+
...
|
|
207
|
+
DEFAULT: int
|
|
208
|
+
DROPDOWNBOX: int
|
|
209
|
+
DROPDOWN_ARROW_HIDDEN: int
|
|
210
|
+
DROPDOWN_ITEMS_SPACING: int
|
|
211
|
+
DROPDOWN_ROLL_UP: int
|
|
212
|
+
def DecodeDataBase64(data: bytes,outputSize: Any,) -> bytes:
|
|
213
|
+
"""Decode Base64 string data, memory must be MemFree()."""
|
|
214
|
+
...
|
|
215
|
+
def DecompressData(compData: bytes,compDataSize: int,dataSize: Any,) -> bytes:
|
|
216
|
+
"""Decompress data (DEFLATE algorithm), memory must be MemFree()."""
|
|
217
|
+
...
|
|
218
|
+
@deprecated("Raylib no longer recommends the use of Physac library")
|
|
219
|
+
def DestroyPhysicsBody(body: Any|list|tuple,) -> None:
|
|
220
|
+
"""Unitializes and destroy a physics body."""
|
|
221
|
+
...
|
|
222
|
+
def DetachAudioMixedProcessor(processor: Any,) -> None:
|
|
223
|
+
"""Detach audio stream processor from the entire audio pipeline."""
|
|
224
|
+
...
|
|
225
|
+
def DetachAudioStreamProcessor(stream: AudioStream|list|tuple,processor: Any,) -> None:
|
|
226
|
+
"""Detach audio stream processor from stream."""
|
|
227
|
+
...
|
|
228
|
+
def DirectoryExists(dirPath: bytes,) -> bool:
|
|
229
|
+
"""Check if a directory path exists."""
|
|
230
|
+
...
|
|
231
|
+
def DisableCursor() -> None:
|
|
232
|
+
"""Disables cursor (lock cursor)."""
|
|
233
|
+
...
|
|
234
|
+
def DisableEventWaiting() -> None:
|
|
235
|
+
"""Disable waiting for events on EndDrawing(), automatic events polling."""
|
|
236
|
+
...
|
|
237
|
+
def DrawBillboard(camera: Camera3D|list|tuple,texture: Texture|list|tuple,position: Vector3|list|tuple,scale: float,tint: Color|list|tuple,) -> None:
|
|
238
|
+
"""Draw a billboard texture."""
|
|
239
|
+
...
|
|
240
|
+
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:
|
|
241
|
+
"""Draw a billboard texture defined by source and rotation."""
|
|
242
|
+
...
|
|
243
|
+
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:
|
|
244
|
+
"""Draw a billboard texture defined by source."""
|
|
245
|
+
...
|
|
246
|
+
def DrawBoundingBox(box: BoundingBox|list|tuple,color: Color|list|tuple,) -> None:
|
|
247
|
+
"""Draw bounding box (wires)."""
|
|
248
|
+
...
|
|
249
|
+
def DrawCapsule(startPos: Vector3|list|tuple,endPos: Vector3|list|tuple,radius: float,slices: int,rings: int,color: Color|list|tuple,) -> None:
|
|
250
|
+
"""Draw a capsule with the center of its sphere caps at startPos and endPos."""
|
|
251
|
+
...
|
|
252
|
+
def DrawCapsuleWires(startPos: Vector3|list|tuple,endPos: Vector3|list|tuple,radius: float,slices: int,rings: int,color: Color|list|tuple,) -> None:
|
|
253
|
+
"""Draw capsule wireframe with the center of its sphere caps at startPos and endPos."""
|
|
254
|
+
...
|
|
255
|
+
def DrawCircle(centerX: int,centerY: int,radius: float,color: Color|list|tuple,) -> None:
|
|
256
|
+
"""Draw a color-filled circle."""
|
|
257
|
+
...
|
|
258
|
+
def DrawCircle3D(center: Vector3|list|tuple,radius: float,rotationAxis: Vector3|list|tuple,rotationAngle: float,color: Color|list|tuple,) -> None:
|
|
259
|
+
"""Draw a circle in 3D world space."""
|
|
260
|
+
...
|
|
261
|
+
def DrawCircleGradient(centerX: int,centerY: int,radius: float,inner: Color|list|tuple,outer: Color|list|tuple,) -> None:
|
|
262
|
+
"""Draw a gradient-filled circle."""
|
|
263
|
+
...
|
|
264
|
+
def DrawCircleLines(centerX: int,centerY: int,radius: float,color: Color|list|tuple,) -> None:
|
|
265
|
+
"""Draw circle outline."""
|
|
266
|
+
...
|
|
267
|
+
def DrawCircleLinesV(center: Vector2|list|tuple,radius: float,color: Color|list|tuple,) -> None:
|
|
268
|
+
"""Draw circle outline (Vector version)."""
|
|
269
|
+
...
|
|
270
|
+
def DrawCircleSector(center: Vector2|list|tuple,radius: float,startAngle: float,endAngle: float,segments: int,color: Color|list|tuple,) -> None:
|
|
271
|
+
"""Draw a piece of a circle."""
|
|
272
|
+
...
|
|
273
|
+
def DrawCircleSectorLines(center: Vector2|list|tuple,radius: float,startAngle: float,endAngle: float,segments: int,color: Color|list|tuple,) -> None:
|
|
274
|
+
"""Draw circle sector outline."""
|
|
275
|
+
...
|
|
276
|
+
def DrawCircleV(center: Vector2|list|tuple,radius: float,color: Color|list|tuple,) -> None:
|
|
277
|
+
"""Draw a color-filled circle (Vector version)."""
|
|
278
|
+
...
|
|
279
|
+
def DrawCube(position: Vector3|list|tuple,width: float,height: float,length: float,color: Color|list|tuple,) -> None:
|
|
280
|
+
"""Draw cube."""
|
|
281
|
+
...
|
|
282
|
+
def DrawCubeV(position: Vector3|list|tuple,size: Vector3|list|tuple,color: Color|list|tuple,) -> None:
|
|
283
|
+
"""Draw cube (Vector version)."""
|
|
284
|
+
...
|
|
285
|
+
def DrawCubeWires(position: Vector3|list|tuple,width: float,height: float,length: float,color: Color|list|tuple,) -> None:
|
|
286
|
+
"""Draw cube wires."""
|
|
287
|
+
...
|
|
288
|
+
def DrawCubeWiresV(position: Vector3|list|tuple,size: Vector3|list|tuple,color: Color|list|tuple,) -> None:
|
|
289
|
+
"""Draw cube wires (Vector version)."""
|
|
290
|
+
...
|
|
291
|
+
def DrawCylinder(position: Vector3|list|tuple,radiusTop: float,radiusBottom: float,height: float,slices: int,color: Color|list|tuple,) -> None:
|
|
292
|
+
"""Draw a cylinder/cone."""
|
|
293
|
+
...
|
|
294
|
+
def DrawCylinderEx(startPos: Vector3|list|tuple,endPos: Vector3|list|tuple,startRadius: float,endRadius: float,sides: int,color: Color|list|tuple,) -> None:
|
|
295
|
+
"""Draw a cylinder with base at startPos and top at endPos."""
|
|
296
|
+
...
|
|
297
|
+
def DrawCylinderWires(position: Vector3|list|tuple,radiusTop: float,radiusBottom: float,height: float,slices: int,color: Color|list|tuple,) -> None:
|
|
298
|
+
"""Draw a cylinder/cone wires."""
|
|
299
|
+
...
|
|
300
|
+
def DrawCylinderWiresEx(startPos: Vector3|list|tuple,endPos: Vector3|list|tuple,startRadius: float,endRadius: float,sides: int,color: Color|list|tuple,) -> None:
|
|
301
|
+
"""Draw a cylinder wires with base at startPos and top at endPos."""
|
|
302
|
+
...
|
|
303
|
+
def DrawEllipse(centerX: int,centerY: int,radiusH: float,radiusV: float,color: Color|list|tuple,) -> None:
|
|
304
|
+
"""Draw ellipse."""
|
|
305
|
+
...
|
|
306
|
+
def DrawEllipseLines(centerX: int,centerY: int,radiusH: float,radiusV: float,color: Color|list|tuple,) -> None:
|
|
307
|
+
"""Draw ellipse outline."""
|
|
308
|
+
...
|
|
309
|
+
def DrawFPS(posX: int,posY: int,) -> None:
|
|
310
|
+
"""Draw current FPS."""
|
|
311
|
+
...
|
|
312
|
+
def DrawGrid(slices: int,spacing: float,) -> None:
|
|
313
|
+
"""Draw a grid (centered at (0, 0, 0))."""
|
|
314
|
+
...
|
|
315
|
+
def DrawLine(startPosX: int,startPosY: int,endPosX: int,endPosY: int,color: Color|list|tuple,) -> None:
|
|
316
|
+
"""Draw a line."""
|
|
317
|
+
...
|
|
318
|
+
def DrawLine3D(startPos: Vector3|list|tuple,endPos: Vector3|list|tuple,color: Color|list|tuple,) -> None:
|
|
319
|
+
"""Draw a line in 3D world space."""
|
|
320
|
+
...
|
|
321
|
+
def DrawLineBezier(startPos: Vector2|list|tuple,endPos: Vector2|list|tuple,thick: float,color: Color|list|tuple,) -> None:
|
|
322
|
+
"""Draw line segment cubic-bezier in-out interpolation."""
|
|
323
|
+
...
|
|
324
|
+
def DrawLineEx(startPos: Vector2|list|tuple,endPos: Vector2|list|tuple,thick: float,color: Color|list|tuple,) -> None:
|
|
325
|
+
"""Draw a line (using triangles/quads)."""
|
|
326
|
+
...
|
|
327
|
+
def DrawLineStrip(points: Any|list|tuple,pointCount: int,color: Color|list|tuple,) -> None:
|
|
328
|
+
"""Draw lines sequence (using gl lines)."""
|
|
329
|
+
...
|
|
330
|
+
def DrawLineV(startPos: Vector2|list|tuple,endPos: Vector2|list|tuple,color: Color|list|tuple,) -> None:
|
|
331
|
+
"""Draw a line (using gl lines)."""
|
|
332
|
+
...
|
|
333
|
+
def DrawMesh(mesh: Mesh|list|tuple,material: Material|list|tuple,transform: Matrix|list|tuple,) -> None:
|
|
334
|
+
"""Draw a 3d mesh with material and transform."""
|
|
335
|
+
...
|
|
336
|
+
def DrawMeshInstanced(mesh: Mesh|list|tuple,material: Material|list|tuple,transforms: Any|list|tuple,instances: int,) -> None:
|
|
337
|
+
"""Draw multiple mesh instances with material and different transforms."""
|
|
338
|
+
...
|
|
339
|
+
def DrawModel(model: Model|list|tuple,position: Vector3|list|tuple,scale: float,tint: Color|list|tuple,) -> None:
|
|
340
|
+
"""Draw a model (with texture if set)."""
|
|
341
|
+
...
|
|
342
|
+
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:
|
|
343
|
+
"""Draw a model with extended parameters."""
|
|
344
|
+
...
|
|
345
|
+
def DrawModelPoints(model: Model|list|tuple,position: Vector3|list|tuple,scale: float,tint: Color|list|tuple,) -> None:
|
|
346
|
+
"""Draw a model as points."""
|
|
347
|
+
...
|
|
348
|
+
def DrawModelPointsEx(model: Model|list|tuple,position: Vector3|list|tuple,rotationAxis: Vector3|list|tuple,rotationAngle: float,scale: Vector3|list|tuple,tint: Color|list|tuple,) -> None:
|
|
349
|
+
"""Draw a model as points with extended parameters."""
|
|
350
|
+
...
|
|
351
|
+
def DrawModelWires(model: Model|list|tuple,position: Vector3|list|tuple,scale: float,tint: Color|list|tuple,) -> None:
|
|
352
|
+
"""Draw a model wires (with texture if set)."""
|
|
353
|
+
...
|
|
354
|
+
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:
|
|
355
|
+
"""Draw a model wires (with texture if set) with extended parameters."""
|
|
356
|
+
...
|
|
357
|
+
def DrawPixel(posX: int,posY: int,color: Color|list|tuple,) -> None:
|
|
358
|
+
"""Draw a pixel using geometry [Can be slow, use with care]."""
|
|
359
|
+
...
|
|
360
|
+
def DrawPixelV(position: Vector2|list|tuple,color: Color|list|tuple,) -> None:
|
|
361
|
+
"""Draw a pixel using geometry (Vector version) [Can be slow, use with care]."""
|
|
362
|
+
...
|
|
363
|
+
def DrawPlane(centerPos: Vector3|list|tuple,size: Vector2|list|tuple,color: Color|list|tuple,) -> None:
|
|
364
|
+
"""Draw a plane XZ."""
|
|
365
|
+
...
|
|
366
|
+
def DrawPoint3D(position: Vector3|list|tuple,color: Color|list|tuple,) -> None:
|
|
367
|
+
"""Draw a point in 3D space, actually a small line."""
|
|
368
|
+
...
|
|
369
|
+
def DrawPoly(center: Vector2|list|tuple,sides: int,radius: float,rotation: float,color: Color|list|tuple,) -> None:
|
|
370
|
+
"""Draw a regular polygon (Vector version)."""
|
|
371
|
+
...
|
|
372
|
+
def DrawPolyLines(center: Vector2|list|tuple,sides: int,radius: float,rotation: float,color: Color|list|tuple,) -> None:
|
|
373
|
+
"""Draw a polygon outline of n sides."""
|
|
374
|
+
...
|
|
375
|
+
def DrawPolyLinesEx(center: Vector2|list|tuple,sides: int,radius: float,rotation: float,lineThick: float,color: Color|list|tuple,) -> None:
|
|
376
|
+
"""Draw a polygon outline of n sides with extended parameters."""
|
|
377
|
+
...
|
|
378
|
+
def DrawRay(ray: Ray|list|tuple,color: Color|list|tuple,) -> None:
|
|
379
|
+
"""Draw a ray line."""
|
|
380
|
+
...
|
|
381
|
+
def DrawRectangle(posX: int,posY: int,width: int,height: int,color: Color|list|tuple,) -> None:
|
|
382
|
+
"""Draw a color-filled rectangle."""
|
|
383
|
+
...
|
|
384
|
+
def DrawRectangleGradientEx(rec: Rectangle|list|tuple,topLeft: Color|list|tuple,bottomLeft: Color|list|tuple,topRight: Color|list|tuple,bottomRight: Color|list|tuple,) -> None:
|
|
385
|
+
"""Draw a gradient-filled rectangle with custom vertex colors."""
|
|
386
|
+
...
|
|
387
|
+
def DrawRectangleGradientH(posX: int,posY: int,width: int,height: int,left: Color|list|tuple,right: Color|list|tuple,) -> None:
|
|
388
|
+
"""Draw a horizontal-gradient-filled rectangle."""
|
|
389
|
+
...
|
|
390
|
+
def DrawRectangleGradientV(posX: int,posY: int,width: int,height: int,top: Color|list|tuple,bottom: Color|list|tuple,) -> None:
|
|
391
|
+
"""Draw a vertical-gradient-filled rectangle."""
|
|
392
|
+
...
|
|
393
|
+
def DrawRectangleLines(posX: int,posY: int,width: int,height: int,color: Color|list|tuple,) -> None:
|
|
394
|
+
"""Draw rectangle outline."""
|
|
395
|
+
...
|
|
396
|
+
def DrawRectangleLinesEx(rec: Rectangle|list|tuple,lineThick: float,color: Color|list|tuple,) -> None:
|
|
397
|
+
"""Draw rectangle outline with extended parameters."""
|
|
398
|
+
...
|
|
399
|
+
def DrawRectanglePro(rec: Rectangle|list|tuple,origin: Vector2|list|tuple,rotation: float,color: Color|list|tuple,) -> None:
|
|
400
|
+
"""Draw a color-filled rectangle with pro parameters."""
|
|
401
|
+
...
|
|
402
|
+
def DrawRectangleRec(rec: Rectangle|list|tuple,color: Color|list|tuple,) -> None:
|
|
403
|
+
"""Draw a color-filled rectangle."""
|
|
404
|
+
...
|
|
405
|
+
def DrawRectangleRounded(rec: Rectangle|list|tuple,roundness: float,segments: int,color: Color|list|tuple,) -> None:
|
|
406
|
+
"""Draw rectangle with rounded edges."""
|
|
407
|
+
...
|
|
408
|
+
def DrawRectangleRoundedLines(rec: Rectangle|list|tuple,roundness: float,segments: int,color: Color|list|tuple,) -> None:
|
|
409
|
+
"""Draw rectangle lines with rounded edges."""
|
|
410
|
+
...
|
|
411
|
+
def DrawRectangleRoundedLinesEx(rec: Rectangle|list|tuple,roundness: float,segments: int,lineThick: float,color: Color|list|tuple,) -> None:
|
|
412
|
+
"""Draw rectangle with rounded edges outline."""
|
|
413
|
+
...
|
|
414
|
+
def DrawRectangleV(position: Vector2|list|tuple,size: Vector2|list|tuple,color: Color|list|tuple,) -> None:
|
|
415
|
+
"""Draw a color-filled rectangle (Vector version)."""
|
|
416
|
+
...
|
|
417
|
+
def DrawRing(center: Vector2|list|tuple,innerRadius: float,outerRadius: float,startAngle: float,endAngle: float,segments: int,color: Color|list|tuple,) -> None:
|
|
418
|
+
"""Draw ring."""
|
|
419
|
+
...
|
|
420
|
+
def DrawRingLines(center: Vector2|list|tuple,innerRadius: float,outerRadius: float,startAngle: float,endAngle: float,segments: int,color: Color|list|tuple,) -> None:
|
|
421
|
+
"""Draw ring outline."""
|
|
422
|
+
...
|
|
423
|
+
def DrawSphere(centerPos: Vector3|list|tuple,radius: float,color: Color|list|tuple,) -> None:
|
|
424
|
+
"""Draw sphere."""
|
|
425
|
+
...
|
|
426
|
+
def DrawSphereEx(centerPos: Vector3|list|tuple,radius: float,rings: int,slices: int,color: Color|list|tuple,) -> None:
|
|
427
|
+
"""Draw sphere with extended parameters."""
|
|
428
|
+
...
|
|
429
|
+
def DrawSphereWires(centerPos: Vector3|list|tuple,radius: float,rings: int,slices: int,color: Color|list|tuple,) -> None:
|
|
430
|
+
"""Draw sphere wires."""
|
|
431
|
+
...
|
|
432
|
+
def DrawSplineBasis(points: Any|list|tuple,pointCount: int,thick: float,color: Color|list|tuple,) -> None:
|
|
433
|
+
"""Draw spline: B-Spline, minimum 4 points."""
|
|
434
|
+
...
|
|
435
|
+
def DrawSplineBezierCubic(points: Any|list|tuple,pointCount: int,thick: float,color: Color|list|tuple,) -> None:
|
|
436
|
+
"""Draw spline: Cubic Bezier, minimum 4 points (2 control points): [p1, c2, c3, p4, c5, c6...]."""
|
|
437
|
+
...
|
|
438
|
+
def DrawSplineBezierQuadratic(points: Any|list|tuple,pointCount: int,thick: float,color: Color|list|tuple,) -> None:
|
|
439
|
+
"""Draw spline: Quadratic Bezier, minimum 3 points (1 control point): [p1, c2, p3, c4...]."""
|
|
440
|
+
...
|
|
441
|
+
def DrawSplineCatmullRom(points: Any|list|tuple,pointCount: int,thick: float,color: Color|list|tuple,) -> None:
|
|
442
|
+
"""Draw spline: Catmull-Rom, minimum 4 points."""
|
|
443
|
+
...
|
|
444
|
+
def DrawSplineLinear(points: Any|list|tuple,pointCount: int,thick: float,color: Color|list|tuple,) -> None:
|
|
445
|
+
"""Draw spline: Linear, minimum 2 points."""
|
|
446
|
+
...
|
|
447
|
+
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:
|
|
448
|
+
"""Draw spline segment: B-Spline, 4 points."""
|
|
449
|
+
...
|
|
450
|
+
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:
|
|
451
|
+
"""Draw spline segment: Cubic Bezier, 2 points, 2 control points."""
|
|
452
|
+
...
|
|
453
|
+
def DrawSplineSegmentBezierQuadratic(p1: Vector2|list|tuple,c2: Vector2|list|tuple,p3: Vector2|list|tuple,thick: float,color: Color|list|tuple,) -> None:
|
|
454
|
+
"""Draw spline segment: Quadratic Bezier, 2 points, 1 control point."""
|
|
455
|
+
...
|
|
456
|
+
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:
|
|
457
|
+
"""Draw spline segment: Catmull-Rom, 4 points."""
|
|
458
|
+
...
|
|
459
|
+
def DrawSplineSegmentLinear(p1: Vector2|list|tuple,p2: Vector2|list|tuple,thick: float,color: Color|list|tuple,) -> None:
|
|
460
|
+
"""Draw spline segment: Linear, 2 points."""
|
|
461
|
+
...
|
|
462
|
+
def DrawText(text: bytes,posX: int,posY: int,fontSize: int,color: Color|list|tuple,) -> None:
|
|
463
|
+
"""Draw text (using default font)."""
|
|
464
|
+
...
|
|
465
|
+
def DrawTextCodepoint(font: Font|list|tuple,codepoint: int,position: Vector2|list|tuple,fontSize: float,tint: Color|list|tuple,) -> None:
|
|
466
|
+
"""Draw one character (codepoint)."""
|
|
467
|
+
...
|
|
468
|
+
def DrawTextCodepoints(font: Font|list|tuple,codepoints: Any,codepointCount: int,position: Vector2|list|tuple,fontSize: float,spacing: float,tint: Color|list|tuple,) -> None:
|
|
469
|
+
"""Draw multiple character (codepoint)."""
|
|
470
|
+
...
|
|
471
|
+
def DrawTextEx(font: Font|list|tuple,text: bytes,position: Vector2|list|tuple,fontSize: float,spacing: float,tint: Color|list|tuple,) -> None:
|
|
472
|
+
"""Draw text using font and additional parameters."""
|
|
473
|
+
...
|
|
474
|
+
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:
|
|
475
|
+
"""Draw text using Font and pro parameters (rotation)."""
|
|
476
|
+
...
|
|
477
|
+
def DrawTexture(texture: Texture|list|tuple,posX: int,posY: int,tint: Color|list|tuple,) -> None:
|
|
478
|
+
"""Draw a Texture2D."""
|
|
479
|
+
...
|
|
480
|
+
def DrawTextureEx(texture: Texture|list|tuple,position: Vector2|list|tuple,rotation: float,scale: float,tint: Color|list|tuple,) -> None:
|
|
481
|
+
"""Draw a Texture2D with extended parameters."""
|
|
482
|
+
...
|
|
483
|
+
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:
|
|
484
|
+
"""Draws a texture (or part of it) that stretches or shrinks nicely."""
|
|
485
|
+
...
|
|
486
|
+
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:
|
|
487
|
+
"""Draw a part of a texture defined by a rectangle with 'pro' parameters."""
|
|
488
|
+
...
|
|
489
|
+
def DrawTextureRec(texture: Texture|list|tuple,source: Rectangle|list|tuple,position: Vector2|list|tuple,tint: Color|list|tuple,) -> None:
|
|
490
|
+
"""Draw a part of a texture defined by a rectangle."""
|
|
491
|
+
...
|
|
492
|
+
def DrawTextureV(texture: Texture|list|tuple,position: Vector2|list|tuple,tint: Color|list|tuple,) -> None:
|
|
493
|
+
"""Draw a Texture2D with position defined as Vector2."""
|
|
494
|
+
...
|
|
495
|
+
def DrawTriangle(v1: Vector2|list|tuple,v2: Vector2|list|tuple,v3: Vector2|list|tuple,color: Color|list|tuple,) -> None:
|
|
496
|
+
"""Draw a color-filled triangle (vertex in counter-clockwise order!)."""
|
|
497
|
+
...
|
|
498
|
+
def DrawTriangle3D(v1: Vector3|list|tuple,v2: Vector3|list|tuple,v3: Vector3|list|tuple,color: Color|list|tuple,) -> None:
|
|
499
|
+
"""Draw a color-filled triangle (vertex in counter-clockwise order!)."""
|
|
500
|
+
...
|
|
501
|
+
def DrawTriangleFan(points: Any|list|tuple,pointCount: int,color: Color|list|tuple,) -> None:
|
|
502
|
+
"""Draw a triangle fan defined by points (first vertex is the center)."""
|
|
503
|
+
...
|
|
504
|
+
def DrawTriangleLines(v1: Vector2|list|tuple,v2: Vector2|list|tuple,v3: Vector2|list|tuple,color: Color|list|tuple,) -> None:
|
|
505
|
+
"""Draw triangle outline (vertex in counter-clockwise order!)."""
|
|
506
|
+
...
|
|
507
|
+
def DrawTriangleStrip(points: Any|list|tuple,pointCount: int,color: Color|list|tuple,) -> None:
|
|
508
|
+
"""Draw a triangle strip defined by points."""
|
|
509
|
+
...
|
|
510
|
+
def DrawTriangleStrip3D(points: Any|list|tuple,pointCount: int,color: Color|list|tuple,) -> None:
|
|
511
|
+
"""Draw a triangle strip defined by points."""
|
|
512
|
+
...
|
|
513
|
+
def EnableCursor() -> None:
|
|
514
|
+
"""Enables cursor (unlock cursor)."""
|
|
515
|
+
...
|
|
516
|
+
def EnableEventWaiting() -> None:
|
|
517
|
+
"""Enable waiting for events on EndDrawing(), no automatic event polling."""
|
|
518
|
+
...
|
|
519
|
+
def EncodeDataBase64(data: bytes,dataSize: int,outputSize: Any,) -> bytes:
|
|
520
|
+
"""Encode data to Base64 string, memory must be MemFree()."""
|
|
521
|
+
...
|
|
522
|
+
def EndBlendMode() -> None:
|
|
523
|
+
"""End blending mode (reset to default: alpha blending)."""
|
|
524
|
+
...
|
|
525
|
+
def EndDrawing() -> None:
|
|
526
|
+
"""End canvas drawing and swap buffers (double buffering)."""
|
|
527
|
+
...
|
|
528
|
+
def EndMode2D() -> None:
|
|
529
|
+
"""Ends 2D mode with custom camera."""
|
|
530
|
+
...
|
|
531
|
+
def EndMode3D() -> None:
|
|
532
|
+
"""Ends 3D mode and returns to default 2D orthographic mode."""
|
|
533
|
+
...
|
|
534
|
+
def EndScissorMode() -> None:
|
|
535
|
+
"""End scissor mode."""
|
|
536
|
+
...
|
|
537
|
+
def EndShaderMode() -> None:
|
|
538
|
+
"""End custom shader drawing (use default shader)."""
|
|
539
|
+
...
|
|
540
|
+
def EndTextureMode() -> None:
|
|
541
|
+
"""Ends drawing to render texture."""
|
|
542
|
+
...
|
|
543
|
+
def EndVrStereoMode() -> None:
|
|
544
|
+
"""End stereo rendering (requires VR simulator)."""
|
|
545
|
+
...
|
|
546
|
+
def ExportAutomationEventList(list_0: AutomationEventList|list|tuple,fileName: bytes,) -> bool:
|
|
547
|
+
"""Export automation events list as text file."""
|
|
548
|
+
...
|
|
549
|
+
def ExportDataAsCode(data: bytes,dataSize: int,fileName: bytes,) -> bool:
|
|
550
|
+
"""Export data to code (.h), returns true on success."""
|
|
551
|
+
...
|
|
552
|
+
def ExportFontAsCode(font: Font|list|tuple,fileName: bytes,) -> bool:
|
|
553
|
+
"""Export font as code file, returns true on success."""
|
|
554
|
+
...
|
|
555
|
+
def ExportImage(image: Image|list|tuple,fileName: bytes,) -> bool:
|
|
556
|
+
"""Export image data to file, returns true on success."""
|
|
557
|
+
...
|
|
558
|
+
def ExportImageAsCode(image: Image|list|tuple,fileName: bytes,) -> bool:
|
|
559
|
+
"""Export image as code file defining an array of bytes, returns true on success."""
|
|
560
|
+
...
|
|
561
|
+
def ExportImageToMemory(image: Image|list|tuple,fileType: bytes,fileSize: Any,) -> bytes:
|
|
562
|
+
"""Export image to memory buffer."""
|
|
563
|
+
...
|
|
564
|
+
def ExportMesh(mesh: Mesh|list|tuple,fileName: bytes,) -> bool:
|
|
565
|
+
"""Export mesh data to file, returns true on success."""
|
|
566
|
+
...
|
|
567
|
+
def ExportMeshAsCode(mesh: Mesh|list|tuple,fileName: bytes,) -> bool:
|
|
568
|
+
"""Export mesh as code file (.h) defining multiple arrays of vertex attributes."""
|
|
569
|
+
...
|
|
570
|
+
def ExportWave(wave: Wave|list|tuple,fileName: bytes,) -> bool:
|
|
571
|
+
"""Export wave data to file, returns true on success."""
|
|
572
|
+
...
|
|
573
|
+
def ExportWaveAsCode(wave: Wave|list|tuple,fileName: bytes,) -> bool:
|
|
574
|
+
"""Export wave sample data to code (.h), returns true on success."""
|
|
575
|
+
...
|
|
576
|
+
FLAG_BORDERLESS_WINDOWED_MODE: int
|
|
577
|
+
FLAG_FULLSCREEN_MODE: int
|
|
578
|
+
FLAG_INTERLACED_HINT: int
|
|
579
|
+
FLAG_MSAA_4X_HINT: int
|
|
580
|
+
FLAG_VSYNC_HINT: int
|
|
581
|
+
FLAG_WINDOW_ALWAYS_RUN: int
|
|
582
|
+
FLAG_WINDOW_HIDDEN: int
|
|
583
|
+
FLAG_WINDOW_HIGHDPI: int
|
|
584
|
+
FLAG_WINDOW_MAXIMIZED: int
|
|
585
|
+
FLAG_WINDOW_MINIMIZED: int
|
|
586
|
+
FLAG_WINDOW_MOUSE_PASSTHROUGH: int
|
|
587
|
+
FLAG_WINDOW_RESIZABLE: int
|
|
588
|
+
FLAG_WINDOW_TOPMOST: int
|
|
589
|
+
FLAG_WINDOW_TRANSPARENT: int
|
|
590
|
+
FLAG_WINDOW_UNDECORATED: int
|
|
591
|
+
FLAG_WINDOW_UNFOCUSED: int
|
|
592
|
+
FONT_BITMAP: int
|
|
593
|
+
FONT_DEFAULT: int
|
|
594
|
+
FONT_SDF: int
|
|
595
|
+
def Fade(color: Color|list|tuple,alpha: float,) -> Color:
|
|
596
|
+
"""Get color with alpha applied, alpha goes from 0.0f to 1.0f."""
|
|
597
|
+
...
|
|
598
|
+
def FileExists(fileName: bytes,) -> bool:
|
|
599
|
+
"""Check if file exists."""
|
|
600
|
+
...
|
|
601
|
+
def FloatEquals(x: float,y: float,) -> int:
|
|
602
|
+
"""."""
|
|
603
|
+
...
|
|
604
|
+
GAMEPAD_AXIS_LEFT_TRIGGER: int
|
|
605
|
+
GAMEPAD_AXIS_LEFT_X: int
|
|
606
|
+
GAMEPAD_AXIS_LEFT_Y: int
|
|
607
|
+
GAMEPAD_AXIS_RIGHT_TRIGGER: int
|
|
608
|
+
GAMEPAD_AXIS_RIGHT_X: int
|
|
609
|
+
GAMEPAD_AXIS_RIGHT_Y: int
|
|
610
|
+
GAMEPAD_BUTTON_LEFT_FACE_DOWN: int
|
|
611
|
+
GAMEPAD_BUTTON_LEFT_FACE_LEFT: int
|
|
612
|
+
GAMEPAD_BUTTON_LEFT_FACE_RIGHT: int
|
|
613
|
+
GAMEPAD_BUTTON_LEFT_FACE_UP: int
|
|
614
|
+
GAMEPAD_BUTTON_LEFT_THUMB: int
|
|
615
|
+
GAMEPAD_BUTTON_LEFT_TRIGGER_1: int
|
|
616
|
+
GAMEPAD_BUTTON_LEFT_TRIGGER_2: int
|
|
617
|
+
GAMEPAD_BUTTON_MIDDLE: int
|
|
618
|
+
GAMEPAD_BUTTON_MIDDLE_LEFT: int
|
|
619
|
+
GAMEPAD_BUTTON_MIDDLE_RIGHT: int
|
|
620
|
+
GAMEPAD_BUTTON_RIGHT_FACE_DOWN: int
|
|
621
|
+
GAMEPAD_BUTTON_RIGHT_FACE_LEFT: int
|
|
622
|
+
GAMEPAD_BUTTON_RIGHT_FACE_RIGHT: int
|
|
623
|
+
GAMEPAD_BUTTON_RIGHT_FACE_UP: int
|
|
624
|
+
GAMEPAD_BUTTON_RIGHT_THUMB: int
|
|
625
|
+
GAMEPAD_BUTTON_RIGHT_TRIGGER_1: int
|
|
626
|
+
GAMEPAD_BUTTON_RIGHT_TRIGGER_2: int
|
|
627
|
+
GAMEPAD_BUTTON_UNKNOWN: int
|
|
628
|
+
GESTURE_DOUBLETAP: int
|
|
629
|
+
GESTURE_DRAG: int
|
|
630
|
+
GESTURE_HOLD: int
|
|
631
|
+
GESTURE_NONE: int
|
|
632
|
+
GESTURE_PINCH_IN: int
|
|
633
|
+
GESTURE_PINCH_OUT: int
|
|
634
|
+
GESTURE_SWIPE_DOWN: int
|
|
635
|
+
GESTURE_SWIPE_LEFT: int
|
|
636
|
+
GESTURE_SWIPE_RIGHT: int
|
|
637
|
+
GESTURE_SWIPE_UP: int
|
|
638
|
+
GESTURE_TAP: int
|
|
639
|
+
GROUP_PADDING: int
|
|
640
|
+
def GenImageCellular(width: int,height: int,tileSize: int,) -> Image:
|
|
641
|
+
"""Generate image: cellular algorithm, bigger tileSize means bigger cells."""
|
|
642
|
+
...
|
|
643
|
+
def GenImageChecked(width: int,height: int,checksX: int,checksY: int,col1: Color|list|tuple,col2: Color|list|tuple,) -> Image:
|
|
644
|
+
"""Generate image: checked."""
|
|
645
|
+
...
|
|
646
|
+
def GenImageColor(width: int,height: int,color: Color|list|tuple,) -> Image:
|
|
647
|
+
"""Generate image: plain color."""
|
|
648
|
+
...
|
|
649
|
+
def GenImageFontAtlas(glyphs: Any|list|tuple,glyphRecs: Any|list|tuple,glyphCount: int,fontSize: int,padding: int,packMethod: int,) -> Image:
|
|
650
|
+
"""Generate image font atlas using chars info."""
|
|
651
|
+
...
|
|
652
|
+
def GenImageGradientLinear(width: int,height: int,direction: int,start: Color|list|tuple,end: Color|list|tuple,) -> Image:
|
|
653
|
+
"""Generate image: linear gradient, direction in degrees [0..360], 0=Vertical gradient."""
|
|
654
|
+
...
|
|
655
|
+
def GenImageGradientRadial(width: int,height: int,density: float,inner: Color|list|tuple,outer: Color|list|tuple,) -> Image:
|
|
656
|
+
"""Generate image: radial gradient."""
|
|
657
|
+
...
|
|
658
|
+
def GenImageGradientSquare(width: int,height: int,density: float,inner: Color|list|tuple,outer: Color|list|tuple,) -> Image:
|
|
659
|
+
"""Generate image: square gradient."""
|
|
660
|
+
...
|
|
661
|
+
def GenImagePerlinNoise(width: int,height: int,offsetX: int,offsetY: int,scale: float,) -> Image:
|
|
662
|
+
"""Generate image: perlin noise."""
|
|
663
|
+
...
|
|
664
|
+
def GenImageText(width: int,height: int,text: bytes,) -> Image:
|
|
665
|
+
"""Generate image: grayscale image from text data."""
|
|
666
|
+
...
|
|
667
|
+
def GenImageWhiteNoise(width: int,height: int,factor: float,) -> Image:
|
|
668
|
+
"""Generate image: white noise."""
|
|
669
|
+
...
|
|
670
|
+
def GenMeshCone(radius: float,height: float,slices: int,) -> Mesh:
|
|
671
|
+
"""Generate cone/pyramid mesh."""
|
|
672
|
+
...
|
|
673
|
+
def GenMeshCube(width: float,height: float,length: float,) -> Mesh:
|
|
674
|
+
"""Generate cuboid mesh."""
|
|
675
|
+
...
|
|
676
|
+
def GenMeshCubicmap(cubicmap: Image|list|tuple,cubeSize: Vector3|list|tuple,) -> Mesh:
|
|
677
|
+
"""Generate cubes-based map mesh from image data."""
|
|
678
|
+
...
|
|
679
|
+
def GenMeshCylinder(radius: float,height: float,slices: int,) -> Mesh:
|
|
680
|
+
"""Generate cylinder mesh."""
|
|
681
|
+
...
|
|
682
|
+
def GenMeshHeightmap(heightmap: Image|list|tuple,size: Vector3|list|tuple,) -> Mesh:
|
|
683
|
+
"""Generate heightmap mesh from image data."""
|
|
684
|
+
...
|
|
685
|
+
def GenMeshHemiSphere(radius: float,rings: int,slices: int,) -> Mesh:
|
|
686
|
+
"""Generate half-sphere mesh (no bottom cap)."""
|
|
687
|
+
...
|
|
688
|
+
def GenMeshKnot(radius: float,size: float,radSeg: int,sides: int,) -> Mesh:
|
|
689
|
+
"""Generate trefoil knot mesh."""
|
|
690
|
+
...
|
|
691
|
+
def GenMeshPlane(width: float,length: float,resX: int,resZ: int,) -> Mesh:
|
|
692
|
+
"""Generate plane mesh (with subdivisions)."""
|
|
693
|
+
...
|
|
694
|
+
def GenMeshPoly(sides: int,radius: float,) -> Mesh:
|
|
695
|
+
"""Generate polygonal mesh."""
|
|
696
|
+
...
|
|
697
|
+
def GenMeshSphere(radius: float,rings: int,slices: int,) -> Mesh:
|
|
698
|
+
"""Generate sphere mesh (standard sphere)."""
|
|
699
|
+
...
|
|
700
|
+
def GenMeshTangents(mesh: Any|list|tuple,) -> None:
|
|
701
|
+
"""Compute mesh tangents."""
|
|
702
|
+
...
|
|
703
|
+
def GenMeshTorus(radius: float,size: float,radSeg: int,sides: int,) -> Mesh:
|
|
704
|
+
"""Generate torus mesh."""
|
|
705
|
+
...
|
|
706
|
+
def GenTextureMipmaps(texture: Any|list|tuple,) -> None:
|
|
707
|
+
"""Generate GPU mipmaps for a texture."""
|
|
708
|
+
...
|
|
709
|
+
def GetApplicationDirectory() -> bytes:
|
|
710
|
+
"""Get the directory of the running application (uses static string)."""
|
|
711
|
+
...
|
|
712
|
+
def GetCameraMatrix(camera: Camera3D|list|tuple,) -> Matrix:
|
|
713
|
+
"""Get camera transform matrix (view matrix)."""
|
|
714
|
+
...
|
|
715
|
+
def GetCameraMatrix2D(camera: Camera2D|list|tuple,) -> Matrix:
|
|
716
|
+
"""Get camera 2d transform matrix."""
|
|
717
|
+
...
|
|
718
|
+
def GetCharPressed() -> int:
|
|
719
|
+
"""Get char pressed (unicode), call it multiple times for chars queued, returns 0 when the queue is empty."""
|
|
720
|
+
...
|
|
721
|
+
def GetClipboardImage() -> Image:
|
|
722
|
+
"""Get clipboard image content."""
|
|
723
|
+
...
|
|
724
|
+
def GetClipboardText() -> bytes:
|
|
725
|
+
"""Get clipboard text content."""
|
|
726
|
+
...
|
|
727
|
+
def GetCodepoint(text: bytes,codepointSize: Any,) -> int:
|
|
728
|
+
"""Get next codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure."""
|
|
729
|
+
...
|
|
730
|
+
def GetCodepointCount(text: bytes,) -> int:
|
|
731
|
+
"""Get total number of codepoints in a UTF-8 encoded string."""
|
|
732
|
+
...
|
|
733
|
+
def GetCodepointNext(text: bytes,codepointSize: Any,) -> int:
|
|
734
|
+
"""Get next codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure."""
|
|
735
|
+
...
|
|
736
|
+
def GetCodepointPrevious(text: bytes,codepointSize: Any,) -> int:
|
|
737
|
+
"""Get previous codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure."""
|
|
738
|
+
...
|
|
739
|
+
def GetCollisionRec(rec1: Rectangle|list|tuple,rec2: Rectangle|list|tuple,) -> Rectangle:
|
|
740
|
+
"""Get collision rectangle for two rectangles collision."""
|
|
741
|
+
...
|
|
742
|
+
def GetColor(hexValue: int,) -> Color:
|
|
743
|
+
"""Get Color structure from hexadecimal value."""
|
|
744
|
+
...
|
|
745
|
+
def GetCurrentMonitor() -> int:
|
|
746
|
+
"""Get current monitor where window is placed."""
|
|
747
|
+
...
|
|
748
|
+
def GetDirectoryPath(filePath: bytes,) -> bytes:
|
|
749
|
+
"""Get full path for a given fileName with path (uses static string)."""
|
|
750
|
+
...
|
|
751
|
+
def GetFPS() -> int:
|
|
752
|
+
"""Get current FPS."""
|
|
753
|
+
...
|
|
754
|
+
def GetFileExtension(fileName: bytes,) -> bytes:
|
|
755
|
+
"""Get pointer to extension for a filename string (includes dot: '.png')."""
|
|
756
|
+
...
|
|
757
|
+
def GetFileLength(fileName: bytes,) -> int:
|
|
758
|
+
"""Get file length in bytes (NOTE: GetFileSize() conflicts with windows.h)."""
|
|
759
|
+
...
|
|
760
|
+
def GetFileModTime(fileName: bytes,) -> int:
|
|
761
|
+
"""Get file modification time (last write time)."""
|
|
762
|
+
...
|
|
763
|
+
def GetFileName(filePath: bytes,) -> bytes:
|
|
764
|
+
"""Get pointer to filename for a path string."""
|
|
765
|
+
...
|
|
766
|
+
def GetFileNameWithoutExt(filePath: bytes,) -> bytes:
|
|
767
|
+
"""Get filename string without extension (uses static string)."""
|
|
768
|
+
...
|
|
769
|
+
def GetFontDefault() -> Font:
|
|
770
|
+
"""Get the default Font."""
|
|
771
|
+
...
|
|
772
|
+
def GetFrameTime() -> float:
|
|
773
|
+
"""Get time in seconds for last frame drawn (delta time)."""
|
|
774
|
+
...
|
|
775
|
+
def GetGamepadAxisCount(gamepad: int,) -> int:
|
|
776
|
+
"""Get gamepad axis count for a gamepad."""
|
|
777
|
+
...
|
|
778
|
+
def GetGamepadAxisMovement(gamepad: int,axis: int,) -> float:
|
|
779
|
+
"""Get axis movement value for a gamepad axis."""
|
|
780
|
+
...
|
|
781
|
+
def GetGamepadButtonPressed() -> int:
|
|
782
|
+
"""Get the last gamepad button pressed."""
|
|
783
|
+
...
|
|
784
|
+
def GetGamepadName(gamepad: int,) -> bytes:
|
|
785
|
+
"""Get gamepad internal name id."""
|
|
786
|
+
...
|
|
787
|
+
def GetGestureDetected() -> int:
|
|
788
|
+
"""Get latest detected gesture."""
|
|
789
|
+
...
|
|
790
|
+
def GetGestureDragAngle() -> float:
|
|
791
|
+
"""Get gesture drag angle."""
|
|
792
|
+
...
|
|
793
|
+
def GetGestureDragVector() -> Vector2:
|
|
794
|
+
"""Get gesture drag vector."""
|
|
795
|
+
...
|
|
796
|
+
def GetGestureHoldDuration() -> float:
|
|
797
|
+
"""Get gesture hold time in seconds."""
|
|
798
|
+
...
|
|
799
|
+
def GetGesturePinchAngle() -> float:
|
|
800
|
+
"""Get gesture pinch angle."""
|
|
801
|
+
...
|
|
802
|
+
def GetGesturePinchVector() -> Vector2:
|
|
803
|
+
"""Get gesture pinch delta."""
|
|
804
|
+
...
|
|
805
|
+
def GetGlyphAtlasRec(font: Font|list|tuple,codepoint: int,) -> Rectangle:
|
|
806
|
+
"""Get glyph rectangle in font atlas for a codepoint (unicode character), fallback to '?' if not found."""
|
|
807
|
+
...
|
|
808
|
+
def GetGlyphIndex(font: Font|list|tuple,codepoint: int,) -> int:
|
|
809
|
+
"""Get glyph index position in font for a codepoint (unicode character), fallback to '?' if not found."""
|
|
810
|
+
...
|
|
811
|
+
def GetGlyphInfo(font: Font|list|tuple,codepoint: int,) -> GlyphInfo:
|
|
812
|
+
"""Get glyph font info data for a codepoint (unicode character), fallback to '?' if not found."""
|
|
813
|
+
...
|
|
814
|
+
def GetImageAlphaBorder(image: Image|list|tuple,threshold: float,) -> Rectangle:
|
|
815
|
+
"""Get image alpha border rectangle."""
|
|
816
|
+
...
|
|
817
|
+
def GetImageColor(image: Image|list|tuple,x: int,y: int,) -> Color:
|
|
818
|
+
"""Get image pixel color at (x, y) position."""
|
|
819
|
+
...
|
|
820
|
+
def GetKeyPressed() -> int:
|
|
821
|
+
"""Get key pressed (keycode), call it multiple times for keys queued, returns 0 when the queue is empty."""
|
|
822
|
+
...
|
|
823
|
+
def GetMasterVolume() -> float:
|
|
824
|
+
"""Get master volume (listener)."""
|
|
825
|
+
...
|
|
826
|
+
def GetMeshBoundingBox(mesh: Mesh|list|tuple,) -> BoundingBox:
|
|
827
|
+
"""Compute mesh bounding box limits."""
|
|
828
|
+
...
|
|
829
|
+
def GetModelBoundingBox(model: Model|list|tuple,) -> BoundingBox:
|
|
830
|
+
"""Compute model bounding box limits (considers all meshes)."""
|
|
831
|
+
...
|
|
832
|
+
def GetMonitorCount() -> int:
|
|
833
|
+
"""Get number of connected monitors."""
|
|
834
|
+
...
|
|
835
|
+
def GetMonitorHeight(monitor: int,) -> int:
|
|
836
|
+
"""Get specified monitor height (current video mode used by monitor)."""
|
|
837
|
+
...
|
|
838
|
+
def GetMonitorName(monitor: int,) -> bytes:
|
|
839
|
+
"""Get the human-readable, UTF-8 encoded name of the specified monitor."""
|
|
840
|
+
...
|
|
841
|
+
def GetMonitorPhysicalHeight(monitor: int,) -> int:
|
|
842
|
+
"""Get specified monitor physical height in millimetres."""
|
|
843
|
+
...
|
|
844
|
+
def GetMonitorPhysicalWidth(monitor: int,) -> int:
|
|
845
|
+
"""Get specified monitor physical width in millimetres."""
|
|
846
|
+
...
|
|
847
|
+
def GetMonitorPosition(monitor: int,) -> Vector2:
|
|
848
|
+
"""Get specified monitor position."""
|
|
849
|
+
...
|
|
850
|
+
def GetMonitorRefreshRate(monitor: int,) -> int:
|
|
851
|
+
"""Get specified monitor refresh rate."""
|
|
852
|
+
...
|
|
853
|
+
def GetMonitorWidth(monitor: int,) -> int:
|
|
854
|
+
"""Get specified monitor width (current video mode used by monitor)."""
|
|
855
|
+
...
|
|
856
|
+
def GetMouseDelta() -> Vector2:
|
|
857
|
+
"""Get mouse delta between frames."""
|
|
858
|
+
...
|
|
859
|
+
def GetMousePosition() -> Vector2:
|
|
860
|
+
"""Get mouse position XY."""
|
|
861
|
+
...
|
|
862
|
+
def GetMouseWheelMove() -> float:
|
|
863
|
+
"""Get mouse wheel movement for X or Y, whichever is larger."""
|
|
864
|
+
...
|
|
865
|
+
def GetMouseWheelMoveV() -> Vector2:
|
|
866
|
+
"""Get mouse wheel movement for both X and Y."""
|
|
867
|
+
...
|
|
868
|
+
def GetMouseX() -> int:
|
|
869
|
+
"""Get mouse position X."""
|
|
870
|
+
...
|
|
871
|
+
def GetMouseY() -> int:
|
|
872
|
+
"""Get mouse position Y."""
|
|
873
|
+
...
|
|
874
|
+
def GetMusicTimeLength(music: Music|list|tuple,) -> float:
|
|
875
|
+
"""Get music time length (in seconds)."""
|
|
876
|
+
...
|
|
877
|
+
def GetMusicTimePlayed(music: Music|list|tuple,) -> float:
|
|
878
|
+
"""Get current music time played (in seconds)."""
|
|
879
|
+
...
|
|
880
|
+
@deprecated("Raylib no longer recommends the use of Physac library")
|
|
881
|
+
def GetPhysicsBodiesCount() -> int:
|
|
882
|
+
"""Returns the current amount of created physics bodies."""
|
|
883
|
+
...
|
|
884
|
+
@deprecated("Raylib no longer recommends the use of Physac library")
|
|
885
|
+
def GetPhysicsBody(index: int,) -> Any:
|
|
886
|
+
"""Returns a physics body of the bodies pool at a specific index."""
|
|
887
|
+
...
|
|
888
|
+
@deprecated("Raylib no longer recommends the use of Physac library")
|
|
889
|
+
def GetPhysicsShapeType(index: int,) -> int:
|
|
890
|
+
"""Returns the physics body shape type (PHYSICS_CIRCLE or PHYSICS_POLYGON)."""
|
|
891
|
+
...
|
|
892
|
+
@deprecated("Raylib no longer recommends the use of Physac library")
|
|
893
|
+
def GetPhysicsShapeVertex(body: Any|list|tuple,vertex: int,) -> Vector2:
|
|
894
|
+
"""Returns transformed position of a body shape (body position + vertex transformed position)."""
|
|
895
|
+
...
|
|
896
|
+
@deprecated("Raylib no longer recommends the use of Physac library")
|
|
897
|
+
def GetPhysicsShapeVerticesCount(index: int,) -> int:
|
|
898
|
+
"""Returns the amount of vertices of a physics body shape."""
|
|
899
|
+
...
|
|
900
|
+
def GetPixelColor(srcPtr: Any,format: int,) -> Color:
|
|
901
|
+
"""Get Color from a source pixel pointer of certain format."""
|
|
902
|
+
...
|
|
903
|
+
def GetPixelDataSize(width: int,height: int,format: int,) -> int:
|
|
904
|
+
"""Get pixel data size in bytes for certain format."""
|
|
905
|
+
...
|
|
906
|
+
def GetPrevDirectoryPath(dirPath: bytes,) -> bytes:
|
|
907
|
+
"""Get previous directory path for a given path (uses static string)."""
|
|
908
|
+
...
|
|
909
|
+
def GetRandomValue(min_0: int,max_1: int,) -> int:
|
|
910
|
+
"""Get a random value between min and max (both included)."""
|
|
911
|
+
...
|
|
912
|
+
def GetRayCollisionBox(ray: Ray|list|tuple,box: BoundingBox|list|tuple,) -> RayCollision:
|
|
913
|
+
"""Get collision info between ray and box."""
|
|
914
|
+
...
|
|
915
|
+
def GetRayCollisionMesh(ray: Ray|list|tuple,mesh: Mesh|list|tuple,transform: Matrix|list|tuple,) -> RayCollision:
|
|
916
|
+
"""Get collision info between ray and mesh."""
|
|
917
|
+
...
|
|
918
|
+
def GetRayCollisionQuad(ray: Ray|list|tuple,p1: Vector3|list|tuple,p2: Vector3|list|tuple,p3: Vector3|list|tuple,p4: Vector3|list|tuple,) -> RayCollision:
|
|
919
|
+
"""Get collision info between ray and quad."""
|
|
920
|
+
...
|
|
921
|
+
def GetRayCollisionSphere(ray: Ray|list|tuple,center: Vector3|list|tuple,radius: float,) -> RayCollision:
|
|
922
|
+
"""Get collision info between ray and sphere."""
|
|
923
|
+
...
|
|
924
|
+
def GetRayCollisionTriangle(ray: Ray|list|tuple,p1: Vector3|list|tuple,p2: Vector3|list|tuple,p3: Vector3|list|tuple,) -> RayCollision:
|
|
925
|
+
"""Get collision info between ray and triangle."""
|
|
926
|
+
...
|
|
927
|
+
def GetRenderHeight() -> int:
|
|
928
|
+
"""Get current render height (it considers HiDPI)."""
|
|
929
|
+
...
|
|
930
|
+
def GetRenderWidth() -> int:
|
|
931
|
+
"""Get current render width (it considers HiDPI)."""
|
|
932
|
+
...
|
|
933
|
+
def GetScreenHeight() -> int:
|
|
934
|
+
"""Get current screen height."""
|
|
935
|
+
...
|
|
936
|
+
def GetScreenToWorld2D(position: Vector2|list|tuple,camera: Camera2D|list|tuple,) -> Vector2:
|
|
937
|
+
"""Get the world space position for a 2d camera screen space position."""
|
|
938
|
+
...
|
|
939
|
+
def GetScreenToWorldRay(position: Vector2|list|tuple,camera: Camera3D|list|tuple,) -> Ray:
|
|
940
|
+
"""Get a ray trace from screen position (i.e mouse)."""
|
|
941
|
+
...
|
|
942
|
+
def GetScreenToWorldRayEx(position: Vector2|list|tuple,camera: Camera3D|list|tuple,width: int,height: int,) -> Ray:
|
|
943
|
+
"""Get a ray trace from screen position (i.e mouse) in a viewport."""
|
|
944
|
+
...
|
|
945
|
+
def GetScreenWidth() -> int:
|
|
946
|
+
"""Get current screen width."""
|
|
947
|
+
...
|
|
948
|
+
def GetShaderLocation(shader: Shader|list|tuple,uniformName: bytes,) -> int:
|
|
949
|
+
"""Get shader uniform location."""
|
|
950
|
+
...
|
|
951
|
+
def GetShaderLocationAttrib(shader: Shader|list|tuple,attribName: bytes,) -> int:
|
|
952
|
+
"""Get shader attribute location."""
|
|
953
|
+
...
|
|
954
|
+
def GetShapesTexture() -> Texture:
|
|
955
|
+
"""Get texture that is used for shapes drawing."""
|
|
956
|
+
...
|
|
957
|
+
def GetShapesTextureRectangle() -> Rectangle:
|
|
958
|
+
"""Get texture source rectangle that is used for shapes drawing."""
|
|
959
|
+
...
|
|
960
|
+
def GetSplinePointBasis(p1: Vector2|list|tuple,p2: Vector2|list|tuple,p3: Vector2|list|tuple,p4: Vector2|list|tuple,t: float,) -> Vector2:
|
|
961
|
+
"""Get (evaluate) spline point: B-Spline."""
|
|
962
|
+
...
|
|
963
|
+
def GetSplinePointBezierCubic(p1: Vector2|list|tuple,c2: Vector2|list|tuple,c3: Vector2|list|tuple,p4: Vector2|list|tuple,t: float,) -> Vector2:
|
|
964
|
+
"""Get (evaluate) spline point: Cubic Bezier."""
|
|
965
|
+
...
|
|
966
|
+
def GetSplinePointBezierQuad(p1: Vector2|list|tuple,c2: Vector2|list|tuple,p3: Vector2|list|tuple,t: float,) -> Vector2:
|
|
967
|
+
"""Get (evaluate) spline point: Quadratic Bezier."""
|
|
968
|
+
...
|
|
969
|
+
def GetSplinePointCatmullRom(p1: Vector2|list|tuple,p2: Vector2|list|tuple,p3: Vector2|list|tuple,p4: Vector2|list|tuple,t: float,) -> Vector2:
|
|
970
|
+
"""Get (evaluate) spline point: Catmull-Rom."""
|
|
971
|
+
...
|
|
972
|
+
def GetSplinePointLinear(startPos: Vector2|list|tuple,endPos: Vector2|list|tuple,t: float,) -> Vector2:
|
|
973
|
+
"""Get (evaluate) spline point: Linear."""
|
|
974
|
+
...
|
|
975
|
+
def GetTime() -> float:
|
|
976
|
+
"""Get elapsed time in seconds since InitWindow()."""
|
|
977
|
+
...
|
|
978
|
+
def GetTouchPointCount() -> int:
|
|
979
|
+
"""Get number of touch points."""
|
|
980
|
+
...
|
|
981
|
+
def GetTouchPointId(index: int,) -> int:
|
|
982
|
+
"""Get touch point identifier for given index."""
|
|
983
|
+
...
|
|
984
|
+
def GetTouchPosition(index: int,) -> Vector2:
|
|
985
|
+
"""Get touch position XY for a touch point index (relative to screen size)."""
|
|
986
|
+
...
|
|
987
|
+
def GetTouchX() -> int:
|
|
988
|
+
"""Get touch position X for touch point 0 (relative to screen size)."""
|
|
989
|
+
...
|
|
990
|
+
def GetTouchY() -> int:
|
|
991
|
+
"""Get touch position Y for touch point 0 (relative to screen size)."""
|
|
992
|
+
...
|
|
993
|
+
def GetWindowHandle() -> Any:
|
|
994
|
+
"""Get native window handle."""
|
|
995
|
+
...
|
|
996
|
+
def GetWindowPosition() -> Vector2:
|
|
997
|
+
"""Get window position XY on monitor."""
|
|
998
|
+
...
|
|
999
|
+
def GetWindowScaleDPI() -> Vector2:
|
|
1000
|
+
"""Get window scale DPI factor."""
|
|
1001
|
+
...
|
|
1002
|
+
def GetWorkingDirectory() -> bytes:
|
|
1003
|
+
"""Get current working directory (uses static string)."""
|
|
1004
|
+
...
|
|
1005
|
+
def GetWorldToScreen(position: Vector3|list|tuple,camera: Camera3D|list|tuple,) -> Vector2:
|
|
1006
|
+
"""Get the screen space position for a 3d world space position."""
|
|
1007
|
+
...
|
|
1008
|
+
def GetWorldToScreen2D(position: Vector2|list|tuple,camera: Camera2D|list|tuple,) -> Vector2:
|
|
1009
|
+
"""Get the screen space position for a 2d camera world space position."""
|
|
1010
|
+
...
|
|
1011
|
+
def GetWorldToScreenEx(position: Vector3|list|tuple,camera: Camera3D|list|tuple,width: int,height: int,) -> Vector2:
|
|
1012
|
+
"""Get size position for a 3d world space position."""
|
|
1013
|
+
...
|
|
1014
|
+
def GuiButton(bounds: Rectangle|list|tuple,text: bytes,) -> int:
|
|
1015
|
+
"""Button control, returns true when clicked."""
|
|
1016
|
+
...
|
|
1017
|
+
def GuiCheckBox(bounds: Rectangle|list|tuple,text: bytes,checked: Any,) -> int:
|
|
1018
|
+
"""Check Box control, returns true when active."""
|
|
1019
|
+
...
|
|
1020
|
+
def GuiColorBarAlpha(bounds: Rectangle|list|tuple,text: bytes,alpha: Any,) -> int:
|
|
1021
|
+
"""Color Bar Alpha control."""
|
|
1022
|
+
...
|
|
1023
|
+
def GuiColorBarHue(bounds: Rectangle|list|tuple,text: bytes,value: Any,) -> int:
|
|
1024
|
+
"""Color Bar Hue control."""
|
|
1025
|
+
...
|
|
1026
|
+
def GuiColorPanel(bounds: Rectangle|list|tuple,text: bytes,color: Any|list|tuple,) -> int:
|
|
1027
|
+
"""Color Panel control."""
|
|
1028
|
+
...
|
|
1029
|
+
def GuiColorPanelHSV(bounds: Rectangle|list|tuple,text: bytes,colorHsv: Any|list|tuple,) -> int:
|
|
1030
|
+
"""Color Panel control that updates Hue-Saturation-Value color value, used by GuiColorPickerHSV()."""
|
|
1031
|
+
...
|
|
1032
|
+
def GuiColorPicker(bounds: Rectangle|list|tuple,text: bytes,color: Any|list|tuple,) -> int:
|
|
1033
|
+
"""Color Picker control (multiple color controls)."""
|
|
1034
|
+
...
|
|
1035
|
+
def GuiColorPickerHSV(bounds: Rectangle|list|tuple,text: bytes,colorHsv: Any|list|tuple,) -> int:
|
|
1036
|
+
"""Color Picker control that avoids conversion to RGB on each call (multiple color controls)."""
|
|
1037
|
+
...
|
|
1038
|
+
def GuiComboBox(bounds: Rectangle|list|tuple,text: bytes,active: Any,) -> int:
|
|
1039
|
+
"""Combo Box control."""
|
|
1040
|
+
...
|
|
1041
|
+
def GuiDisable() -> None:
|
|
1042
|
+
"""Disable gui controls (global state)."""
|
|
1043
|
+
...
|
|
1044
|
+
def GuiDisableTooltip() -> None:
|
|
1045
|
+
"""Disable gui tooltips (global state)."""
|
|
1046
|
+
...
|
|
1047
|
+
def GuiDrawIcon(iconId: int,posX: int,posY: int,pixelSize: int,color: Color|list|tuple,) -> None:
|
|
1048
|
+
"""Draw icon using pixel size at specified position."""
|
|
1049
|
+
...
|
|
1050
|
+
def GuiDropdownBox(bounds: Rectangle|list|tuple,text: bytes,active: Any,editMode: bool,) -> int:
|
|
1051
|
+
"""Dropdown Box control."""
|
|
1052
|
+
...
|
|
1053
|
+
def GuiDummyRec(bounds: Rectangle|list|tuple,text: bytes,) -> int:
|
|
1054
|
+
"""Dummy control for placeholders."""
|
|
1055
|
+
...
|
|
1056
|
+
def GuiEnable() -> None:
|
|
1057
|
+
"""Enable gui controls (global state)."""
|
|
1058
|
+
...
|
|
1059
|
+
def GuiEnableTooltip() -> None:
|
|
1060
|
+
"""Enable gui tooltips (global state)."""
|
|
1061
|
+
...
|
|
1062
|
+
def GuiGetFont() -> Font:
|
|
1063
|
+
"""Get gui custom font (global state)."""
|
|
1064
|
+
...
|
|
1065
|
+
def GuiGetIcons() -> Any:
|
|
1066
|
+
"""Get raygui icons data pointer."""
|
|
1067
|
+
...
|
|
1068
|
+
def GuiGetState() -> int:
|
|
1069
|
+
"""Get gui state (global state)."""
|
|
1070
|
+
...
|
|
1071
|
+
def GuiGetStyle(control: int,property: int,) -> int:
|
|
1072
|
+
"""Get one style property."""
|
|
1073
|
+
...
|
|
1074
|
+
def GuiGrid(bounds: Rectangle|list|tuple,text: bytes,spacing: float,subdivs: int,mouseCell: Any|list|tuple,) -> int:
|
|
1075
|
+
"""Grid control."""
|
|
1076
|
+
...
|
|
1077
|
+
def GuiGroupBox(bounds: Rectangle|list|tuple,text: bytes,) -> int:
|
|
1078
|
+
"""Group Box control with text name."""
|
|
1079
|
+
...
|
|
1080
|
+
def GuiIconText(iconId: int,text: bytes,) -> bytes:
|
|
1081
|
+
"""Get text with icon id prepended (if supported)."""
|
|
1082
|
+
...
|
|
1083
|
+
def GuiIsLocked() -> bool:
|
|
1084
|
+
"""Check if gui is locked (global state)."""
|
|
1085
|
+
...
|
|
1086
|
+
def GuiLabel(bounds: Rectangle|list|tuple,text: bytes,) -> int:
|
|
1087
|
+
"""Label control."""
|
|
1088
|
+
...
|
|
1089
|
+
def GuiLabelButton(bounds: Rectangle|list|tuple,text: bytes,) -> int:
|
|
1090
|
+
"""Label button control, returns true when clicked."""
|
|
1091
|
+
...
|
|
1092
|
+
def GuiLine(bounds: Rectangle|list|tuple,text: bytes,) -> int:
|
|
1093
|
+
"""Line separator control, could contain text."""
|
|
1094
|
+
...
|
|
1095
|
+
def GuiListView(bounds: Rectangle|list|tuple,text: bytes,scrollIndex: Any,active: Any,) -> int:
|
|
1096
|
+
"""List View control."""
|
|
1097
|
+
...
|
|
1098
|
+
def GuiListViewEx(bounds: Rectangle|list|tuple,text: list[bytes],count: int,scrollIndex: Any,active: Any,focus: Any,) -> int:
|
|
1099
|
+
"""List View with extended parameters."""
|
|
1100
|
+
...
|
|
1101
|
+
def GuiLoadIcons(fileName: bytes,loadIconsName: bool,) -> list[bytes]:
|
|
1102
|
+
"""Load raygui icons file (.rgi) into internal icons data."""
|
|
1103
|
+
...
|
|
1104
|
+
def GuiLoadStyle(fileName: bytes,) -> None:
|
|
1105
|
+
"""Load style file over global style variable (.rgs)."""
|
|
1106
|
+
...
|
|
1107
|
+
def GuiLoadStyleDefault() -> None:
|
|
1108
|
+
"""Load style default over global style."""
|
|
1109
|
+
...
|
|
1110
|
+
def GuiLock() -> None:
|
|
1111
|
+
"""Lock gui controls (global state)."""
|
|
1112
|
+
...
|
|
1113
|
+
def GuiMessageBox(bounds: Rectangle|list|tuple,title: bytes,message: bytes,buttons: bytes,) -> int:
|
|
1114
|
+
"""Message Box control, displays a message."""
|
|
1115
|
+
...
|
|
1116
|
+
def GuiPanel(bounds: Rectangle|list|tuple,text: bytes,) -> int:
|
|
1117
|
+
"""Panel control, useful to group controls."""
|
|
1118
|
+
...
|
|
1119
|
+
def GuiProgressBar(bounds: Rectangle|list|tuple,textLeft: bytes,textRight: bytes,value: Any,minValue: float,maxValue: float,) -> int:
|
|
1120
|
+
"""Progress Bar control."""
|
|
1121
|
+
...
|
|
1122
|
+
def GuiScrollPanel(bounds: Rectangle|list|tuple,text: bytes,content: Rectangle|list|tuple,scroll: Any|list|tuple,view: Any|list|tuple,) -> int:
|
|
1123
|
+
"""Scroll Panel control."""
|
|
1124
|
+
...
|
|
1125
|
+
def GuiSetAlpha(alpha: float,) -> None:
|
|
1126
|
+
"""Set gui controls alpha (global state), alpha goes from 0.0f to 1.0f."""
|
|
1127
|
+
...
|
|
1128
|
+
def GuiSetFont(font: Font|list|tuple,) -> None:
|
|
1129
|
+
"""Set gui custom font (global state)."""
|
|
1130
|
+
...
|
|
1131
|
+
def GuiSetIconScale(scale: int,) -> None:
|
|
1132
|
+
"""Set default icon drawing size."""
|
|
1133
|
+
...
|
|
1134
|
+
def GuiSetState(state: int,) -> None:
|
|
1135
|
+
"""Set gui state (global state)."""
|
|
1136
|
+
...
|
|
1137
|
+
def GuiSetStyle(control: int,property: int,value: int,) -> None:
|
|
1138
|
+
"""Set one style property."""
|
|
1139
|
+
...
|
|
1140
|
+
def GuiSetTooltip(tooltip: bytes,) -> None:
|
|
1141
|
+
"""Set tooltip string."""
|
|
1142
|
+
...
|
|
1143
|
+
def GuiSlider(bounds: Rectangle|list|tuple,textLeft: bytes,textRight: bytes,value: Any,minValue: float,maxValue: float,) -> int:
|
|
1144
|
+
"""Slider control."""
|
|
1145
|
+
...
|
|
1146
|
+
def GuiSliderBar(bounds: Rectangle|list|tuple,textLeft: bytes,textRight: bytes,value: Any,minValue: float,maxValue: float,) -> int:
|
|
1147
|
+
"""Slider Bar control."""
|
|
1148
|
+
...
|
|
1149
|
+
def GuiSpinner(bounds: Rectangle|list|tuple,text: bytes,value: Any,minValue: int,maxValue: int,editMode: bool,) -> int:
|
|
1150
|
+
"""Spinner control."""
|
|
1151
|
+
...
|
|
1152
|
+
def GuiStatusBar(bounds: Rectangle|list|tuple,text: bytes,) -> int:
|
|
1153
|
+
"""Status Bar control, shows info text."""
|
|
1154
|
+
...
|
|
1155
|
+
def GuiTabBar(bounds: Rectangle|list|tuple,text: list[bytes],count: int,active: Any,) -> int:
|
|
1156
|
+
"""Tab Bar control, returns TAB to be closed or -1."""
|
|
1157
|
+
...
|
|
1158
|
+
def GuiTextBox(bounds: Rectangle|list|tuple,text: bytes,textSize: int,editMode: bool,) -> int:
|
|
1159
|
+
"""Text Box control, updates input text."""
|
|
1160
|
+
...
|
|
1161
|
+
def GuiTextInputBox(bounds: Rectangle|list|tuple,title: bytes,message: bytes,buttons: bytes,text: bytes,textMaxSize: int,secretViewActive: Any,) -> int:
|
|
1162
|
+
"""Text Input Box control, ask for text, supports secret."""
|
|
1163
|
+
...
|
|
1164
|
+
def GuiToggle(bounds: Rectangle|list|tuple,text: bytes,active: Any,) -> int:
|
|
1165
|
+
"""Toggle Button control."""
|
|
1166
|
+
...
|
|
1167
|
+
def GuiToggleGroup(bounds: Rectangle|list|tuple,text: bytes,active: Any,) -> int:
|
|
1168
|
+
"""Toggle Group control."""
|
|
1169
|
+
...
|
|
1170
|
+
def GuiToggleSlider(bounds: Rectangle|list|tuple,text: bytes,active: Any,) -> int:
|
|
1171
|
+
"""Toggle Slider control."""
|
|
1172
|
+
...
|
|
1173
|
+
def GuiUnlock() -> None:
|
|
1174
|
+
"""Unlock gui controls (global state)."""
|
|
1175
|
+
...
|
|
1176
|
+
def GuiValueBox(bounds: Rectangle|list|tuple,text: bytes,value: Any,minValue: int,maxValue: int,editMode: bool,) -> int:
|
|
1177
|
+
"""Value Box control, updates input text with numbers."""
|
|
1178
|
+
...
|
|
1179
|
+
def GuiValueBoxFloat(bounds: Rectangle|list|tuple,text: bytes,textValue: bytes,value: Any,editMode: bool,) -> int:
|
|
1180
|
+
"""Value box control for float values."""
|
|
1181
|
+
...
|
|
1182
|
+
def GuiWindowBox(bounds: Rectangle|list|tuple,title: bytes,) -> int:
|
|
1183
|
+
"""Window Box control, shows a window that can be closed."""
|
|
1184
|
+
...
|
|
1185
|
+
HUEBAR_PADDING: int
|
|
1186
|
+
HUEBAR_SELECTOR_HEIGHT: int
|
|
1187
|
+
HUEBAR_SELECTOR_OVERFLOW: int
|
|
1188
|
+
HUEBAR_WIDTH: int
|
|
1189
|
+
def HideCursor() -> None:
|
|
1190
|
+
"""Hides cursor."""
|
|
1191
|
+
...
|
|
1192
|
+
ICON_1UP: int
|
|
1193
|
+
ICON_229: int
|
|
1194
|
+
ICON_230: int
|
|
1195
|
+
ICON_231: int
|
|
1196
|
+
ICON_232: int
|
|
1197
|
+
ICON_233: int
|
|
1198
|
+
ICON_234: int
|
|
1199
|
+
ICON_235: int
|
|
1200
|
+
ICON_236: int
|
|
1201
|
+
ICON_237: int
|
|
1202
|
+
ICON_238: int
|
|
1203
|
+
ICON_239: int
|
|
1204
|
+
ICON_240: int
|
|
1205
|
+
ICON_241: int
|
|
1206
|
+
ICON_242: int
|
|
1207
|
+
ICON_243: int
|
|
1208
|
+
ICON_244: int
|
|
1209
|
+
ICON_245: int
|
|
1210
|
+
ICON_246: int
|
|
1211
|
+
ICON_247: int
|
|
1212
|
+
ICON_248: int
|
|
1213
|
+
ICON_249: int
|
|
1214
|
+
ICON_250: int
|
|
1215
|
+
ICON_251: int
|
|
1216
|
+
ICON_252: int
|
|
1217
|
+
ICON_253: int
|
|
1218
|
+
ICON_254: int
|
|
1219
|
+
ICON_255: int
|
|
1220
|
+
ICON_ALARM: int
|
|
1221
|
+
ICON_ALPHA_CLEAR: int
|
|
1222
|
+
ICON_ALPHA_MULTIPLY: int
|
|
1223
|
+
ICON_ARROW_DOWN: int
|
|
1224
|
+
ICON_ARROW_DOWN_FILL: int
|
|
1225
|
+
ICON_ARROW_LEFT: int
|
|
1226
|
+
ICON_ARROW_LEFT_FILL: int
|
|
1227
|
+
ICON_ARROW_RIGHT: int
|
|
1228
|
+
ICON_ARROW_RIGHT_FILL: int
|
|
1229
|
+
ICON_ARROW_UP: int
|
|
1230
|
+
ICON_ARROW_UP_FILL: int
|
|
1231
|
+
ICON_AUDIO: int
|
|
1232
|
+
ICON_BIN: int
|
|
1233
|
+
ICON_BOX: int
|
|
1234
|
+
ICON_BOX_BOTTOM: int
|
|
1235
|
+
ICON_BOX_BOTTOM_LEFT: int
|
|
1236
|
+
ICON_BOX_BOTTOM_RIGHT: int
|
|
1237
|
+
ICON_BOX_CENTER: int
|
|
1238
|
+
ICON_BOX_CIRCLE_MASK: int
|
|
1239
|
+
ICON_BOX_CONCENTRIC: int
|
|
1240
|
+
ICON_BOX_CORNERS_BIG: int
|
|
1241
|
+
ICON_BOX_CORNERS_SMALL: int
|
|
1242
|
+
ICON_BOX_DOTS_BIG: int
|
|
1243
|
+
ICON_BOX_DOTS_SMALL: int
|
|
1244
|
+
ICON_BOX_GRID: int
|
|
1245
|
+
ICON_BOX_GRID_BIG: int
|
|
1246
|
+
ICON_BOX_LEFT: int
|
|
1247
|
+
ICON_BOX_MULTISIZE: int
|
|
1248
|
+
ICON_BOX_RIGHT: int
|
|
1249
|
+
ICON_BOX_TOP: int
|
|
1250
|
+
ICON_BOX_TOP_LEFT: int
|
|
1251
|
+
ICON_BOX_TOP_RIGHT: int
|
|
1252
|
+
ICON_BREAKPOINT_OFF: int
|
|
1253
|
+
ICON_BREAKPOINT_ON: int
|
|
1254
|
+
ICON_BRUSH_CLASSIC: int
|
|
1255
|
+
ICON_BRUSH_PAINTER: int
|
|
1256
|
+
ICON_BURGER_MENU: int
|
|
1257
|
+
ICON_CAMERA: int
|
|
1258
|
+
ICON_CASE_SENSITIVE: int
|
|
1259
|
+
ICON_CLOCK: int
|
|
1260
|
+
ICON_COIN: int
|
|
1261
|
+
ICON_COLOR_BUCKET: int
|
|
1262
|
+
ICON_COLOR_PICKER: int
|
|
1263
|
+
ICON_CORNER: int
|
|
1264
|
+
ICON_CPU: int
|
|
1265
|
+
ICON_CRACK: int
|
|
1266
|
+
ICON_CRACK_POINTS: int
|
|
1267
|
+
ICON_CROP: int
|
|
1268
|
+
ICON_CROP_ALPHA: int
|
|
1269
|
+
ICON_CROSS: int
|
|
1270
|
+
ICON_CROSSLINE: int
|
|
1271
|
+
ICON_CROSS_SMALL: int
|
|
1272
|
+
ICON_CUBE: int
|
|
1273
|
+
ICON_CUBE_FACE_BACK: int
|
|
1274
|
+
ICON_CUBE_FACE_BOTTOM: int
|
|
1275
|
+
ICON_CUBE_FACE_FRONT: int
|
|
1276
|
+
ICON_CUBE_FACE_LEFT: int
|
|
1277
|
+
ICON_CUBE_FACE_RIGHT: int
|
|
1278
|
+
ICON_CUBE_FACE_TOP: int
|
|
1279
|
+
ICON_CURSOR_CLASSIC: int
|
|
1280
|
+
ICON_CURSOR_HAND: int
|
|
1281
|
+
ICON_CURSOR_MOVE: int
|
|
1282
|
+
ICON_CURSOR_MOVE_FILL: int
|
|
1283
|
+
ICON_CURSOR_POINTER: int
|
|
1284
|
+
ICON_CURSOR_SCALE: int
|
|
1285
|
+
ICON_CURSOR_SCALE_FILL: int
|
|
1286
|
+
ICON_CURSOR_SCALE_LEFT: int
|
|
1287
|
+
ICON_CURSOR_SCALE_LEFT_FILL: int
|
|
1288
|
+
ICON_CURSOR_SCALE_RIGHT: int
|
|
1289
|
+
ICON_CURSOR_SCALE_RIGHT_FILL: int
|
|
1290
|
+
ICON_DEMON: int
|
|
1291
|
+
ICON_DITHERING: int
|
|
1292
|
+
ICON_DOOR: int
|
|
1293
|
+
ICON_EMPTYBOX: int
|
|
1294
|
+
ICON_EMPTYBOX_SMALL: int
|
|
1295
|
+
ICON_EXIT: int
|
|
1296
|
+
ICON_EXPLOSION: int
|
|
1297
|
+
ICON_EYE_OFF: int
|
|
1298
|
+
ICON_EYE_ON: int
|
|
1299
|
+
ICON_FILE: int
|
|
1300
|
+
ICON_FILETYPE_ALPHA: int
|
|
1301
|
+
ICON_FILETYPE_AUDIO: int
|
|
1302
|
+
ICON_FILETYPE_BINARY: int
|
|
1303
|
+
ICON_FILETYPE_HOME: int
|
|
1304
|
+
ICON_FILETYPE_IMAGE: int
|
|
1305
|
+
ICON_FILETYPE_INFO: int
|
|
1306
|
+
ICON_FILETYPE_PLAY: int
|
|
1307
|
+
ICON_FILETYPE_TEXT: int
|
|
1308
|
+
ICON_FILETYPE_VIDEO: int
|
|
1309
|
+
ICON_FILE_ADD: int
|
|
1310
|
+
ICON_FILE_COPY: int
|
|
1311
|
+
ICON_FILE_CUT: int
|
|
1312
|
+
ICON_FILE_DELETE: int
|
|
1313
|
+
ICON_FILE_EXPORT: int
|
|
1314
|
+
ICON_FILE_NEW: int
|
|
1315
|
+
ICON_FILE_OPEN: int
|
|
1316
|
+
ICON_FILE_PASTE: int
|
|
1317
|
+
ICON_FILE_SAVE: int
|
|
1318
|
+
ICON_FILE_SAVE_CLASSIC: int
|
|
1319
|
+
ICON_FILTER: int
|
|
1320
|
+
ICON_FILTER_BILINEAR: int
|
|
1321
|
+
ICON_FILTER_POINT: int
|
|
1322
|
+
ICON_FILTER_TOP: int
|
|
1323
|
+
ICON_FOLDER: int
|
|
1324
|
+
ICON_FOLDER_ADD: int
|
|
1325
|
+
ICON_FOLDER_FILE_OPEN: int
|
|
1326
|
+
ICON_FOLDER_OPEN: int
|
|
1327
|
+
ICON_FOLDER_SAVE: int
|
|
1328
|
+
ICON_FOUR_BOXES: int
|
|
1329
|
+
ICON_FX: int
|
|
1330
|
+
ICON_GEAR: int
|
|
1331
|
+
ICON_GEAR_BIG: int
|
|
1332
|
+
ICON_GEAR_EX: int
|
|
1333
|
+
ICON_GRID: int
|
|
1334
|
+
ICON_GRID_FILL: int
|
|
1335
|
+
ICON_HAND_POINTER: int
|
|
1336
|
+
ICON_HEART: int
|
|
1337
|
+
ICON_HELP: int
|
|
1338
|
+
ICON_HELP_BOX: int
|
|
1339
|
+
ICON_HEX: int
|
|
1340
|
+
ICON_HIDPI: int
|
|
1341
|
+
ICON_HOT: int
|
|
1342
|
+
ICON_HOUSE: int
|
|
1343
|
+
ICON_INFO: int
|
|
1344
|
+
ICON_INFO_BOX: int
|
|
1345
|
+
ICON_KEY: int
|
|
1346
|
+
ICON_LASER: int
|
|
1347
|
+
ICON_LAYERS: int
|
|
1348
|
+
ICON_LAYERS2: int
|
|
1349
|
+
ICON_LAYERS_ISO: int
|
|
1350
|
+
ICON_LAYERS_VISIBLE: int
|
|
1351
|
+
ICON_LENS: int
|
|
1352
|
+
ICON_LENS_BIG: int
|
|
1353
|
+
ICON_LIFE_BARS: int
|
|
1354
|
+
ICON_LINK: int
|
|
1355
|
+
ICON_LINK_BOXES: int
|
|
1356
|
+
ICON_LINK_BROKE: int
|
|
1357
|
+
ICON_LINK_MULTI: int
|
|
1358
|
+
ICON_LINK_NET: int
|
|
1359
|
+
ICON_LOCK_CLOSE: int
|
|
1360
|
+
ICON_LOCK_OPEN: int
|
|
1361
|
+
ICON_MAGNET: int
|
|
1362
|
+
ICON_MAILBOX: int
|
|
1363
|
+
ICON_MAPS: int
|
|
1364
|
+
ICON_MIPMAPS: int
|
|
1365
|
+
ICON_MLAYERS: int
|
|
1366
|
+
ICON_MODE_2D: int
|
|
1367
|
+
ICON_MODE_3D: int
|
|
1368
|
+
ICON_MONITOR: int
|
|
1369
|
+
ICON_MUTATE: int
|
|
1370
|
+
ICON_MUTATE_FILL: int
|
|
1371
|
+
ICON_NONE: int
|
|
1372
|
+
ICON_NOTEBOOK: int
|
|
1373
|
+
ICON_OK_TICK: int
|
|
1374
|
+
ICON_PENCIL: int
|
|
1375
|
+
ICON_PENCIL_BIG: int
|
|
1376
|
+
ICON_PHOTO_CAMERA: int
|
|
1377
|
+
ICON_PHOTO_CAMERA_FLASH: int
|
|
1378
|
+
ICON_PLAYER: int
|
|
1379
|
+
ICON_PLAYER_JUMP: int
|
|
1380
|
+
ICON_PLAYER_NEXT: int
|
|
1381
|
+
ICON_PLAYER_PAUSE: int
|
|
1382
|
+
ICON_PLAYER_PLAY: int
|
|
1383
|
+
ICON_PLAYER_PLAY_BACK: int
|
|
1384
|
+
ICON_PLAYER_PREVIOUS: int
|
|
1385
|
+
ICON_PLAYER_RECORD: int
|
|
1386
|
+
ICON_PLAYER_STOP: int
|
|
1387
|
+
ICON_POT: int
|
|
1388
|
+
ICON_PRINTER: int
|
|
1389
|
+
ICON_PRIORITY: int
|
|
1390
|
+
ICON_REDO: int
|
|
1391
|
+
ICON_REDO_FILL: int
|
|
1392
|
+
ICON_REG_EXP: int
|
|
1393
|
+
ICON_REPEAT: int
|
|
1394
|
+
ICON_REPEAT_FILL: int
|
|
1395
|
+
ICON_REREDO: int
|
|
1396
|
+
ICON_REREDO_FILL: int
|
|
1397
|
+
ICON_RESIZE: int
|
|
1398
|
+
ICON_RESTART: int
|
|
1399
|
+
ICON_ROM: int
|
|
1400
|
+
ICON_ROTATE: int
|
|
1401
|
+
ICON_ROTATE_FILL: int
|
|
1402
|
+
ICON_RUBBER: int
|
|
1403
|
+
ICON_SAND_TIMER: int
|
|
1404
|
+
ICON_SCALE: int
|
|
1405
|
+
ICON_SHIELD: int
|
|
1406
|
+
ICON_SHUFFLE: int
|
|
1407
|
+
ICON_SHUFFLE_FILL: int
|
|
1408
|
+
ICON_SPECIAL: int
|
|
1409
|
+
ICON_SQUARE_TOGGLE: int
|
|
1410
|
+
ICON_STAR: int
|
|
1411
|
+
ICON_STEP_INTO: int
|
|
1412
|
+
ICON_STEP_OUT: int
|
|
1413
|
+
ICON_STEP_OVER: int
|
|
1414
|
+
ICON_SUITCASE: int
|
|
1415
|
+
ICON_SUITCASE_ZIP: int
|
|
1416
|
+
ICON_SYMMETRY: int
|
|
1417
|
+
ICON_SYMMETRY_HORIZONTAL: int
|
|
1418
|
+
ICON_SYMMETRY_VERTICAL: int
|
|
1419
|
+
ICON_TARGET: int
|
|
1420
|
+
ICON_TARGET_BIG: int
|
|
1421
|
+
ICON_TARGET_BIG_FILL: int
|
|
1422
|
+
ICON_TARGET_MOVE: int
|
|
1423
|
+
ICON_TARGET_MOVE_FILL: int
|
|
1424
|
+
ICON_TARGET_POINT: int
|
|
1425
|
+
ICON_TARGET_SMALL: int
|
|
1426
|
+
ICON_TARGET_SMALL_FILL: int
|
|
1427
|
+
ICON_TEXT_A: int
|
|
1428
|
+
ICON_TEXT_NOTES: int
|
|
1429
|
+
ICON_TEXT_POPUP: int
|
|
1430
|
+
ICON_TEXT_T: int
|
|
1431
|
+
ICON_TOOLS: int
|
|
1432
|
+
ICON_UNDO: int
|
|
1433
|
+
ICON_UNDO_FILL: int
|
|
1434
|
+
ICON_VERTICAL_BARS: int
|
|
1435
|
+
ICON_VERTICAL_BARS_FILL: int
|
|
1436
|
+
ICON_WARNING: int
|
|
1437
|
+
ICON_WATER_DROP: int
|
|
1438
|
+
ICON_WAVE: int
|
|
1439
|
+
ICON_WAVE_SINUS: int
|
|
1440
|
+
ICON_WAVE_SQUARE: int
|
|
1441
|
+
ICON_WAVE_TRIANGULAR: int
|
|
1442
|
+
ICON_WINDOW: int
|
|
1443
|
+
ICON_ZOOM_ALL: int
|
|
1444
|
+
ICON_ZOOM_BIG: int
|
|
1445
|
+
ICON_ZOOM_CENTER: int
|
|
1446
|
+
ICON_ZOOM_MEDIUM: int
|
|
1447
|
+
ICON_ZOOM_SMALL: int
|
|
1448
|
+
def ImageAlphaClear(image: Any|list|tuple,color: Color|list|tuple,threshold: float,) -> None:
|
|
1449
|
+
"""Clear alpha channel to desired color."""
|
|
1450
|
+
...
|
|
1451
|
+
def ImageAlphaCrop(image: Any|list|tuple,threshold: float,) -> None:
|
|
1452
|
+
"""Crop image depending on alpha value."""
|
|
1453
|
+
...
|
|
1454
|
+
def ImageAlphaMask(image: Any|list|tuple,alphaMask: Image|list|tuple,) -> None:
|
|
1455
|
+
"""Apply alpha mask to image."""
|
|
1456
|
+
...
|
|
1457
|
+
def ImageAlphaPremultiply(image: Any|list|tuple,) -> None:
|
|
1458
|
+
"""Premultiply alpha channel."""
|
|
1459
|
+
...
|
|
1460
|
+
def ImageBlurGaussian(image: Any|list|tuple,blurSize: int,) -> None:
|
|
1461
|
+
"""Apply Gaussian blur using a box blur approximation."""
|
|
1462
|
+
...
|
|
1463
|
+
def ImageClearBackground(dst: Any|list|tuple,color: Color|list|tuple,) -> None:
|
|
1464
|
+
"""Clear image background with given color."""
|
|
1465
|
+
...
|
|
1466
|
+
def ImageColorBrightness(image: Any|list|tuple,brightness: int,) -> None:
|
|
1467
|
+
"""Modify image color: brightness (-255 to 255)."""
|
|
1468
|
+
...
|
|
1469
|
+
def ImageColorContrast(image: Any|list|tuple,contrast: float,) -> None:
|
|
1470
|
+
"""Modify image color: contrast (-100 to 100)."""
|
|
1471
|
+
...
|
|
1472
|
+
def ImageColorGrayscale(image: Any|list|tuple,) -> None:
|
|
1473
|
+
"""Modify image color: grayscale."""
|
|
1474
|
+
...
|
|
1475
|
+
def ImageColorInvert(image: Any|list|tuple,) -> None:
|
|
1476
|
+
"""Modify image color: invert."""
|
|
1477
|
+
...
|
|
1478
|
+
def ImageColorReplace(image: Any|list|tuple,color: Color|list|tuple,replace: Color|list|tuple,) -> None:
|
|
1479
|
+
"""Modify image color: replace color."""
|
|
1480
|
+
...
|
|
1481
|
+
def ImageColorTint(image: Any|list|tuple,color: Color|list|tuple,) -> None:
|
|
1482
|
+
"""Modify image color: tint."""
|
|
1483
|
+
...
|
|
1484
|
+
def ImageCopy(image: Image|list|tuple,) -> Image:
|
|
1485
|
+
"""Create an image duplicate (useful for transformations)."""
|
|
1486
|
+
...
|
|
1487
|
+
def ImageCrop(image: Any|list|tuple,crop: Rectangle|list|tuple,) -> None:
|
|
1488
|
+
"""Crop an image to a defined rectangle."""
|
|
1489
|
+
...
|
|
1490
|
+
def ImageDither(image: Any|list|tuple,rBpp: int,gBpp: int,bBpp: int,aBpp: int,) -> None:
|
|
1491
|
+
"""Dither image data to 16bpp or lower (Floyd-Steinberg dithering)."""
|
|
1492
|
+
...
|
|
1493
|
+
def ImageDraw(dst: Any|list|tuple,src: Image|list|tuple,srcRec: Rectangle|list|tuple,dstRec: Rectangle|list|tuple,tint: Color|list|tuple,) -> None:
|
|
1494
|
+
"""Draw a source image within a destination image (tint applied to source)."""
|
|
1495
|
+
...
|
|
1496
|
+
def ImageDrawCircle(dst: Any|list|tuple,centerX: int,centerY: int,radius: int,color: Color|list|tuple,) -> None:
|
|
1497
|
+
"""Draw a filled circle within an image."""
|
|
1498
|
+
...
|
|
1499
|
+
def ImageDrawCircleLines(dst: Any|list|tuple,centerX: int,centerY: int,radius: int,color: Color|list|tuple,) -> None:
|
|
1500
|
+
"""Draw circle outline within an image."""
|
|
1501
|
+
...
|
|
1502
|
+
def ImageDrawCircleLinesV(dst: Any|list|tuple,center: Vector2|list|tuple,radius: int,color: Color|list|tuple,) -> None:
|
|
1503
|
+
"""Draw circle outline within an image (Vector version)."""
|
|
1504
|
+
...
|
|
1505
|
+
def ImageDrawCircleV(dst: Any|list|tuple,center: Vector2|list|tuple,radius: int,color: Color|list|tuple,) -> None:
|
|
1506
|
+
"""Draw a filled circle within an image (Vector version)."""
|
|
1507
|
+
...
|
|
1508
|
+
def ImageDrawLine(dst: Any|list|tuple,startPosX: int,startPosY: int,endPosX: int,endPosY: int,color: Color|list|tuple,) -> None:
|
|
1509
|
+
"""Draw line within an image."""
|
|
1510
|
+
...
|
|
1511
|
+
def ImageDrawLineEx(dst: Any|list|tuple,start: Vector2|list|tuple,end: Vector2|list|tuple,thick: int,color: Color|list|tuple,) -> None:
|
|
1512
|
+
"""Draw a line defining thickness within an image."""
|
|
1513
|
+
...
|
|
1514
|
+
def ImageDrawLineV(dst: Any|list|tuple,start: Vector2|list|tuple,end: Vector2|list|tuple,color: Color|list|tuple,) -> None:
|
|
1515
|
+
"""Draw line within an image (Vector version)."""
|
|
1516
|
+
...
|
|
1517
|
+
def ImageDrawPixel(dst: Any|list|tuple,posX: int,posY: int,color: Color|list|tuple,) -> None:
|
|
1518
|
+
"""Draw pixel within an image."""
|
|
1519
|
+
...
|
|
1520
|
+
def ImageDrawPixelV(dst: Any|list|tuple,position: Vector2|list|tuple,color: Color|list|tuple,) -> None:
|
|
1521
|
+
"""Draw pixel within an image (Vector version)."""
|
|
1522
|
+
...
|
|
1523
|
+
def ImageDrawRectangle(dst: Any|list|tuple,posX: int,posY: int,width: int,height: int,color: Color|list|tuple,) -> None:
|
|
1524
|
+
"""Draw rectangle within an image."""
|
|
1525
|
+
...
|
|
1526
|
+
def ImageDrawRectangleLines(dst: Any|list|tuple,rec: Rectangle|list|tuple,thick: int,color: Color|list|tuple,) -> None:
|
|
1527
|
+
"""Draw rectangle lines within an image."""
|
|
1528
|
+
...
|
|
1529
|
+
def ImageDrawRectangleRec(dst: Any|list|tuple,rec: Rectangle|list|tuple,color: Color|list|tuple,) -> None:
|
|
1530
|
+
"""Draw rectangle within an image."""
|
|
1531
|
+
...
|
|
1532
|
+
def ImageDrawRectangleV(dst: Any|list|tuple,position: Vector2|list|tuple,size: Vector2|list|tuple,color: Color|list|tuple,) -> None:
|
|
1533
|
+
"""Draw rectangle within an image (Vector version)."""
|
|
1534
|
+
...
|
|
1535
|
+
def ImageDrawText(dst: Any|list|tuple,text: bytes,posX: int,posY: int,fontSize: int,color: Color|list|tuple,) -> None:
|
|
1536
|
+
"""Draw text (using default font) within an image (destination)."""
|
|
1537
|
+
...
|
|
1538
|
+
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:
|
|
1539
|
+
"""Draw text (custom sprite font) within an image (destination)."""
|
|
1540
|
+
...
|
|
1541
|
+
def ImageDrawTriangle(dst: Any|list|tuple,v1: Vector2|list|tuple,v2: Vector2|list|tuple,v3: Vector2|list|tuple,color: Color|list|tuple,) -> None:
|
|
1542
|
+
"""Draw triangle within an image."""
|
|
1543
|
+
...
|
|
1544
|
+
def ImageDrawTriangleEx(dst: Any|list|tuple,v1: Vector2|list|tuple,v2: Vector2|list|tuple,v3: Vector2|list|tuple,c1: Color|list|tuple,c2: Color|list|tuple,c3: Color|list|tuple,) -> None:
|
|
1545
|
+
"""Draw triangle with interpolated colors within an image."""
|
|
1546
|
+
...
|
|
1547
|
+
def ImageDrawTriangleFan(dst: Any|list|tuple,points: Any|list|tuple,pointCount: int,color: Color|list|tuple,) -> None:
|
|
1548
|
+
"""Draw a triangle fan defined by points within an image (first vertex is the center)."""
|
|
1549
|
+
...
|
|
1550
|
+
def ImageDrawTriangleLines(dst: Any|list|tuple,v1: Vector2|list|tuple,v2: Vector2|list|tuple,v3: Vector2|list|tuple,color: Color|list|tuple,) -> None:
|
|
1551
|
+
"""Draw triangle outline within an image."""
|
|
1552
|
+
...
|
|
1553
|
+
def ImageDrawTriangleStrip(dst: Any|list|tuple,points: Any|list|tuple,pointCount: int,color: Color|list|tuple,) -> None:
|
|
1554
|
+
"""Draw a triangle strip defined by points within an image."""
|
|
1555
|
+
...
|
|
1556
|
+
def ImageFlipHorizontal(image: Any|list|tuple,) -> None:
|
|
1557
|
+
"""Flip image horizontally."""
|
|
1558
|
+
...
|
|
1559
|
+
def ImageFlipVertical(image: Any|list|tuple,) -> None:
|
|
1560
|
+
"""Flip image vertically."""
|
|
1561
|
+
...
|
|
1562
|
+
def ImageFormat(image: Any|list|tuple,newFormat: int,) -> None:
|
|
1563
|
+
"""Convert image data to desired format."""
|
|
1564
|
+
...
|
|
1565
|
+
def ImageFromChannel(image: Image|list|tuple,selectedChannel: int,) -> Image:
|
|
1566
|
+
"""Create an image from a selected channel of another image (GRAYSCALE)."""
|
|
1567
|
+
...
|
|
1568
|
+
def ImageFromImage(image: Image|list|tuple,rec: Rectangle|list|tuple,) -> Image:
|
|
1569
|
+
"""Create an image from another image piece."""
|
|
1570
|
+
...
|
|
1571
|
+
def ImageKernelConvolution(image: Any|list|tuple,kernel: Any,kernelSize: int,) -> None:
|
|
1572
|
+
"""Apply custom square convolution kernel to image."""
|
|
1573
|
+
...
|
|
1574
|
+
def ImageMipmaps(image: Any|list|tuple,) -> None:
|
|
1575
|
+
"""Compute all mipmap levels for a provided image."""
|
|
1576
|
+
...
|
|
1577
|
+
def ImageResize(image: Any|list|tuple,newWidth: int,newHeight: int,) -> None:
|
|
1578
|
+
"""Resize image (Bicubic scaling algorithm)."""
|
|
1579
|
+
...
|
|
1580
|
+
def ImageResizeCanvas(image: Any|list|tuple,newWidth: int,newHeight: int,offsetX: int,offsetY: int,fill: Color|list|tuple,) -> None:
|
|
1581
|
+
"""Resize canvas and fill with color."""
|
|
1582
|
+
...
|
|
1583
|
+
def ImageResizeNN(image: Any|list|tuple,newWidth: int,newHeight: int,) -> None:
|
|
1584
|
+
"""Resize image (Nearest-Neighbor scaling algorithm)."""
|
|
1585
|
+
...
|
|
1586
|
+
def ImageRotate(image: Any|list|tuple,degrees: int,) -> None:
|
|
1587
|
+
"""Rotate image by input angle in degrees (-359 to 359)."""
|
|
1588
|
+
...
|
|
1589
|
+
def ImageRotateCCW(image: Any|list|tuple,) -> None:
|
|
1590
|
+
"""Rotate image counter-clockwise 90deg."""
|
|
1591
|
+
...
|
|
1592
|
+
def ImageRotateCW(image: Any|list|tuple,) -> None:
|
|
1593
|
+
"""Rotate image clockwise 90deg."""
|
|
1594
|
+
...
|
|
1595
|
+
def ImageText(text: bytes,fontSize: int,color: Color|list|tuple,) -> Image:
|
|
1596
|
+
"""Create an image from text (default font)."""
|
|
1597
|
+
...
|
|
1598
|
+
def ImageTextEx(font: Font|list|tuple,text: bytes,fontSize: float,spacing: float,tint: Color|list|tuple,) -> Image:
|
|
1599
|
+
"""Create an image from text (custom sprite font)."""
|
|
1600
|
+
...
|
|
1601
|
+
def ImageToPOT(image: Any|list|tuple,fill: Color|list|tuple,) -> None:
|
|
1602
|
+
"""Convert image to POT (power-of-two)."""
|
|
1603
|
+
...
|
|
1604
|
+
def InitAudioDevice() -> None:
|
|
1605
|
+
"""Initialize audio device and context."""
|
|
1606
|
+
...
|
|
1607
|
+
@deprecated("Raylib no longer recommends the use of Physac library")
|
|
1608
|
+
def InitPhysics() -> None:
|
|
1609
|
+
"""Initializes physics values, pointers and creates physics loop thread."""
|
|
1610
|
+
...
|
|
1611
|
+
def InitWindow(width: int,height: int,title: bytes,) -> None:
|
|
1612
|
+
"""Initialize window and OpenGL context."""
|
|
1613
|
+
...
|
|
1614
|
+
def IsAudioDeviceReady() -> bool:
|
|
1615
|
+
"""Check if audio device has been initialized successfully."""
|
|
1616
|
+
...
|
|
1617
|
+
def IsAudioStreamPlaying(stream: AudioStream|list|tuple,) -> bool:
|
|
1618
|
+
"""Check if audio stream is playing."""
|
|
1619
|
+
...
|
|
1620
|
+
def IsAudioStreamProcessed(stream: AudioStream|list|tuple,) -> bool:
|
|
1621
|
+
"""Check if any audio stream buffers requires refill."""
|
|
1622
|
+
...
|
|
1623
|
+
def IsAudioStreamValid(stream: AudioStream|list|tuple,) -> bool:
|
|
1624
|
+
"""Checks if an audio stream is valid (buffers initialized)."""
|
|
1625
|
+
...
|
|
1626
|
+
def IsCursorHidden() -> bool:
|
|
1627
|
+
"""Check if cursor is not visible."""
|
|
1628
|
+
...
|
|
1629
|
+
def IsCursorOnScreen() -> bool:
|
|
1630
|
+
"""Check if cursor is on the screen."""
|
|
1631
|
+
...
|
|
1632
|
+
def IsFileDropped() -> bool:
|
|
1633
|
+
"""Check if a file has been dropped into window."""
|
|
1634
|
+
...
|
|
1635
|
+
def IsFileExtension(fileName: bytes,ext: bytes,) -> bool:
|
|
1636
|
+
"""Check file extension (including point: .png, .wav)."""
|
|
1637
|
+
...
|
|
1638
|
+
def IsFileNameValid(fileName: bytes,) -> bool:
|
|
1639
|
+
"""Check if fileName is valid for the platform/OS."""
|
|
1640
|
+
...
|
|
1641
|
+
def IsFontValid(font: Font|list|tuple,) -> bool:
|
|
1642
|
+
"""Check if a font is valid (font data loaded, WARNING: GPU texture not checked)."""
|
|
1643
|
+
...
|
|
1644
|
+
def IsGamepadAvailable(gamepad: int,) -> bool:
|
|
1645
|
+
"""Check if a gamepad is available."""
|
|
1646
|
+
...
|
|
1647
|
+
def IsGamepadButtonDown(gamepad: int,button: int,) -> bool:
|
|
1648
|
+
"""Check if a gamepad button is being pressed."""
|
|
1649
|
+
...
|
|
1650
|
+
def IsGamepadButtonPressed(gamepad: int,button: int,) -> bool:
|
|
1651
|
+
"""Check if a gamepad button has been pressed once."""
|
|
1652
|
+
...
|
|
1653
|
+
def IsGamepadButtonReleased(gamepad: int,button: int,) -> bool:
|
|
1654
|
+
"""Check if a gamepad button has been released once."""
|
|
1655
|
+
...
|
|
1656
|
+
def IsGamepadButtonUp(gamepad: int,button: int,) -> bool:
|
|
1657
|
+
"""Check if a gamepad button is NOT being pressed."""
|
|
1658
|
+
...
|
|
1659
|
+
def IsGestureDetected(gesture: int,) -> bool:
|
|
1660
|
+
"""Check if a gesture have been detected."""
|
|
1661
|
+
...
|
|
1662
|
+
def IsImageValid(image: Image|list|tuple,) -> bool:
|
|
1663
|
+
"""Check if an image is valid (data and parameters)."""
|
|
1664
|
+
...
|
|
1665
|
+
def IsKeyDown(key: int,) -> bool:
|
|
1666
|
+
"""Check if a key is being pressed."""
|
|
1667
|
+
...
|
|
1668
|
+
def IsKeyPressed(key: int,) -> bool:
|
|
1669
|
+
"""Check if a key has been pressed once."""
|
|
1670
|
+
...
|
|
1671
|
+
def IsKeyPressedRepeat(key: int,) -> bool:
|
|
1672
|
+
"""Check if a key has been pressed again."""
|
|
1673
|
+
...
|
|
1674
|
+
def IsKeyReleased(key: int,) -> bool:
|
|
1675
|
+
"""Check if a key has been released once."""
|
|
1676
|
+
...
|
|
1677
|
+
def IsKeyUp(key: int,) -> bool:
|
|
1678
|
+
"""Check if a key is NOT being pressed."""
|
|
1679
|
+
...
|
|
1680
|
+
def IsMaterialValid(material: Material|list|tuple,) -> bool:
|
|
1681
|
+
"""Check if a material is valid (shader assigned, map textures loaded in GPU)."""
|
|
1682
|
+
...
|
|
1683
|
+
def IsModelAnimationValid(model: Model|list|tuple,anim: ModelAnimation|list|tuple,) -> bool:
|
|
1684
|
+
"""Check model animation skeleton match."""
|
|
1685
|
+
...
|
|
1686
|
+
def IsModelValid(model: Model|list|tuple,) -> bool:
|
|
1687
|
+
"""Check if a model is valid (loaded in GPU, VAO/VBOs)."""
|
|
1688
|
+
...
|
|
1689
|
+
def IsMouseButtonDown(button: int,) -> bool:
|
|
1690
|
+
"""Check if a mouse button is being pressed."""
|
|
1691
|
+
...
|
|
1692
|
+
def IsMouseButtonPressed(button: int,) -> bool:
|
|
1693
|
+
"""Check if a mouse button has been pressed once."""
|
|
1694
|
+
...
|
|
1695
|
+
def IsMouseButtonReleased(button: int,) -> bool:
|
|
1696
|
+
"""Check if a mouse button has been released once."""
|
|
1697
|
+
...
|
|
1698
|
+
def IsMouseButtonUp(button: int,) -> bool:
|
|
1699
|
+
"""Check if a mouse button is NOT being pressed."""
|
|
1700
|
+
...
|
|
1701
|
+
def IsMusicStreamPlaying(music: Music|list|tuple,) -> bool:
|
|
1702
|
+
"""Check if music is playing."""
|
|
1703
|
+
...
|
|
1704
|
+
def IsMusicValid(music: Music|list|tuple,) -> bool:
|
|
1705
|
+
"""Checks if a music stream is valid (context and buffers initialized)."""
|
|
1706
|
+
...
|
|
1707
|
+
def IsPathFile(path: bytes,) -> bool:
|
|
1708
|
+
"""Check if a given path is a file or a directory."""
|
|
1709
|
+
...
|
|
1710
|
+
@deprecated("Raylib no longer recommends the use of Physac library")
|
|
1711
|
+
def IsPhysicsEnabled() -> bool:
|
|
1712
|
+
"""Returns true if physics thread is currently enabled."""
|
|
1713
|
+
...
|
|
1714
|
+
def IsRenderTextureValid(target: RenderTexture|list|tuple,) -> bool:
|
|
1715
|
+
"""Check if a render texture is valid (loaded in GPU)."""
|
|
1716
|
+
...
|
|
1717
|
+
def IsShaderValid(shader: Shader|list|tuple,) -> bool:
|
|
1718
|
+
"""Check if a shader is valid (loaded on GPU)."""
|
|
1719
|
+
...
|
|
1720
|
+
def IsSoundPlaying(sound: Sound|list|tuple,) -> bool:
|
|
1721
|
+
"""Check if a sound is currently playing."""
|
|
1722
|
+
...
|
|
1723
|
+
def IsSoundValid(sound: Sound|list|tuple,) -> bool:
|
|
1724
|
+
"""Checks if a sound is valid (data loaded and buffers initialized)."""
|
|
1725
|
+
...
|
|
1726
|
+
def IsTextureValid(texture: Texture|list|tuple,) -> bool:
|
|
1727
|
+
"""Check if a texture is valid (loaded in GPU)."""
|
|
1728
|
+
...
|
|
1729
|
+
def IsWaveValid(wave: Wave|list|tuple,) -> bool:
|
|
1730
|
+
"""Checks if wave data is valid (data loaded and parameters)."""
|
|
1731
|
+
...
|
|
1732
|
+
def IsWindowFocused() -> bool:
|
|
1733
|
+
"""Check if window is currently focused."""
|
|
1734
|
+
...
|
|
1735
|
+
def IsWindowFullscreen() -> bool:
|
|
1736
|
+
"""Check if window is currently fullscreen."""
|
|
1737
|
+
...
|
|
1738
|
+
def IsWindowHidden() -> bool:
|
|
1739
|
+
"""Check if window is currently hidden."""
|
|
1740
|
+
...
|
|
1741
|
+
def IsWindowMaximized() -> bool:
|
|
1742
|
+
"""Check if window is currently maximized."""
|
|
1743
|
+
...
|
|
1744
|
+
def IsWindowMinimized() -> bool:
|
|
1745
|
+
"""Check if window is currently minimized."""
|
|
1746
|
+
...
|
|
1747
|
+
def IsWindowReady() -> bool:
|
|
1748
|
+
"""Check if window has been initialized successfully."""
|
|
1749
|
+
...
|
|
1750
|
+
def IsWindowResized() -> bool:
|
|
1751
|
+
"""Check if window has been resized last frame."""
|
|
1752
|
+
...
|
|
1753
|
+
def IsWindowState(flag: int,) -> bool:
|
|
1754
|
+
"""Check if one specific window flag is enabled."""
|
|
1755
|
+
...
|
|
1756
|
+
KEY_A: int
|
|
1757
|
+
KEY_APOSTROPHE: int
|
|
1758
|
+
KEY_B: int
|
|
1759
|
+
KEY_BACK: int
|
|
1760
|
+
KEY_BACKSLASH: int
|
|
1761
|
+
KEY_BACKSPACE: int
|
|
1762
|
+
KEY_C: int
|
|
1763
|
+
KEY_CAPS_LOCK: int
|
|
1764
|
+
KEY_COMMA: int
|
|
1765
|
+
KEY_D: int
|
|
1766
|
+
KEY_DELETE: int
|
|
1767
|
+
KEY_DOWN: int
|
|
1768
|
+
KEY_E: int
|
|
1769
|
+
KEY_EIGHT: int
|
|
1770
|
+
KEY_END: int
|
|
1771
|
+
KEY_ENTER: int
|
|
1772
|
+
KEY_EQUAL: int
|
|
1773
|
+
KEY_ESCAPE: int
|
|
1774
|
+
KEY_F: int
|
|
1775
|
+
KEY_F1: int
|
|
1776
|
+
KEY_F10: int
|
|
1777
|
+
KEY_F11: int
|
|
1778
|
+
KEY_F12: int
|
|
1779
|
+
KEY_F2: int
|
|
1780
|
+
KEY_F3: int
|
|
1781
|
+
KEY_F4: int
|
|
1782
|
+
KEY_F5: int
|
|
1783
|
+
KEY_F6: int
|
|
1784
|
+
KEY_F7: int
|
|
1785
|
+
KEY_F8: int
|
|
1786
|
+
KEY_F9: int
|
|
1787
|
+
KEY_FIVE: int
|
|
1788
|
+
KEY_FOUR: int
|
|
1789
|
+
KEY_G: int
|
|
1790
|
+
KEY_GRAVE: int
|
|
1791
|
+
KEY_H: int
|
|
1792
|
+
KEY_HOME: int
|
|
1793
|
+
KEY_I: int
|
|
1794
|
+
KEY_INSERT: int
|
|
1795
|
+
KEY_J: int
|
|
1796
|
+
KEY_K: int
|
|
1797
|
+
KEY_KB_MENU: int
|
|
1798
|
+
KEY_KP_0: int
|
|
1799
|
+
KEY_KP_1: int
|
|
1800
|
+
KEY_KP_2: int
|
|
1801
|
+
KEY_KP_3: int
|
|
1802
|
+
KEY_KP_4: int
|
|
1803
|
+
KEY_KP_5: int
|
|
1804
|
+
KEY_KP_6: int
|
|
1805
|
+
KEY_KP_7: int
|
|
1806
|
+
KEY_KP_8: int
|
|
1807
|
+
KEY_KP_9: int
|
|
1808
|
+
KEY_KP_ADD: int
|
|
1809
|
+
KEY_KP_DECIMAL: int
|
|
1810
|
+
KEY_KP_DIVIDE: int
|
|
1811
|
+
KEY_KP_ENTER: int
|
|
1812
|
+
KEY_KP_EQUAL: int
|
|
1813
|
+
KEY_KP_MULTIPLY: int
|
|
1814
|
+
KEY_KP_SUBTRACT: int
|
|
1815
|
+
KEY_L: int
|
|
1816
|
+
KEY_LEFT: int
|
|
1817
|
+
KEY_LEFT_ALT: int
|
|
1818
|
+
KEY_LEFT_BRACKET: int
|
|
1819
|
+
KEY_LEFT_CONTROL: int
|
|
1820
|
+
KEY_LEFT_SHIFT: int
|
|
1821
|
+
KEY_LEFT_SUPER: int
|
|
1822
|
+
KEY_M: int
|
|
1823
|
+
KEY_MENU: int
|
|
1824
|
+
KEY_MINUS: int
|
|
1825
|
+
KEY_N: int
|
|
1826
|
+
KEY_NINE: int
|
|
1827
|
+
KEY_NULL: int
|
|
1828
|
+
KEY_NUM_LOCK: int
|
|
1829
|
+
KEY_O: int
|
|
1830
|
+
KEY_ONE: int
|
|
1831
|
+
KEY_P: int
|
|
1832
|
+
KEY_PAGE_DOWN: int
|
|
1833
|
+
KEY_PAGE_UP: int
|
|
1834
|
+
KEY_PAUSE: int
|
|
1835
|
+
KEY_PERIOD: int
|
|
1836
|
+
KEY_PRINT_SCREEN: int
|
|
1837
|
+
KEY_Q: int
|
|
1838
|
+
KEY_R: int
|
|
1839
|
+
KEY_RIGHT: int
|
|
1840
|
+
KEY_RIGHT_ALT: int
|
|
1841
|
+
KEY_RIGHT_BRACKET: int
|
|
1842
|
+
KEY_RIGHT_CONTROL: int
|
|
1843
|
+
KEY_RIGHT_SHIFT: int
|
|
1844
|
+
KEY_RIGHT_SUPER: int
|
|
1845
|
+
KEY_S: int
|
|
1846
|
+
KEY_SCROLL_LOCK: int
|
|
1847
|
+
KEY_SEMICOLON: int
|
|
1848
|
+
KEY_SEVEN: int
|
|
1849
|
+
KEY_SIX: int
|
|
1850
|
+
KEY_SLASH: int
|
|
1851
|
+
KEY_SPACE: int
|
|
1852
|
+
KEY_T: int
|
|
1853
|
+
KEY_TAB: int
|
|
1854
|
+
KEY_THREE: int
|
|
1855
|
+
KEY_TWO: int
|
|
1856
|
+
KEY_U: int
|
|
1857
|
+
KEY_UP: int
|
|
1858
|
+
KEY_V: int
|
|
1859
|
+
KEY_VOLUME_DOWN: int
|
|
1860
|
+
KEY_VOLUME_UP: int
|
|
1861
|
+
KEY_W: int
|
|
1862
|
+
KEY_X: int
|
|
1863
|
+
KEY_Y: int
|
|
1864
|
+
KEY_Z: int
|
|
1865
|
+
KEY_ZERO: int
|
|
1866
|
+
LABEL: int
|
|
1867
|
+
LINE_COLOR: int
|
|
1868
|
+
LISTVIEW: int
|
|
1869
|
+
LIST_ITEMS_BORDER_WIDTH: int
|
|
1870
|
+
LIST_ITEMS_HEIGHT: int
|
|
1871
|
+
LIST_ITEMS_SPACING: int
|
|
1872
|
+
LOG_ALL: int
|
|
1873
|
+
LOG_DEBUG: int
|
|
1874
|
+
LOG_ERROR: int
|
|
1875
|
+
LOG_FATAL: int
|
|
1876
|
+
LOG_INFO: int
|
|
1877
|
+
LOG_NONE: int
|
|
1878
|
+
LOG_TRACE: int
|
|
1879
|
+
LOG_WARNING: int
|
|
1880
|
+
def Lerp(start: float,end: float,amount: float,) -> float:
|
|
1881
|
+
"""."""
|
|
1882
|
+
...
|
|
1883
|
+
def LoadAudioStream(sampleRate: int,sampleSize: int,channels: int,) -> AudioStream:
|
|
1884
|
+
"""Load audio stream (to stream raw audio pcm data)."""
|
|
1885
|
+
...
|
|
1886
|
+
def LoadAutomationEventList(fileName: bytes,) -> AutomationEventList:
|
|
1887
|
+
"""Load automation events list from file, NULL for empty list, capacity = MAX_AUTOMATION_EVENTS."""
|
|
1888
|
+
...
|
|
1889
|
+
def LoadCodepoints(text: bytes,count: Any,) -> Any:
|
|
1890
|
+
"""Load all codepoints from a UTF-8 text string, codepoints count returned by parameter."""
|
|
1891
|
+
...
|
|
1892
|
+
def LoadDirectoryFiles(dirPath: bytes,) -> FilePathList:
|
|
1893
|
+
"""Load directory filepaths."""
|
|
1894
|
+
...
|
|
1895
|
+
def LoadDirectoryFilesEx(basePath: bytes,filter: bytes,scanSubdirs: bool,) -> FilePathList:
|
|
1896
|
+
"""Load directory filepaths with extension filtering and recursive directory scan. Use 'DIR' in the filter string to include directories in the result."""
|
|
1897
|
+
...
|
|
1898
|
+
def LoadDroppedFiles() -> FilePathList:
|
|
1899
|
+
"""Load dropped filepaths."""
|
|
1900
|
+
...
|
|
1901
|
+
def LoadFileData(fileName: bytes,dataSize: Any,) -> bytes:
|
|
1902
|
+
"""Load file data as byte array (read)."""
|
|
1903
|
+
...
|
|
1904
|
+
def LoadFileText(fileName: bytes,) -> bytes:
|
|
1905
|
+
"""Load text data from file (read), returns a '\0' terminated string."""
|
|
1906
|
+
...
|
|
1907
|
+
def LoadFont(fileName: bytes,) -> Font:
|
|
1908
|
+
"""Load font from file into GPU memory (VRAM)."""
|
|
1909
|
+
...
|
|
1910
|
+
def LoadFontData(fileData: bytes,dataSize: int,fontSize: int,codepoints: Any,codepointCount: int,type: int,) -> Any:
|
|
1911
|
+
"""Load font data for further use."""
|
|
1912
|
+
...
|
|
1913
|
+
def LoadFontEx(fileName: bytes,fontSize: int,codepoints: Any,codepointCount: int,) -> Font:
|
|
1914
|
+
"""Load font from file with extended parameters, use NULL for codepoints and 0 for codepointCount to load the default character set, font size is provided in pixels height."""
|
|
1915
|
+
...
|
|
1916
|
+
def LoadFontFromImage(image: Image|list|tuple,key: Color|list|tuple,firstChar: int,) -> Font:
|
|
1917
|
+
"""Load font from Image (XNA style)."""
|
|
1918
|
+
...
|
|
1919
|
+
def LoadFontFromMemory(fileType: bytes,fileData: bytes,dataSize: int,fontSize: int,codepoints: Any,codepointCount: int,) -> Font:
|
|
1920
|
+
"""Load font from memory buffer, fileType refers to extension: i.e. '.ttf'."""
|
|
1921
|
+
...
|
|
1922
|
+
def LoadImage(fileName: bytes,) -> Image:
|
|
1923
|
+
"""Load image from file into CPU memory (RAM)."""
|
|
1924
|
+
...
|
|
1925
|
+
def LoadImageAnim(fileName: bytes,frames: Any,) -> Image:
|
|
1926
|
+
"""Load image sequence from file (frames appended to image.data)."""
|
|
1927
|
+
...
|
|
1928
|
+
def LoadImageAnimFromMemory(fileType: bytes,fileData: bytes,dataSize: int,frames: Any,) -> Image:
|
|
1929
|
+
"""Load image sequence from memory buffer."""
|
|
1930
|
+
...
|
|
1931
|
+
def LoadImageColors(image: Image|list|tuple,) -> Any:
|
|
1932
|
+
"""Load color data from image as a Color array (RGBA - 32bit)."""
|
|
1933
|
+
...
|
|
1934
|
+
def LoadImageFromMemory(fileType: bytes,fileData: bytes,dataSize: int,) -> Image:
|
|
1935
|
+
"""Load image from memory buffer, fileType refers to extension: i.e. '.png'."""
|
|
1936
|
+
...
|
|
1937
|
+
def LoadImageFromScreen() -> Image:
|
|
1938
|
+
"""Load image from screen buffer and (screenshot)."""
|
|
1939
|
+
...
|
|
1940
|
+
def LoadImageFromTexture(texture: Texture|list|tuple,) -> Image:
|
|
1941
|
+
"""Load image from GPU texture data."""
|
|
1942
|
+
...
|
|
1943
|
+
def LoadImagePalette(image: Image|list|tuple,maxPaletteSize: int,colorCount: Any,) -> Any:
|
|
1944
|
+
"""Load colors palette from image as a Color array (RGBA - 32bit)."""
|
|
1945
|
+
...
|
|
1946
|
+
def LoadImageRaw(fileName: bytes,width: int,height: int,format: int,headerSize: int,) -> Image:
|
|
1947
|
+
"""Load image from RAW file data."""
|
|
1948
|
+
...
|
|
1949
|
+
def LoadMaterialDefault() -> Material:
|
|
1950
|
+
"""Load default material (Supports: DIFFUSE, SPECULAR, NORMAL maps)."""
|
|
1951
|
+
...
|
|
1952
|
+
def LoadMaterials(fileName: bytes,materialCount: Any,) -> Any:
|
|
1953
|
+
"""Load materials from model file."""
|
|
1954
|
+
...
|
|
1955
|
+
def LoadModel(fileName: bytes,) -> Model:
|
|
1956
|
+
"""Load model from files (meshes and materials)."""
|
|
1957
|
+
...
|
|
1958
|
+
def LoadModelAnimations(fileName: bytes,animCount: Any,) -> Any:
|
|
1959
|
+
"""Load model animations from file."""
|
|
1960
|
+
...
|
|
1961
|
+
def LoadModelFromMesh(mesh: Mesh|list|tuple,) -> Model:
|
|
1962
|
+
"""Load model from generated mesh (default material)."""
|
|
1963
|
+
...
|
|
1964
|
+
def LoadMusicStream(fileName: bytes,) -> Music:
|
|
1965
|
+
"""Load music stream from file."""
|
|
1966
|
+
...
|
|
1967
|
+
def LoadMusicStreamFromMemory(fileType: bytes,data: bytes,dataSize: int,) -> Music:
|
|
1968
|
+
"""Load music stream from data."""
|
|
1969
|
+
...
|
|
1970
|
+
def LoadRandomSequence(count: int,min_1: int,max_2: int,) -> Any:
|
|
1971
|
+
"""Load random values sequence, no values repeated."""
|
|
1972
|
+
...
|
|
1973
|
+
def LoadRenderTexture(width: int,height: int,) -> RenderTexture:
|
|
1974
|
+
"""Load texture for rendering (framebuffer)."""
|
|
1975
|
+
...
|
|
1976
|
+
def LoadShader(vsFileName: bytes,fsFileName: bytes,) -> Shader:
|
|
1977
|
+
"""Load shader from files and bind default locations."""
|
|
1978
|
+
...
|
|
1979
|
+
def LoadShaderFromMemory(vsCode: bytes,fsCode: bytes,) -> Shader:
|
|
1980
|
+
"""Load shader from code strings and bind default locations."""
|
|
1981
|
+
...
|
|
1982
|
+
def LoadSound(fileName: bytes,) -> Sound:
|
|
1983
|
+
"""Load sound from file."""
|
|
1984
|
+
...
|
|
1985
|
+
def LoadSoundAlias(source: Sound|list|tuple,) -> Sound:
|
|
1986
|
+
"""Create a new sound that shares the same sample data as the source sound, does not own the sound data."""
|
|
1987
|
+
...
|
|
1988
|
+
def LoadSoundFromWave(wave: Wave|list|tuple,) -> Sound:
|
|
1989
|
+
"""Load sound from wave data."""
|
|
1990
|
+
...
|
|
1991
|
+
def LoadTexture(fileName: bytes,) -> Texture:
|
|
1992
|
+
"""Load texture from file into GPU memory (VRAM)."""
|
|
1993
|
+
...
|
|
1994
|
+
def LoadTextureCubemap(image: Image|list|tuple,layout: int,) -> Texture:
|
|
1995
|
+
"""Load cubemap from image, multiple image cubemap layouts supported."""
|
|
1996
|
+
...
|
|
1997
|
+
def LoadTextureFromImage(image: Image|list|tuple,) -> Texture:
|
|
1998
|
+
"""Load texture from image data."""
|
|
1999
|
+
...
|
|
2000
|
+
def LoadUTF8(codepoints: Any,length: int,) -> bytes:
|
|
2001
|
+
"""Load UTF-8 text encoded from codepoints array."""
|
|
2002
|
+
...
|
|
2003
|
+
def LoadVrStereoConfig(device: VrDeviceInfo|list|tuple,) -> VrStereoConfig:
|
|
2004
|
+
"""Load VR stereo config for VR simulator device parameters."""
|
|
2005
|
+
...
|
|
2006
|
+
def LoadWave(fileName: bytes,) -> Wave:
|
|
2007
|
+
"""Load wave data from file."""
|
|
2008
|
+
...
|
|
2009
|
+
def LoadWaveFromMemory(fileType: bytes,fileData: bytes,dataSize: int,) -> Wave:
|
|
2010
|
+
"""Load wave from memory buffer, fileType refers to extension: i.e. '.wav'."""
|
|
2011
|
+
...
|
|
2012
|
+
def LoadWaveSamples(wave: Wave|list|tuple,) -> Any:
|
|
2013
|
+
"""Load samples data from wave as a 32bit float data array."""
|
|
2014
|
+
...
|
|
2015
|
+
MATERIAL_MAP_ALBEDO: int
|
|
2016
|
+
MATERIAL_MAP_BRDF: int
|
|
2017
|
+
MATERIAL_MAP_CUBEMAP: int
|
|
2018
|
+
MATERIAL_MAP_EMISSION: int
|
|
2019
|
+
MATERIAL_MAP_HEIGHT: int
|
|
2020
|
+
MATERIAL_MAP_IRRADIANCE: int
|
|
2021
|
+
MATERIAL_MAP_METALNESS: int
|
|
2022
|
+
MATERIAL_MAP_NORMAL: int
|
|
2023
|
+
MATERIAL_MAP_OCCLUSION: int
|
|
2024
|
+
MATERIAL_MAP_PREFILTER: int
|
|
2025
|
+
MATERIAL_MAP_ROUGHNESS: int
|
|
2026
|
+
MOUSE_BUTTON_BACK: int
|
|
2027
|
+
MOUSE_BUTTON_EXTRA: int
|
|
2028
|
+
MOUSE_BUTTON_FORWARD: int
|
|
2029
|
+
MOUSE_BUTTON_LEFT: int
|
|
2030
|
+
MOUSE_BUTTON_MIDDLE: int
|
|
2031
|
+
MOUSE_BUTTON_RIGHT: int
|
|
2032
|
+
MOUSE_BUTTON_SIDE: int
|
|
2033
|
+
MOUSE_CURSOR_ARROW: int
|
|
2034
|
+
MOUSE_CURSOR_CROSSHAIR: int
|
|
2035
|
+
MOUSE_CURSOR_DEFAULT: int
|
|
2036
|
+
MOUSE_CURSOR_IBEAM: int
|
|
2037
|
+
MOUSE_CURSOR_NOT_ALLOWED: int
|
|
2038
|
+
MOUSE_CURSOR_POINTING_HAND: int
|
|
2039
|
+
MOUSE_CURSOR_RESIZE_ALL: int
|
|
2040
|
+
MOUSE_CURSOR_RESIZE_EW: int
|
|
2041
|
+
MOUSE_CURSOR_RESIZE_NESW: int
|
|
2042
|
+
MOUSE_CURSOR_RESIZE_NS: int
|
|
2043
|
+
MOUSE_CURSOR_RESIZE_NWSE: int
|
|
2044
|
+
def MakeDirectory(dirPath: bytes,) -> int:
|
|
2045
|
+
"""Create directories (including full path requested), returns 0 on success."""
|
|
2046
|
+
...
|
|
2047
|
+
def MatrixAdd(left: Matrix|list|tuple,right: Matrix|list|tuple,) -> Matrix:
|
|
2048
|
+
"""."""
|
|
2049
|
+
...
|
|
2050
|
+
def MatrixDecompose(mat: Matrix|list|tuple,translation: Any|list|tuple,rotation: Any|list|tuple,scale: Any|list|tuple,) -> None:
|
|
2051
|
+
"""."""
|
|
2052
|
+
...
|
|
2053
|
+
def MatrixDeterminant(mat: Matrix|list|tuple,) -> float:
|
|
2054
|
+
"""."""
|
|
2055
|
+
...
|
|
2056
|
+
def MatrixFrustum(left: float,right: float,bottom: float,top: float,nearPlane: float,farPlane: float,) -> Matrix:
|
|
2057
|
+
"""."""
|
|
2058
|
+
...
|
|
2059
|
+
def MatrixIdentity() -> Matrix:
|
|
2060
|
+
"""."""
|
|
2061
|
+
...
|
|
2062
|
+
def MatrixInvert(mat: Matrix|list|tuple,) -> Matrix:
|
|
2063
|
+
"""."""
|
|
2064
|
+
...
|
|
2065
|
+
def MatrixLookAt(eye: Vector3|list|tuple,target: Vector3|list|tuple,up: Vector3|list|tuple,) -> Matrix:
|
|
2066
|
+
"""."""
|
|
2067
|
+
...
|
|
2068
|
+
def MatrixMultiply(left: Matrix|list|tuple,right: Matrix|list|tuple,) -> Matrix:
|
|
2069
|
+
"""."""
|
|
2070
|
+
...
|
|
2071
|
+
def MatrixOrtho(left: float,right: float,bottom: float,top: float,nearPlane: float,farPlane: float,) -> Matrix:
|
|
2072
|
+
"""."""
|
|
2073
|
+
...
|
|
2074
|
+
def MatrixPerspective(fovY: float,aspect: float,nearPlane: float,farPlane: float,) -> Matrix:
|
|
2075
|
+
"""."""
|
|
2076
|
+
...
|
|
2077
|
+
def MatrixRotate(axis: Vector3|list|tuple,angle: float,) -> Matrix:
|
|
2078
|
+
"""."""
|
|
2079
|
+
...
|
|
2080
|
+
def MatrixRotateX(angle: float,) -> Matrix:
|
|
2081
|
+
"""."""
|
|
2082
|
+
...
|
|
2083
|
+
def MatrixRotateXYZ(angle: Vector3|list|tuple,) -> Matrix:
|
|
2084
|
+
"""."""
|
|
2085
|
+
...
|
|
2086
|
+
def MatrixRotateY(angle: float,) -> Matrix:
|
|
2087
|
+
"""."""
|
|
2088
|
+
...
|
|
2089
|
+
def MatrixRotateZ(angle: float,) -> Matrix:
|
|
2090
|
+
"""."""
|
|
2091
|
+
...
|
|
2092
|
+
def MatrixRotateZYX(angle: Vector3|list|tuple,) -> Matrix:
|
|
2093
|
+
"""."""
|
|
2094
|
+
...
|
|
2095
|
+
def MatrixScale(x: float,y: float,z: float,) -> Matrix:
|
|
2096
|
+
"""."""
|
|
2097
|
+
...
|
|
2098
|
+
def MatrixSubtract(left: Matrix|list|tuple,right: Matrix|list|tuple,) -> Matrix:
|
|
2099
|
+
"""."""
|
|
2100
|
+
...
|
|
2101
|
+
def MatrixToFloatV(mat: Matrix|list|tuple,) -> float16:
|
|
2102
|
+
"""."""
|
|
2103
|
+
...
|
|
2104
|
+
def MatrixTrace(mat: Matrix|list|tuple,) -> float:
|
|
2105
|
+
"""."""
|
|
2106
|
+
...
|
|
2107
|
+
def MatrixTranslate(x: float,y: float,z: float,) -> Matrix:
|
|
2108
|
+
"""."""
|
|
2109
|
+
...
|
|
2110
|
+
def MatrixTranspose(mat: Matrix|list|tuple,) -> Matrix:
|
|
2111
|
+
"""."""
|
|
2112
|
+
...
|
|
2113
|
+
def MaximizeWindow() -> None:
|
|
2114
|
+
"""Set window state: maximized, if resizable."""
|
|
2115
|
+
...
|
|
2116
|
+
def MeasureText(text: bytes,fontSize: int,) -> int:
|
|
2117
|
+
"""Measure string width for default font."""
|
|
2118
|
+
...
|
|
2119
|
+
def MeasureTextEx(font: Font|list|tuple,text: bytes,fontSize: float,spacing: float,) -> Vector2:
|
|
2120
|
+
"""Measure string size for Font."""
|
|
2121
|
+
...
|
|
2122
|
+
def MemAlloc(size: int,) -> Any:
|
|
2123
|
+
"""Internal memory allocator."""
|
|
2124
|
+
...
|
|
2125
|
+
def MemFree(ptr: Any,) -> None:
|
|
2126
|
+
"""Internal memory free."""
|
|
2127
|
+
...
|
|
2128
|
+
def MemRealloc(ptr: Any,size: int,) -> Any:
|
|
2129
|
+
"""Internal memory reallocator."""
|
|
2130
|
+
...
|
|
2131
|
+
def MinimizeWindow() -> None:
|
|
2132
|
+
"""Set window state: minimized, if resizable."""
|
|
2133
|
+
...
|
|
2134
|
+
NPATCH_NINE_PATCH: int
|
|
2135
|
+
NPATCH_THREE_PATCH_HORIZONTAL: int
|
|
2136
|
+
NPATCH_THREE_PATCH_VERTICAL: int
|
|
2137
|
+
def Normalize(value: float,start: float,end: float,) -> float:
|
|
2138
|
+
"""."""
|
|
2139
|
+
...
|
|
2140
|
+
def OpenURL(url: bytes,) -> None:
|
|
2141
|
+
"""Open URL with default system browser (if available)."""
|
|
2142
|
+
...
|
|
2143
|
+
PHYSICS_CIRCLE: int
|
|
2144
|
+
PHYSICS_POLYGON: int
|
|
2145
|
+
PIXELFORMAT_COMPRESSED_ASTC_4x4_RGBA: int
|
|
2146
|
+
PIXELFORMAT_COMPRESSED_ASTC_8x8_RGBA: int
|
|
2147
|
+
PIXELFORMAT_COMPRESSED_DXT1_RGB: int
|
|
2148
|
+
PIXELFORMAT_COMPRESSED_DXT1_RGBA: int
|
|
2149
|
+
PIXELFORMAT_COMPRESSED_DXT3_RGBA: int
|
|
2150
|
+
PIXELFORMAT_COMPRESSED_DXT5_RGBA: int
|
|
2151
|
+
PIXELFORMAT_COMPRESSED_ETC1_RGB: int
|
|
2152
|
+
PIXELFORMAT_COMPRESSED_ETC2_EAC_RGBA: int
|
|
2153
|
+
PIXELFORMAT_COMPRESSED_ETC2_RGB: int
|
|
2154
|
+
PIXELFORMAT_COMPRESSED_PVRT_RGB: int
|
|
2155
|
+
PIXELFORMAT_COMPRESSED_PVRT_RGBA: int
|
|
2156
|
+
PIXELFORMAT_UNCOMPRESSED_GRAYSCALE: int
|
|
2157
|
+
PIXELFORMAT_UNCOMPRESSED_GRAY_ALPHA: int
|
|
2158
|
+
PIXELFORMAT_UNCOMPRESSED_R16: int
|
|
2159
|
+
PIXELFORMAT_UNCOMPRESSED_R16G16B16: int
|
|
2160
|
+
PIXELFORMAT_UNCOMPRESSED_R16G16B16A16: int
|
|
2161
|
+
PIXELFORMAT_UNCOMPRESSED_R32: int
|
|
2162
|
+
PIXELFORMAT_UNCOMPRESSED_R32G32B32: int
|
|
2163
|
+
PIXELFORMAT_UNCOMPRESSED_R32G32B32A32: int
|
|
2164
|
+
PIXELFORMAT_UNCOMPRESSED_R4G4B4A4: int
|
|
2165
|
+
PIXELFORMAT_UNCOMPRESSED_R5G5B5A1: int
|
|
2166
|
+
PIXELFORMAT_UNCOMPRESSED_R5G6B5: int
|
|
2167
|
+
PIXELFORMAT_UNCOMPRESSED_R8G8B8: int
|
|
2168
|
+
PIXELFORMAT_UNCOMPRESSED_R8G8B8A8: int
|
|
2169
|
+
PROGRESSBAR: int
|
|
2170
|
+
PROGRESS_PADDING: int
|
|
2171
|
+
def PauseAudioStream(stream: AudioStream|list|tuple,) -> None:
|
|
2172
|
+
"""Pause audio stream."""
|
|
2173
|
+
...
|
|
2174
|
+
def PauseMusicStream(music: Music|list|tuple,) -> None:
|
|
2175
|
+
"""Pause music playing."""
|
|
2176
|
+
...
|
|
2177
|
+
def PauseSound(sound: Sound|list|tuple,) -> None:
|
|
2178
|
+
"""Pause a sound."""
|
|
2179
|
+
...
|
|
2180
|
+
@deprecated("Raylib no longer recommends the use of Physac library")
|
|
2181
|
+
def PhysicsAddForce(body: Any|list|tuple,force: Vector2|list|tuple,) -> None:
|
|
2182
|
+
"""Adds a force to a physics body."""
|
|
2183
|
+
...
|
|
2184
|
+
@deprecated("Raylib no longer recommends the use of Physac library")
|
|
2185
|
+
def PhysicsAddTorque(body: Any|list|tuple,amount: float,) -> None:
|
|
2186
|
+
"""Adds an angular force to a physics body."""
|
|
2187
|
+
...
|
|
2188
|
+
@deprecated("Raylib no longer recommends the use of Physac library")
|
|
2189
|
+
def PhysicsShatter(body: Any|list|tuple,position: Vector2|list|tuple,force: float,) -> None:
|
|
2190
|
+
"""Shatters a polygon shape physics body to little physics bodies with explosion force."""
|
|
2191
|
+
...
|
|
2192
|
+
def PlayAudioStream(stream: AudioStream|list|tuple,) -> None:
|
|
2193
|
+
"""Play audio stream."""
|
|
2194
|
+
...
|
|
2195
|
+
def PlayAutomationEvent(event: AutomationEvent|list|tuple,) -> None:
|
|
2196
|
+
"""Play a recorded automation event."""
|
|
2197
|
+
...
|
|
2198
|
+
def PlayMusicStream(music: Music|list|tuple,) -> None:
|
|
2199
|
+
"""Start music playing."""
|
|
2200
|
+
...
|
|
2201
|
+
def PlaySound(sound: Sound|list|tuple,) -> None:
|
|
2202
|
+
"""Play a sound."""
|
|
2203
|
+
...
|
|
2204
|
+
def PollInputEvents() -> None:
|
|
2205
|
+
"""Register all input events."""
|
|
2206
|
+
...
|
|
2207
|
+
def QuaternionAdd(q1: Vector4|list|tuple,q2: Vector4|list|tuple,) -> Vector4:
|
|
2208
|
+
"""."""
|
|
2209
|
+
...
|
|
2210
|
+
def QuaternionAddValue(q: Vector4|list|tuple,add: float,) -> Vector4:
|
|
2211
|
+
"""."""
|
|
2212
|
+
...
|
|
2213
|
+
def QuaternionCubicHermiteSpline(q1: Vector4|list|tuple,outTangent1: Vector4|list|tuple,q2: Vector4|list|tuple,inTangent2: Vector4|list|tuple,t: float,) -> Vector4:
|
|
2214
|
+
"""."""
|
|
2215
|
+
...
|
|
2216
|
+
def QuaternionDivide(q1: Vector4|list|tuple,q2: Vector4|list|tuple,) -> Vector4:
|
|
2217
|
+
"""."""
|
|
2218
|
+
...
|
|
2219
|
+
def QuaternionEquals(p: Vector4|list|tuple,q: Vector4|list|tuple,) -> int:
|
|
2220
|
+
"""."""
|
|
2221
|
+
...
|
|
2222
|
+
def QuaternionFromAxisAngle(axis: Vector3|list|tuple,angle: float,) -> Vector4:
|
|
2223
|
+
"""."""
|
|
2224
|
+
...
|
|
2225
|
+
def QuaternionFromEuler(pitch: float,yaw: float,roll: float,) -> Vector4:
|
|
2226
|
+
"""."""
|
|
2227
|
+
...
|
|
2228
|
+
def QuaternionFromMatrix(mat: Matrix|list|tuple,) -> Vector4:
|
|
2229
|
+
"""."""
|
|
2230
|
+
...
|
|
2231
|
+
def QuaternionFromVector3ToVector3(from_0: Vector3|list|tuple,to: Vector3|list|tuple,) -> Vector4:
|
|
2232
|
+
"""."""
|
|
2233
|
+
...
|
|
2234
|
+
def QuaternionIdentity() -> Vector4:
|
|
2235
|
+
"""."""
|
|
2236
|
+
...
|
|
2237
|
+
def QuaternionInvert(q: Vector4|list|tuple,) -> Vector4:
|
|
2238
|
+
"""."""
|
|
2239
|
+
...
|
|
2240
|
+
def QuaternionLength(q: Vector4|list|tuple,) -> float:
|
|
2241
|
+
"""."""
|
|
2242
|
+
...
|
|
2243
|
+
def QuaternionLerp(q1: Vector4|list|tuple,q2: Vector4|list|tuple,amount: float,) -> Vector4:
|
|
2244
|
+
"""."""
|
|
2245
|
+
...
|
|
2246
|
+
def QuaternionMultiply(q1: Vector4|list|tuple,q2: Vector4|list|tuple,) -> Vector4:
|
|
2247
|
+
"""."""
|
|
2248
|
+
...
|
|
2249
|
+
def QuaternionNlerp(q1: Vector4|list|tuple,q2: Vector4|list|tuple,amount: float,) -> Vector4:
|
|
2250
|
+
"""."""
|
|
2251
|
+
...
|
|
2252
|
+
def QuaternionNormalize(q: Vector4|list|tuple,) -> Vector4:
|
|
2253
|
+
"""."""
|
|
2254
|
+
...
|
|
2255
|
+
def QuaternionScale(q: Vector4|list|tuple,mul: float,) -> Vector4:
|
|
2256
|
+
"""."""
|
|
2257
|
+
...
|
|
2258
|
+
def QuaternionSlerp(q1: Vector4|list|tuple,q2: Vector4|list|tuple,amount: float,) -> Vector4:
|
|
2259
|
+
"""."""
|
|
2260
|
+
...
|
|
2261
|
+
def QuaternionSubtract(q1: Vector4|list|tuple,q2: Vector4|list|tuple,) -> Vector4:
|
|
2262
|
+
"""."""
|
|
2263
|
+
...
|
|
2264
|
+
def QuaternionSubtractValue(q: Vector4|list|tuple,sub: float,) -> Vector4:
|
|
2265
|
+
"""."""
|
|
2266
|
+
...
|
|
2267
|
+
def QuaternionToAxisAngle(q: Vector4|list|tuple,outAxis: Any|list|tuple,outAngle: Any,) -> None:
|
|
2268
|
+
"""."""
|
|
2269
|
+
...
|
|
2270
|
+
def QuaternionToEuler(q: Vector4|list|tuple,) -> Vector3:
|
|
2271
|
+
"""."""
|
|
2272
|
+
...
|
|
2273
|
+
def QuaternionToMatrix(q: Vector4|list|tuple,) -> Matrix:
|
|
2274
|
+
"""."""
|
|
2275
|
+
...
|
|
2276
|
+
def QuaternionTransform(q: Vector4|list|tuple,mat: Matrix|list|tuple,) -> Vector4:
|
|
2277
|
+
"""."""
|
|
2278
|
+
...
|
|
2279
|
+
RL_ATTACHMENT_COLOR_CHANNEL0: int
|
|
2280
|
+
RL_ATTACHMENT_COLOR_CHANNEL1: int
|
|
2281
|
+
RL_ATTACHMENT_COLOR_CHANNEL2: int
|
|
2282
|
+
RL_ATTACHMENT_COLOR_CHANNEL3: int
|
|
2283
|
+
RL_ATTACHMENT_COLOR_CHANNEL4: int
|
|
2284
|
+
RL_ATTACHMENT_COLOR_CHANNEL5: int
|
|
2285
|
+
RL_ATTACHMENT_COLOR_CHANNEL6: int
|
|
2286
|
+
RL_ATTACHMENT_COLOR_CHANNEL7: int
|
|
2287
|
+
RL_ATTACHMENT_CUBEMAP_NEGATIVE_X: int
|
|
2288
|
+
RL_ATTACHMENT_CUBEMAP_NEGATIVE_Y: int
|
|
2289
|
+
RL_ATTACHMENT_CUBEMAP_NEGATIVE_Z: int
|
|
2290
|
+
RL_ATTACHMENT_CUBEMAP_POSITIVE_X: int
|
|
2291
|
+
RL_ATTACHMENT_CUBEMAP_POSITIVE_Y: int
|
|
2292
|
+
RL_ATTACHMENT_CUBEMAP_POSITIVE_Z: int
|
|
2293
|
+
RL_ATTACHMENT_DEPTH: int
|
|
2294
|
+
RL_ATTACHMENT_RENDERBUFFER: int
|
|
2295
|
+
RL_ATTACHMENT_STENCIL: int
|
|
2296
|
+
RL_ATTACHMENT_TEXTURE2D: int
|
|
2297
|
+
RL_BLEND_ADDITIVE: int
|
|
2298
|
+
RL_BLEND_ADD_COLORS: int
|
|
2299
|
+
RL_BLEND_ALPHA: int
|
|
2300
|
+
RL_BLEND_ALPHA_PREMULTIPLY: int
|
|
2301
|
+
RL_BLEND_CUSTOM: int
|
|
2302
|
+
RL_BLEND_CUSTOM_SEPARATE: int
|
|
2303
|
+
RL_BLEND_MULTIPLIED: int
|
|
2304
|
+
RL_BLEND_SUBTRACT_COLORS: int
|
|
2305
|
+
RL_CULL_FACE_BACK: int
|
|
2306
|
+
RL_CULL_FACE_FRONT: int
|
|
2307
|
+
RL_LOG_ALL: int
|
|
2308
|
+
RL_LOG_DEBUG: int
|
|
2309
|
+
RL_LOG_ERROR: int
|
|
2310
|
+
RL_LOG_FATAL: int
|
|
2311
|
+
RL_LOG_INFO: int
|
|
2312
|
+
RL_LOG_NONE: int
|
|
2313
|
+
RL_LOG_TRACE: int
|
|
2314
|
+
RL_LOG_WARNING: int
|
|
2315
|
+
RL_OPENGL_11: int
|
|
2316
|
+
RL_OPENGL_21: int
|
|
2317
|
+
RL_OPENGL_33: int
|
|
2318
|
+
RL_OPENGL_43: int
|
|
2319
|
+
RL_OPENGL_ES_20: int
|
|
2320
|
+
RL_OPENGL_ES_30: int
|
|
2321
|
+
RL_PIXELFORMAT_COMPRESSED_ASTC_4x4_RGBA: int
|
|
2322
|
+
RL_PIXELFORMAT_COMPRESSED_ASTC_8x8_RGBA: int
|
|
2323
|
+
RL_PIXELFORMAT_COMPRESSED_DXT1_RGB: int
|
|
2324
|
+
RL_PIXELFORMAT_COMPRESSED_DXT1_RGBA: int
|
|
2325
|
+
RL_PIXELFORMAT_COMPRESSED_DXT3_RGBA: int
|
|
2326
|
+
RL_PIXELFORMAT_COMPRESSED_DXT5_RGBA: int
|
|
2327
|
+
RL_PIXELFORMAT_COMPRESSED_ETC1_RGB: int
|
|
2328
|
+
RL_PIXELFORMAT_COMPRESSED_ETC2_EAC_RGBA: int
|
|
2329
|
+
RL_PIXELFORMAT_COMPRESSED_ETC2_RGB: int
|
|
2330
|
+
RL_PIXELFORMAT_COMPRESSED_PVRT_RGB: int
|
|
2331
|
+
RL_PIXELFORMAT_COMPRESSED_PVRT_RGBA: int
|
|
2332
|
+
RL_PIXELFORMAT_UNCOMPRESSED_GRAYSCALE: int
|
|
2333
|
+
RL_PIXELFORMAT_UNCOMPRESSED_GRAY_ALPHA: int
|
|
2334
|
+
RL_PIXELFORMAT_UNCOMPRESSED_R16: int
|
|
2335
|
+
RL_PIXELFORMAT_UNCOMPRESSED_R16G16B16: int
|
|
2336
|
+
RL_PIXELFORMAT_UNCOMPRESSED_R16G16B16A16: int
|
|
2337
|
+
RL_PIXELFORMAT_UNCOMPRESSED_R32: int
|
|
2338
|
+
RL_PIXELFORMAT_UNCOMPRESSED_R32G32B32: int
|
|
2339
|
+
RL_PIXELFORMAT_UNCOMPRESSED_R32G32B32A32: int
|
|
2340
|
+
RL_PIXELFORMAT_UNCOMPRESSED_R4G4B4A4: int
|
|
2341
|
+
RL_PIXELFORMAT_UNCOMPRESSED_R5G5B5A1: int
|
|
2342
|
+
RL_PIXELFORMAT_UNCOMPRESSED_R5G6B5: int
|
|
2343
|
+
RL_PIXELFORMAT_UNCOMPRESSED_R8G8B8: int
|
|
2344
|
+
RL_PIXELFORMAT_UNCOMPRESSED_R8G8B8A8: int
|
|
2345
|
+
RL_SHADER_ATTRIB_FLOAT: int
|
|
2346
|
+
RL_SHADER_ATTRIB_VEC2: int
|
|
2347
|
+
RL_SHADER_ATTRIB_VEC3: int
|
|
2348
|
+
RL_SHADER_ATTRIB_VEC4: int
|
|
2349
|
+
RL_SHADER_LOC_COLOR_AMBIENT: int
|
|
2350
|
+
RL_SHADER_LOC_COLOR_DIFFUSE: int
|
|
2351
|
+
RL_SHADER_LOC_COLOR_SPECULAR: int
|
|
2352
|
+
RL_SHADER_LOC_MAP_ALBEDO: int
|
|
2353
|
+
RL_SHADER_LOC_MAP_BRDF: int
|
|
2354
|
+
RL_SHADER_LOC_MAP_CUBEMAP: int
|
|
2355
|
+
RL_SHADER_LOC_MAP_EMISSION: int
|
|
2356
|
+
RL_SHADER_LOC_MAP_HEIGHT: int
|
|
2357
|
+
RL_SHADER_LOC_MAP_IRRADIANCE: int
|
|
2358
|
+
RL_SHADER_LOC_MAP_METALNESS: int
|
|
2359
|
+
RL_SHADER_LOC_MAP_NORMAL: int
|
|
2360
|
+
RL_SHADER_LOC_MAP_OCCLUSION: int
|
|
2361
|
+
RL_SHADER_LOC_MAP_PREFILTER: int
|
|
2362
|
+
RL_SHADER_LOC_MAP_ROUGHNESS: int
|
|
2363
|
+
RL_SHADER_LOC_MATRIX_MODEL: int
|
|
2364
|
+
RL_SHADER_LOC_MATRIX_MVP: int
|
|
2365
|
+
RL_SHADER_LOC_MATRIX_NORMAL: int
|
|
2366
|
+
RL_SHADER_LOC_MATRIX_PROJECTION: int
|
|
2367
|
+
RL_SHADER_LOC_MATRIX_VIEW: int
|
|
2368
|
+
RL_SHADER_LOC_VECTOR_VIEW: int
|
|
2369
|
+
RL_SHADER_LOC_VERTEX_COLOR: int
|
|
2370
|
+
RL_SHADER_LOC_VERTEX_NORMAL: int
|
|
2371
|
+
RL_SHADER_LOC_VERTEX_POSITION: int
|
|
2372
|
+
RL_SHADER_LOC_VERTEX_TANGENT: int
|
|
2373
|
+
RL_SHADER_LOC_VERTEX_TEXCOORD01: int
|
|
2374
|
+
RL_SHADER_LOC_VERTEX_TEXCOORD02: int
|
|
2375
|
+
RL_SHADER_UNIFORM_FLOAT: int
|
|
2376
|
+
RL_SHADER_UNIFORM_INT: int
|
|
2377
|
+
RL_SHADER_UNIFORM_IVEC2: int
|
|
2378
|
+
RL_SHADER_UNIFORM_IVEC3: int
|
|
2379
|
+
RL_SHADER_UNIFORM_IVEC4: int
|
|
2380
|
+
RL_SHADER_UNIFORM_SAMPLER2D: int
|
|
2381
|
+
RL_SHADER_UNIFORM_UINT: int
|
|
2382
|
+
RL_SHADER_UNIFORM_UIVEC2: int
|
|
2383
|
+
RL_SHADER_UNIFORM_UIVEC3: int
|
|
2384
|
+
RL_SHADER_UNIFORM_UIVEC4: int
|
|
2385
|
+
RL_SHADER_UNIFORM_VEC2: int
|
|
2386
|
+
RL_SHADER_UNIFORM_VEC3: int
|
|
2387
|
+
RL_SHADER_UNIFORM_VEC4: int
|
|
2388
|
+
RL_TEXTURE_FILTER_ANISOTROPIC_16X: int
|
|
2389
|
+
RL_TEXTURE_FILTER_ANISOTROPIC_4X: int
|
|
2390
|
+
RL_TEXTURE_FILTER_ANISOTROPIC_8X: int
|
|
2391
|
+
RL_TEXTURE_FILTER_BILINEAR: int
|
|
2392
|
+
RL_TEXTURE_FILTER_POINT: int
|
|
2393
|
+
RL_TEXTURE_FILTER_TRILINEAR: int
|
|
2394
|
+
def Remap(value: float,inputStart: float,inputEnd: float,outputStart: float,outputEnd: float,) -> float:
|
|
2395
|
+
"""."""
|
|
2396
|
+
...
|
|
2397
|
+
def RestoreWindow() -> None:
|
|
2398
|
+
"""Set window state: not minimized/maximized."""
|
|
2399
|
+
...
|
|
2400
|
+
def ResumeAudioStream(stream: AudioStream|list|tuple,) -> None:
|
|
2401
|
+
"""Resume audio stream."""
|
|
2402
|
+
...
|
|
2403
|
+
def ResumeMusicStream(music: Music|list|tuple,) -> None:
|
|
2404
|
+
"""Resume playing paused music."""
|
|
2405
|
+
...
|
|
2406
|
+
def ResumeSound(sound: Sound|list|tuple,) -> None:
|
|
2407
|
+
"""Resume a paused sound."""
|
|
2408
|
+
...
|
|
2409
|
+
@deprecated("Raylib no longer recommends the use of Physac library")
|
|
2410
|
+
def RunPhysicsStep() -> None:
|
|
2411
|
+
"""Run physics step, to be used if PHYSICS_NO_THREADS is set in your main loop."""
|
|
2412
|
+
...
|
|
2413
|
+
SCROLLBAR: int
|
|
2414
|
+
SCROLLBAR_SIDE: int
|
|
2415
|
+
SCROLLBAR_WIDTH: int
|
|
2416
|
+
SCROLL_PADDING: int
|
|
2417
|
+
SCROLL_SLIDER_PADDING: int
|
|
2418
|
+
SCROLL_SLIDER_SIZE: int
|
|
2419
|
+
SCROLL_SPEED: int
|
|
2420
|
+
SHADER_ATTRIB_FLOAT: int
|
|
2421
|
+
SHADER_ATTRIB_VEC2: int
|
|
2422
|
+
SHADER_ATTRIB_VEC3: int
|
|
2423
|
+
SHADER_ATTRIB_VEC4: int
|
|
2424
|
+
SHADER_LOC_BONE_MATRICES: int
|
|
2425
|
+
SHADER_LOC_COLOR_AMBIENT: int
|
|
2426
|
+
SHADER_LOC_COLOR_DIFFUSE: int
|
|
2427
|
+
SHADER_LOC_COLOR_SPECULAR: int
|
|
2428
|
+
SHADER_LOC_MAP_ALBEDO: int
|
|
2429
|
+
SHADER_LOC_MAP_BRDF: int
|
|
2430
|
+
SHADER_LOC_MAP_CUBEMAP: int
|
|
2431
|
+
SHADER_LOC_MAP_EMISSION: int
|
|
2432
|
+
SHADER_LOC_MAP_HEIGHT: int
|
|
2433
|
+
SHADER_LOC_MAP_IRRADIANCE: int
|
|
2434
|
+
SHADER_LOC_MAP_METALNESS: int
|
|
2435
|
+
SHADER_LOC_MAP_NORMAL: int
|
|
2436
|
+
SHADER_LOC_MAP_OCCLUSION: int
|
|
2437
|
+
SHADER_LOC_MAP_PREFILTER: int
|
|
2438
|
+
SHADER_LOC_MAP_ROUGHNESS: int
|
|
2439
|
+
SHADER_LOC_MATRIX_MODEL: int
|
|
2440
|
+
SHADER_LOC_MATRIX_MVP: int
|
|
2441
|
+
SHADER_LOC_MATRIX_NORMAL: int
|
|
2442
|
+
SHADER_LOC_MATRIX_PROJECTION: int
|
|
2443
|
+
SHADER_LOC_MATRIX_VIEW: int
|
|
2444
|
+
SHADER_LOC_VECTOR_VIEW: int
|
|
2445
|
+
SHADER_LOC_VERTEX_BONEIDS: int
|
|
2446
|
+
SHADER_LOC_VERTEX_BONEWEIGHTS: int
|
|
2447
|
+
SHADER_LOC_VERTEX_COLOR: int
|
|
2448
|
+
SHADER_LOC_VERTEX_NORMAL: int
|
|
2449
|
+
SHADER_LOC_VERTEX_POSITION: int
|
|
2450
|
+
SHADER_LOC_VERTEX_TANGENT: int
|
|
2451
|
+
SHADER_LOC_VERTEX_TEXCOORD01: int
|
|
2452
|
+
SHADER_LOC_VERTEX_TEXCOORD02: int
|
|
2453
|
+
SHADER_UNIFORM_FLOAT: int
|
|
2454
|
+
SHADER_UNIFORM_INT: int
|
|
2455
|
+
SHADER_UNIFORM_IVEC2: int
|
|
2456
|
+
SHADER_UNIFORM_IVEC3: int
|
|
2457
|
+
SHADER_UNIFORM_IVEC4: int
|
|
2458
|
+
SHADER_UNIFORM_SAMPLER2D: int
|
|
2459
|
+
SHADER_UNIFORM_VEC2: int
|
|
2460
|
+
SHADER_UNIFORM_VEC3: int
|
|
2461
|
+
SHADER_UNIFORM_VEC4: int
|
|
2462
|
+
SLIDER: int
|
|
2463
|
+
SLIDER_PADDING: int
|
|
2464
|
+
SLIDER_WIDTH: int
|
|
2465
|
+
SPINNER: int
|
|
2466
|
+
SPIN_BUTTON_SPACING: int
|
|
2467
|
+
SPIN_BUTTON_WIDTH: int
|
|
2468
|
+
STATE_DISABLED: int
|
|
2469
|
+
STATE_FOCUSED: int
|
|
2470
|
+
STATE_NORMAL: int
|
|
2471
|
+
STATE_PRESSED: int
|
|
2472
|
+
STATUSBAR: int
|
|
2473
|
+
def SaveFileData(fileName: bytes,data: Any,dataSize: int,) -> bool:
|
|
2474
|
+
"""Save data to file from byte array (write), returns true on success."""
|
|
2475
|
+
...
|
|
2476
|
+
def SaveFileText(fileName: bytes,text: bytes,) -> bool:
|
|
2477
|
+
"""Save text data to file (write), string must be '\0' terminated, returns true on success."""
|
|
2478
|
+
...
|
|
2479
|
+
def SeekMusicStream(music: Music|list|tuple,position: float,) -> None:
|
|
2480
|
+
"""Seek music to a position (in seconds)."""
|
|
2481
|
+
...
|
|
2482
|
+
def SetAudioStreamBufferSizeDefault(size: int,) -> None:
|
|
2483
|
+
"""Default size for new audio streams."""
|
|
2484
|
+
...
|
|
2485
|
+
def SetAudioStreamCallback(stream: AudioStream|list|tuple,callback: Any,) -> None:
|
|
2486
|
+
"""Audio thread callback to request new data."""
|
|
2487
|
+
...
|
|
2488
|
+
def SetAudioStreamPan(stream: AudioStream|list|tuple,pan: float,) -> None:
|
|
2489
|
+
"""Set pan for audio stream (0.5 is centered)."""
|
|
2490
|
+
...
|
|
2491
|
+
def SetAudioStreamPitch(stream: AudioStream|list|tuple,pitch: float,) -> None:
|
|
2492
|
+
"""Set pitch for audio stream (1.0 is base level)."""
|
|
2493
|
+
...
|
|
2494
|
+
def SetAudioStreamVolume(stream: AudioStream|list|tuple,volume: float,) -> None:
|
|
2495
|
+
"""Set volume for audio stream (1.0 is max level)."""
|
|
2496
|
+
...
|
|
2497
|
+
def SetAutomationEventBaseFrame(frame: int,) -> None:
|
|
2498
|
+
"""Set automation event internal base frame to start recording."""
|
|
2499
|
+
...
|
|
2500
|
+
def SetAutomationEventList(list_0: Any|list|tuple,) -> None:
|
|
2501
|
+
"""Set automation event list to record to."""
|
|
2502
|
+
...
|
|
2503
|
+
def SetClipboardText(text: bytes,) -> None:
|
|
2504
|
+
"""Set clipboard text content."""
|
|
2505
|
+
...
|
|
2506
|
+
def SetConfigFlags(flags: int,) -> None:
|
|
2507
|
+
"""Setup init configuration flags (view FLAGS)."""
|
|
2508
|
+
...
|
|
2509
|
+
def SetExitKey(key: int,) -> None:
|
|
2510
|
+
"""Set a custom key to exit program (default is ESC)."""
|
|
2511
|
+
...
|
|
2512
|
+
def SetGamepadMappings(mappings: bytes,) -> int:
|
|
2513
|
+
"""Set internal gamepad mappings (SDL_GameControllerDB)."""
|
|
2514
|
+
...
|
|
2515
|
+
def SetGamepadVibration(gamepad: int,leftMotor: float,rightMotor: float,duration: float,) -> None:
|
|
2516
|
+
"""Set gamepad vibration for both motors (duration in seconds)."""
|
|
2517
|
+
...
|
|
2518
|
+
def SetGesturesEnabled(flags: int,) -> None:
|
|
2519
|
+
"""Enable a set of gestures using flags."""
|
|
2520
|
+
...
|
|
2521
|
+
def SetLoadFileDataCallback(callback: bytes,) -> None:
|
|
2522
|
+
"""Set custom file binary data loader."""
|
|
2523
|
+
...
|
|
2524
|
+
def SetLoadFileTextCallback(callback: bytes,) -> None:
|
|
2525
|
+
"""Set custom file text data loader."""
|
|
2526
|
+
...
|
|
2527
|
+
def SetMasterVolume(volume: float,) -> None:
|
|
2528
|
+
"""Set master volume (listener)."""
|
|
2529
|
+
...
|
|
2530
|
+
def SetMaterialTexture(material: Any|list|tuple,mapType: int,texture: Texture|list|tuple,) -> None:
|
|
2531
|
+
"""Set texture for a material map type (MATERIAL_MAP_DIFFUSE, MATERIAL_MAP_SPECULAR...)."""
|
|
2532
|
+
...
|
|
2533
|
+
def SetModelMeshMaterial(model: Any|list|tuple,meshId: int,materialId: int,) -> None:
|
|
2534
|
+
"""Set material for a mesh."""
|
|
2535
|
+
...
|
|
2536
|
+
def SetMouseCursor(cursor: int,) -> None:
|
|
2537
|
+
"""Set mouse cursor."""
|
|
2538
|
+
...
|
|
2539
|
+
def SetMouseOffset(offsetX: int,offsetY: int,) -> None:
|
|
2540
|
+
"""Set mouse offset."""
|
|
2541
|
+
...
|
|
2542
|
+
def SetMousePosition(x: int,y: int,) -> None:
|
|
2543
|
+
"""Set mouse position XY."""
|
|
2544
|
+
...
|
|
2545
|
+
def SetMouseScale(scaleX: float,scaleY: float,) -> None:
|
|
2546
|
+
"""Set mouse scaling."""
|
|
2547
|
+
...
|
|
2548
|
+
def SetMusicPan(music: Music|list|tuple,pan: float,) -> None:
|
|
2549
|
+
"""Set pan for a music (0.5 is center)."""
|
|
2550
|
+
...
|
|
2551
|
+
def SetMusicPitch(music: Music|list|tuple,pitch: float,) -> None:
|
|
2552
|
+
"""Set pitch for a music (1.0 is base level)."""
|
|
2553
|
+
...
|
|
2554
|
+
def SetMusicVolume(music: Music|list|tuple,volume: float,) -> None:
|
|
2555
|
+
"""Set volume for music (1.0 is max level)."""
|
|
2556
|
+
...
|
|
2557
|
+
@deprecated("Raylib no longer recommends the use of Physac library")
|
|
2558
|
+
def SetPhysicsBodyRotation(body: Any|list|tuple,radians: float,) -> None:
|
|
2559
|
+
"""Sets physics body shape transform based on radians parameter."""
|
|
2560
|
+
...
|
|
2561
|
+
@deprecated("Raylib no longer recommends the use of Physac library")
|
|
2562
|
+
def SetPhysicsGravity(x: float,y: float,) -> None:
|
|
2563
|
+
"""Sets physics global gravity force."""
|
|
2564
|
+
...
|
|
2565
|
+
@deprecated("Raylib no longer recommends the use of Physac library")
|
|
2566
|
+
def SetPhysicsTimeStep(delta: float,) -> None:
|
|
2567
|
+
"""Sets physics fixed time step in milliseconds. 1.666666 by default."""
|
|
2568
|
+
...
|
|
2569
|
+
def SetPixelColor(dstPtr: Any,color: Color|list|tuple,format: int,) -> None:
|
|
2570
|
+
"""Set color formatted into destination pixel pointer."""
|
|
2571
|
+
...
|
|
2572
|
+
def SetRandomSeed(seed: int,) -> None:
|
|
2573
|
+
"""Set the seed for the random number generator."""
|
|
2574
|
+
...
|
|
2575
|
+
def SetSaveFileDataCallback(callback: bytes,) -> None:
|
|
2576
|
+
"""Set custom file binary data saver."""
|
|
2577
|
+
...
|
|
2578
|
+
def SetSaveFileTextCallback(callback: bytes,) -> None:
|
|
2579
|
+
"""Set custom file text data saver."""
|
|
2580
|
+
...
|
|
2581
|
+
def SetShaderValue(shader: Shader|list|tuple,locIndex: int,value: Any,uniformType: int,) -> None:
|
|
2582
|
+
"""Set shader uniform value."""
|
|
2583
|
+
...
|
|
2584
|
+
def SetShaderValueMatrix(shader: Shader|list|tuple,locIndex: int,mat: Matrix|list|tuple,) -> None:
|
|
2585
|
+
"""Set shader uniform value (matrix 4x4)."""
|
|
2586
|
+
...
|
|
2587
|
+
def SetShaderValueTexture(shader: Shader|list|tuple,locIndex: int,texture: Texture|list|tuple,) -> None:
|
|
2588
|
+
"""Set shader uniform value for texture (sampler2d)."""
|
|
2589
|
+
...
|
|
2590
|
+
def SetShaderValueV(shader: Shader|list|tuple,locIndex: int,value: Any,uniformType: int,count: int,) -> None:
|
|
2591
|
+
"""Set shader uniform value vector."""
|
|
2592
|
+
...
|
|
2593
|
+
def SetShapesTexture(texture: Texture|list|tuple,source: Rectangle|list|tuple,) -> None:
|
|
2594
|
+
"""Set texture and rectangle to be used on shapes drawing."""
|
|
2595
|
+
...
|
|
2596
|
+
def SetSoundPan(sound: Sound|list|tuple,pan: float,) -> None:
|
|
2597
|
+
"""Set pan for a sound (0.5 is center)."""
|
|
2598
|
+
...
|
|
2599
|
+
def SetSoundPitch(sound: Sound|list|tuple,pitch: float,) -> None:
|
|
2600
|
+
"""Set pitch for a sound (1.0 is base level)."""
|
|
2601
|
+
...
|
|
2602
|
+
def SetSoundVolume(sound: Sound|list|tuple,volume: float,) -> None:
|
|
2603
|
+
"""Set volume for a sound (1.0 is max level)."""
|
|
2604
|
+
...
|
|
2605
|
+
def SetTargetFPS(fps: int,) -> None:
|
|
2606
|
+
"""Set target FPS (maximum)."""
|
|
2607
|
+
...
|
|
2608
|
+
def SetTextLineSpacing(spacing: int,) -> None:
|
|
2609
|
+
"""Set vertical line spacing when drawing with line-breaks."""
|
|
2610
|
+
...
|
|
2611
|
+
def SetTextureFilter(texture: Texture|list|tuple,filter: int,) -> None:
|
|
2612
|
+
"""Set texture scaling filter mode."""
|
|
2613
|
+
...
|
|
2614
|
+
def SetTextureWrap(texture: Texture|list|tuple,wrap: int,) -> None:
|
|
2615
|
+
"""Set texture wrapping mode."""
|
|
2616
|
+
...
|
|
2617
|
+
def SetTraceLogCallback(callback: bytes,) -> None:
|
|
2618
|
+
"""Set custom trace log."""
|
|
2619
|
+
...
|
|
2620
|
+
def SetTraceLogLevel(logLevel: int,) -> None:
|
|
2621
|
+
"""Set the current threshold (minimum) log level."""
|
|
2622
|
+
...
|
|
2623
|
+
def SetWindowFocused() -> None:
|
|
2624
|
+
"""Set window focused."""
|
|
2625
|
+
...
|
|
2626
|
+
def SetWindowIcon(image: Image|list|tuple,) -> None:
|
|
2627
|
+
"""Set icon for window (single image, RGBA 32bit)."""
|
|
2628
|
+
...
|
|
2629
|
+
def SetWindowIcons(images: Any|list|tuple,count: int,) -> None:
|
|
2630
|
+
"""Set icon for window (multiple images, RGBA 32bit)."""
|
|
2631
|
+
...
|
|
2632
|
+
def SetWindowMaxSize(width: int,height: int,) -> None:
|
|
2633
|
+
"""Set window maximum dimensions (for FLAG_WINDOW_RESIZABLE)."""
|
|
2634
|
+
...
|
|
2635
|
+
def SetWindowMinSize(width: int,height: int,) -> None:
|
|
2636
|
+
"""Set window minimum dimensions (for FLAG_WINDOW_RESIZABLE)."""
|
|
2637
|
+
...
|
|
2638
|
+
def SetWindowMonitor(monitor: int,) -> None:
|
|
2639
|
+
"""Set monitor for the current window."""
|
|
2640
|
+
...
|
|
2641
|
+
def SetWindowOpacity(opacity: float,) -> None:
|
|
2642
|
+
"""Set window opacity [0.0f..1.0f]."""
|
|
2643
|
+
...
|
|
2644
|
+
def SetWindowPosition(x: int,y: int,) -> None:
|
|
2645
|
+
"""Set window position on screen."""
|
|
2646
|
+
...
|
|
2647
|
+
def SetWindowSize(width: int,height: int,) -> None:
|
|
2648
|
+
"""Set window dimensions."""
|
|
2649
|
+
...
|
|
2650
|
+
def SetWindowState(flags: int,) -> None:
|
|
2651
|
+
"""Set window configuration state using flags."""
|
|
2652
|
+
...
|
|
2653
|
+
def SetWindowTitle(title: bytes,) -> None:
|
|
2654
|
+
"""Set title for window."""
|
|
2655
|
+
...
|
|
2656
|
+
def ShowCursor() -> None:
|
|
2657
|
+
"""Shows cursor."""
|
|
2658
|
+
...
|
|
2659
|
+
def StartAutomationEventRecording() -> None:
|
|
2660
|
+
"""Start recording automation events (AutomationEventList must be set)."""
|
|
2661
|
+
...
|
|
2662
|
+
def StopAudioStream(stream: AudioStream|list|tuple,) -> None:
|
|
2663
|
+
"""Stop audio stream."""
|
|
2664
|
+
...
|
|
2665
|
+
def StopAutomationEventRecording() -> None:
|
|
2666
|
+
"""Stop recording automation events."""
|
|
2667
|
+
...
|
|
2668
|
+
def StopMusicStream(music: Music|list|tuple,) -> None:
|
|
2669
|
+
"""Stop music playing."""
|
|
2670
|
+
...
|
|
2671
|
+
def StopSound(sound: Sound|list|tuple,) -> None:
|
|
2672
|
+
"""Stop playing a sound."""
|
|
2673
|
+
...
|
|
2674
|
+
def SwapScreenBuffer() -> None:
|
|
2675
|
+
"""Swap back buffer with front buffer (screen drawing)."""
|
|
2676
|
+
...
|
|
2677
|
+
TEXTBOX: int
|
|
2678
|
+
TEXTURE_FILTER_ANISOTROPIC_16X: int
|
|
2679
|
+
TEXTURE_FILTER_ANISOTROPIC_4X: int
|
|
2680
|
+
TEXTURE_FILTER_ANISOTROPIC_8X: int
|
|
2681
|
+
TEXTURE_FILTER_BILINEAR: int
|
|
2682
|
+
TEXTURE_FILTER_POINT: int
|
|
2683
|
+
TEXTURE_FILTER_TRILINEAR: int
|
|
2684
|
+
TEXTURE_WRAP_CLAMP: int
|
|
2685
|
+
TEXTURE_WRAP_MIRROR_CLAMP: int
|
|
2686
|
+
TEXTURE_WRAP_MIRROR_REPEAT: int
|
|
2687
|
+
TEXTURE_WRAP_REPEAT: int
|
|
2688
|
+
TEXT_ALIGNMENT: int
|
|
2689
|
+
TEXT_ALIGNMENT_VERTICAL: int
|
|
2690
|
+
TEXT_ALIGN_BOTTOM: int
|
|
2691
|
+
TEXT_ALIGN_CENTER: int
|
|
2692
|
+
TEXT_ALIGN_LEFT: int
|
|
2693
|
+
TEXT_ALIGN_MIDDLE: int
|
|
2694
|
+
TEXT_ALIGN_RIGHT: int
|
|
2695
|
+
TEXT_ALIGN_TOP: int
|
|
2696
|
+
TEXT_COLOR_DISABLED: int
|
|
2697
|
+
TEXT_COLOR_FOCUSED: int
|
|
2698
|
+
TEXT_COLOR_NORMAL: int
|
|
2699
|
+
TEXT_COLOR_PRESSED: int
|
|
2700
|
+
TEXT_LINE_SPACING: int
|
|
2701
|
+
TEXT_PADDING: int
|
|
2702
|
+
TEXT_READONLY: int
|
|
2703
|
+
TEXT_SIZE: int
|
|
2704
|
+
TEXT_SPACING: int
|
|
2705
|
+
TEXT_WRAP_CHAR: int
|
|
2706
|
+
TEXT_WRAP_MODE: int
|
|
2707
|
+
TEXT_WRAP_NONE: int
|
|
2708
|
+
TEXT_WRAP_WORD: int
|
|
2709
|
+
TOGGLE: int
|
|
2710
|
+
def TakeScreenshot(fileName: bytes,) -> None:
|
|
2711
|
+
"""Takes a screenshot of current screen (filename extension defines format)."""
|
|
2712
|
+
...
|
|
2713
|
+
def TextAppend(text: bytes,append: bytes,position: Any,) -> None:
|
|
2714
|
+
"""Append text at specific position and move cursor!."""
|
|
2715
|
+
...
|
|
2716
|
+
def TextCopy(dst: bytes,src: bytes,) -> int:
|
|
2717
|
+
"""Copy one string to another, returns bytes copied."""
|
|
2718
|
+
...
|
|
2719
|
+
def TextFindIndex(text: bytes,find: bytes,) -> int:
|
|
2720
|
+
"""Find first text occurrence within a string."""
|
|
2721
|
+
...
|
|
2722
|
+
def TextFormat(*args) -> bytes:
|
|
2723
|
+
"""VARARG FUNCTION - MAY NOT BE SUPPORTED BY CFFI"""
|
|
2724
|
+
...
|
|
2725
|
+
def TextInsert(text: bytes,insert: bytes,position: int,) -> bytes:
|
|
2726
|
+
"""Insert text in a position (WARNING: memory must be freed!)."""
|
|
2727
|
+
...
|
|
2728
|
+
def TextIsEqual(text1: bytes,text2: bytes,) -> bool:
|
|
2729
|
+
"""Check if two text string are equal."""
|
|
2730
|
+
...
|
|
2731
|
+
def TextJoin(textList: list[bytes],count: int,delimiter: bytes,) -> bytes:
|
|
2732
|
+
"""Join text strings with delimiter."""
|
|
2733
|
+
...
|
|
2734
|
+
def TextLength(text: bytes,) -> int:
|
|
2735
|
+
"""Get text length, checks for '\0' ending."""
|
|
2736
|
+
...
|
|
2737
|
+
def TextReplace(text: bytes,replace: bytes,by: bytes,) -> bytes:
|
|
2738
|
+
"""Replace text string (WARNING: memory must be freed!)."""
|
|
2739
|
+
...
|
|
2740
|
+
def TextSplit(text: bytes,delimiter: bytes,count: Any,) -> list[bytes]:
|
|
2741
|
+
"""Split text into multiple strings."""
|
|
2742
|
+
...
|
|
2743
|
+
def TextSubtext(text: bytes,position: int,length: int,) -> bytes:
|
|
2744
|
+
"""Get a piece of a text string."""
|
|
2745
|
+
...
|
|
2746
|
+
def TextToCamel(text: bytes,) -> bytes:
|
|
2747
|
+
"""Get Camel case notation version of provided string."""
|
|
2748
|
+
...
|
|
2749
|
+
def TextToFloat(text: bytes,) -> float:
|
|
2750
|
+
"""Get float value from text (negative values not supported)."""
|
|
2751
|
+
...
|
|
2752
|
+
def TextToInteger(text: bytes,) -> int:
|
|
2753
|
+
"""Get integer value from text (negative values not supported)."""
|
|
2754
|
+
...
|
|
2755
|
+
def TextToLower(text: bytes,) -> bytes:
|
|
2756
|
+
"""Get lower case version of provided string."""
|
|
2757
|
+
...
|
|
2758
|
+
def TextToPascal(text: bytes,) -> bytes:
|
|
2759
|
+
"""Get Pascal case notation version of provided string."""
|
|
2760
|
+
...
|
|
2761
|
+
def TextToSnake(text: bytes,) -> bytes:
|
|
2762
|
+
"""Get Snake case notation version of provided string."""
|
|
2763
|
+
...
|
|
2764
|
+
def TextToUpper(text: bytes,) -> bytes:
|
|
2765
|
+
"""Get upper case version of provided string."""
|
|
2766
|
+
...
|
|
2767
|
+
def ToggleBorderlessWindowed() -> None:
|
|
2768
|
+
"""Toggle window state: borderless windowed, resizes window to match monitor resolution."""
|
|
2769
|
+
...
|
|
2770
|
+
def ToggleFullscreen() -> None:
|
|
2771
|
+
"""Toggle window state: fullscreen/windowed, resizes monitor to match window resolution."""
|
|
2772
|
+
...
|
|
2773
|
+
def TraceLog(*args) -> None:
|
|
2774
|
+
"""VARARG FUNCTION - MAY NOT BE SUPPORTED BY CFFI"""
|
|
2775
|
+
...
|
|
2776
|
+
def UnloadAudioStream(stream: AudioStream|list|tuple,) -> None:
|
|
2777
|
+
"""Unload audio stream and free memory."""
|
|
2778
|
+
...
|
|
2779
|
+
def UnloadAutomationEventList(list_0: AutomationEventList|list|tuple,) -> None:
|
|
2780
|
+
"""Unload automation events list from file."""
|
|
2781
|
+
...
|
|
2782
|
+
def UnloadCodepoints(codepoints: Any,) -> None:
|
|
2783
|
+
"""Unload codepoints data from memory."""
|
|
2784
|
+
...
|
|
2785
|
+
def UnloadDirectoryFiles(files: FilePathList|list|tuple,) -> None:
|
|
2786
|
+
"""Unload filepaths."""
|
|
2787
|
+
...
|
|
2788
|
+
def UnloadDroppedFiles(files: FilePathList|list|tuple,) -> None:
|
|
2789
|
+
"""Unload dropped filepaths."""
|
|
2790
|
+
...
|
|
2791
|
+
def UnloadFileData(data: bytes,) -> None:
|
|
2792
|
+
"""Unload file data allocated by LoadFileData()."""
|
|
2793
|
+
...
|
|
2794
|
+
def UnloadFileText(text: bytes,) -> None:
|
|
2795
|
+
"""Unload file text data allocated by LoadFileText()."""
|
|
2796
|
+
...
|
|
2797
|
+
def UnloadFont(font: Font|list|tuple,) -> None:
|
|
2798
|
+
"""Unload font from GPU memory (VRAM)."""
|
|
2799
|
+
...
|
|
2800
|
+
def UnloadFontData(glyphs: Any|list|tuple,glyphCount: int,) -> None:
|
|
2801
|
+
"""Unload font chars info data (RAM)."""
|
|
2802
|
+
...
|
|
2803
|
+
def UnloadImage(image: Image|list|tuple,) -> None:
|
|
2804
|
+
"""Unload image from CPU memory (RAM)."""
|
|
2805
|
+
...
|
|
2806
|
+
def UnloadImageColors(colors: Any|list|tuple,) -> None:
|
|
2807
|
+
"""Unload color data loaded with LoadImageColors()."""
|
|
2808
|
+
...
|
|
2809
|
+
def UnloadImagePalette(colors: Any|list|tuple,) -> None:
|
|
2810
|
+
"""Unload colors palette loaded with LoadImagePalette()."""
|
|
2811
|
+
...
|
|
2812
|
+
def UnloadMaterial(material: Material|list|tuple,) -> None:
|
|
2813
|
+
"""Unload material from GPU memory (VRAM)."""
|
|
2814
|
+
...
|
|
2815
|
+
def UnloadMesh(mesh: Mesh|list|tuple,) -> None:
|
|
2816
|
+
"""Unload mesh data from CPU and GPU."""
|
|
2817
|
+
...
|
|
2818
|
+
def UnloadModel(model: Model|list|tuple,) -> None:
|
|
2819
|
+
"""Unload model (including meshes) from memory (RAM and/or VRAM)."""
|
|
2820
|
+
...
|
|
2821
|
+
def UnloadModelAnimation(anim: ModelAnimation|list|tuple,) -> None:
|
|
2822
|
+
"""Unload animation data."""
|
|
2823
|
+
...
|
|
2824
|
+
def UnloadModelAnimations(animations: Any|list|tuple,animCount: int,) -> None:
|
|
2825
|
+
"""Unload animation array data."""
|
|
2826
|
+
...
|
|
2827
|
+
def UnloadMusicStream(music: Music|list|tuple,) -> None:
|
|
2828
|
+
"""Unload music stream."""
|
|
2829
|
+
...
|
|
2830
|
+
def UnloadRandomSequence(sequence: Any,) -> None:
|
|
2831
|
+
"""Unload random values sequence."""
|
|
2832
|
+
...
|
|
2833
|
+
def UnloadRenderTexture(target: RenderTexture|list|tuple,) -> None:
|
|
2834
|
+
"""Unload render texture from GPU memory (VRAM)."""
|
|
2835
|
+
...
|
|
2836
|
+
def UnloadShader(shader: Shader|list|tuple,) -> None:
|
|
2837
|
+
"""Unload shader from GPU memory (VRAM)."""
|
|
2838
|
+
...
|
|
2839
|
+
def UnloadSound(sound: Sound|list|tuple,) -> None:
|
|
2840
|
+
"""Unload sound."""
|
|
2841
|
+
...
|
|
2842
|
+
def UnloadSoundAlias(alias: Sound|list|tuple,) -> None:
|
|
2843
|
+
"""Unload a sound alias (does not deallocate sample data)."""
|
|
2844
|
+
...
|
|
2845
|
+
def UnloadTexture(texture: Texture|list|tuple,) -> None:
|
|
2846
|
+
"""Unload texture from GPU memory (VRAM)."""
|
|
2847
|
+
...
|
|
2848
|
+
def UnloadUTF8(text: bytes,) -> None:
|
|
2849
|
+
"""Unload UTF-8 text encoded from codepoints array."""
|
|
2850
|
+
...
|
|
2851
|
+
def UnloadVrStereoConfig(config: VrStereoConfig|list|tuple,) -> None:
|
|
2852
|
+
"""Unload VR stereo config."""
|
|
2853
|
+
...
|
|
2854
|
+
def UnloadWave(wave: Wave|list|tuple,) -> None:
|
|
2855
|
+
"""Unload wave data."""
|
|
2856
|
+
...
|
|
2857
|
+
def UnloadWaveSamples(samples: Any,) -> None:
|
|
2858
|
+
"""Unload samples data loaded with LoadWaveSamples()."""
|
|
2859
|
+
...
|
|
2860
|
+
def UpdateAudioStream(stream: AudioStream|list|tuple,data: Any,frameCount: int,) -> None:
|
|
2861
|
+
"""Update audio stream buffers with data."""
|
|
2862
|
+
...
|
|
2863
|
+
def UpdateCamera(camera: Any|list|tuple,mode: int,) -> None:
|
|
2864
|
+
"""Update camera position for selected mode."""
|
|
2865
|
+
...
|
|
2866
|
+
def UpdateCameraPro(camera: Any|list|tuple,movement: Vector3|list|tuple,rotation: Vector3|list|tuple,zoom: float,) -> None:
|
|
2867
|
+
"""Update camera movement/rotation."""
|
|
2868
|
+
...
|
|
2869
|
+
def UpdateMeshBuffer(mesh: Mesh|list|tuple,index: int,data: Any,dataSize: int,offset: int,) -> None:
|
|
2870
|
+
"""Update mesh vertex data in GPU for a specific buffer index."""
|
|
2871
|
+
...
|
|
2872
|
+
def UpdateModelAnimation(model: Model|list|tuple,anim: ModelAnimation|list|tuple,frame: int,) -> None:
|
|
2873
|
+
"""Update model animation pose (CPU)."""
|
|
2874
|
+
...
|
|
2875
|
+
def UpdateModelAnimationBones(model: Model|list|tuple,anim: ModelAnimation|list|tuple,frame: int,) -> None:
|
|
2876
|
+
"""Update model animation mesh bone matrices (GPU skinning)."""
|
|
2877
|
+
...
|
|
2878
|
+
def UpdateMusicStream(music: Music|list|tuple,) -> None:
|
|
2879
|
+
"""Updates buffers for music streaming."""
|
|
2880
|
+
...
|
|
2881
|
+
def UpdateSound(sound: Sound|list|tuple,data: Any,sampleCount: int,) -> None:
|
|
2882
|
+
"""Update sound buffer with new data."""
|
|
2883
|
+
...
|
|
2884
|
+
def UpdateTexture(texture: Texture|list|tuple,pixels: Any,) -> None:
|
|
2885
|
+
"""Update GPU texture with new data."""
|
|
2886
|
+
...
|
|
2887
|
+
def UpdateTextureRec(texture: Texture|list|tuple,rec: Rectangle|list|tuple,pixels: Any,) -> None:
|
|
2888
|
+
"""Update GPU texture rectangle with new data."""
|
|
2889
|
+
...
|
|
2890
|
+
def UploadMesh(mesh: Any|list|tuple,dynamic: bool,) -> None:
|
|
2891
|
+
"""Upload mesh vertex data in GPU and provide VAO/VBO ids."""
|
|
2892
|
+
...
|
|
2893
|
+
VALUEBOX: int
|
|
2894
|
+
def Vector2Add(v1: Vector2|list|tuple,v2: Vector2|list|tuple,) -> Vector2:
|
|
2895
|
+
"""."""
|
|
2896
|
+
...
|
|
2897
|
+
def Vector2AddValue(v: Vector2|list|tuple,add: float,) -> Vector2:
|
|
2898
|
+
"""."""
|
|
2899
|
+
...
|
|
2900
|
+
def Vector2Angle(v1: Vector2|list|tuple,v2: Vector2|list|tuple,) -> float:
|
|
2901
|
+
"""."""
|
|
2902
|
+
...
|
|
2903
|
+
def Vector2Clamp(v: Vector2|list|tuple,min_1: Vector2|list|tuple,max_2: Vector2|list|tuple,) -> Vector2:
|
|
2904
|
+
"""."""
|
|
2905
|
+
...
|
|
2906
|
+
def Vector2ClampValue(v: Vector2|list|tuple,min_1: float,max_2: float,) -> Vector2:
|
|
2907
|
+
"""."""
|
|
2908
|
+
...
|
|
2909
|
+
def Vector2Distance(v1: Vector2|list|tuple,v2: Vector2|list|tuple,) -> float:
|
|
2910
|
+
"""."""
|
|
2911
|
+
...
|
|
2912
|
+
def Vector2DistanceSqr(v1: Vector2|list|tuple,v2: Vector2|list|tuple,) -> float:
|
|
2913
|
+
"""."""
|
|
2914
|
+
...
|
|
2915
|
+
def Vector2Divide(v1: Vector2|list|tuple,v2: Vector2|list|tuple,) -> Vector2:
|
|
2916
|
+
"""."""
|
|
2917
|
+
...
|
|
2918
|
+
def Vector2DotProduct(v1: Vector2|list|tuple,v2: Vector2|list|tuple,) -> float:
|
|
2919
|
+
"""."""
|
|
2920
|
+
...
|
|
2921
|
+
def Vector2Equals(p: Vector2|list|tuple,q: Vector2|list|tuple,) -> int:
|
|
2922
|
+
"""."""
|
|
2923
|
+
...
|
|
2924
|
+
def Vector2Invert(v: Vector2|list|tuple,) -> Vector2:
|
|
2925
|
+
"""."""
|
|
2926
|
+
...
|
|
2927
|
+
def Vector2Length(v: Vector2|list|tuple,) -> float:
|
|
2928
|
+
"""."""
|
|
2929
|
+
...
|
|
2930
|
+
def Vector2LengthSqr(v: Vector2|list|tuple,) -> float:
|
|
2931
|
+
"""."""
|
|
2932
|
+
...
|
|
2933
|
+
def Vector2Lerp(v1: Vector2|list|tuple,v2: Vector2|list|tuple,amount: float,) -> Vector2:
|
|
2934
|
+
"""."""
|
|
2935
|
+
...
|
|
2936
|
+
def Vector2LineAngle(start: Vector2|list|tuple,end: Vector2|list|tuple,) -> float:
|
|
2937
|
+
"""."""
|
|
2938
|
+
...
|
|
2939
|
+
def Vector2Max(v1: Vector2|list|tuple,v2: Vector2|list|tuple,) -> Vector2:
|
|
2940
|
+
"""."""
|
|
2941
|
+
...
|
|
2942
|
+
def Vector2Min(v1: Vector2|list|tuple,v2: Vector2|list|tuple,) -> Vector2:
|
|
2943
|
+
"""."""
|
|
2944
|
+
...
|
|
2945
|
+
def Vector2MoveTowards(v: Vector2|list|tuple,target: Vector2|list|tuple,maxDistance: float,) -> Vector2:
|
|
2946
|
+
"""."""
|
|
2947
|
+
...
|
|
2948
|
+
def Vector2Multiply(v1: Vector2|list|tuple,v2: Vector2|list|tuple,) -> Vector2:
|
|
2949
|
+
"""."""
|
|
2950
|
+
...
|
|
2951
|
+
def Vector2Negate(v: Vector2|list|tuple,) -> Vector2:
|
|
2952
|
+
"""."""
|
|
2953
|
+
...
|
|
2954
|
+
def Vector2Normalize(v: Vector2|list|tuple,) -> Vector2:
|
|
2955
|
+
"""."""
|
|
2956
|
+
...
|
|
2957
|
+
def Vector2One() -> Vector2:
|
|
2958
|
+
"""."""
|
|
2959
|
+
...
|
|
2960
|
+
def Vector2Reflect(v: Vector2|list|tuple,normal: Vector2|list|tuple,) -> Vector2:
|
|
2961
|
+
"""."""
|
|
2962
|
+
...
|
|
2963
|
+
def Vector2Refract(v: Vector2|list|tuple,n: Vector2|list|tuple,r: float,) -> Vector2:
|
|
2964
|
+
"""."""
|
|
2965
|
+
...
|
|
2966
|
+
def Vector2Rotate(v: Vector2|list|tuple,angle: float,) -> Vector2:
|
|
2967
|
+
"""."""
|
|
2968
|
+
...
|
|
2969
|
+
def Vector2Scale(v: Vector2|list|tuple,scale: float,) -> Vector2:
|
|
2970
|
+
"""."""
|
|
2971
|
+
...
|
|
2972
|
+
def Vector2Subtract(v1: Vector2|list|tuple,v2: Vector2|list|tuple,) -> Vector2:
|
|
2973
|
+
"""."""
|
|
2974
|
+
...
|
|
2975
|
+
def Vector2SubtractValue(v: Vector2|list|tuple,sub: float,) -> Vector2:
|
|
2976
|
+
"""."""
|
|
2977
|
+
...
|
|
2978
|
+
def Vector2Transform(v: Vector2|list|tuple,mat: Matrix|list|tuple,) -> Vector2:
|
|
2979
|
+
"""."""
|
|
2980
|
+
...
|
|
2981
|
+
def Vector2Zero() -> Vector2:
|
|
2982
|
+
"""."""
|
|
2983
|
+
...
|
|
2984
|
+
def Vector3Add(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> Vector3:
|
|
2985
|
+
"""."""
|
|
2986
|
+
...
|
|
2987
|
+
def Vector3AddValue(v: Vector3|list|tuple,add: float,) -> Vector3:
|
|
2988
|
+
"""."""
|
|
2989
|
+
...
|
|
2990
|
+
def Vector3Angle(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> float:
|
|
2991
|
+
"""."""
|
|
2992
|
+
...
|
|
2993
|
+
def Vector3Barycenter(p: Vector3|list|tuple,a: Vector3|list|tuple,b: Vector3|list|tuple,c: Vector3|list|tuple,) -> Vector3:
|
|
2994
|
+
"""."""
|
|
2995
|
+
...
|
|
2996
|
+
def Vector3Clamp(v: Vector3|list|tuple,min_1: Vector3|list|tuple,max_2: Vector3|list|tuple,) -> Vector3:
|
|
2997
|
+
"""."""
|
|
2998
|
+
...
|
|
2999
|
+
def Vector3ClampValue(v: Vector3|list|tuple,min_1: float,max_2: float,) -> Vector3:
|
|
3000
|
+
"""."""
|
|
3001
|
+
...
|
|
3002
|
+
def Vector3CrossProduct(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> Vector3:
|
|
3003
|
+
"""."""
|
|
3004
|
+
...
|
|
3005
|
+
def Vector3CubicHermite(v1: Vector3|list|tuple,tangent1: Vector3|list|tuple,v2: Vector3|list|tuple,tangent2: Vector3|list|tuple,amount: float,) -> Vector3:
|
|
3006
|
+
"""."""
|
|
3007
|
+
...
|
|
3008
|
+
def Vector3Distance(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> float:
|
|
3009
|
+
"""."""
|
|
3010
|
+
...
|
|
3011
|
+
def Vector3DistanceSqr(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> float:
|
|
3012
|
+
"""."""
|
|
3013
|
+
...
|
|
3014
|
+
def Vector3Divide(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> Vector3:
|
|
3015
|
+
"""."""
|
|
3016
|
+
...
|
|
3017
|
+
def Vector3DotProduct(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> float:
|
|
3018
|
+
"""."""
|
|
3019
|
+
...
|
|
3020
|
+
def Vector3Equals(p: Vector3|list|tuple,q: Vector3|list|tuple,) -> int:
|
|
3021
|
+
"""."""
|
|
3022
|
+
...
|
|
3023
|
+
def Vector3Invert(v: Vector3|list|tuple,) -> Vector3:
|
|
3024
|
+
"""."""
|
|
3025
|
+
...
|
|
3026
|
+
def Vector3Length(v: Vector3|list|tuple,) -> float:
|
|
3027
|
+
"""."""
|
|
3028
|
+
...
|
|
3029
|
+
def Vector3LengthSqr(v: Vector3|list|tuple,) -> float:
|
|
3030
|
+
"""."""
|
|
3031
|
+
...
|
|
3032
|
+
def Vector3Lerp(v1: Vector3|list|tuple,v2: Vector3|list|tuple,amount: float,) -> Vector3:
|
|
3033
|
+
"""."""
|
|
3034
|
+
...
|
|
3035
|
+
def Vector3Max(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> Vector3:
|
|
3036
|
+
"""."""
|
|
3037
|
+
...
|
|
3038
|
+
def Vector3Min(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> Vector3:
|
|
3039
|
+
"""."""
|
|
3040
|
+
...
|
|
3041
|
+
def Vector3MoveTowards(v: Vector3|list|tuple,target: Vector3|list|tuple,maxDistance: float,) -> Vector3:
|
|
3042
|
+
"""."""
|
|
3043
|
+
...
|
|
3044
|
+
def Vector3Multiply(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> Vector3:
|
|
3045
|
+
"""."""
|
|
3046
|
+
...
|
|
3047
|
+
def Vector3Negate(v: Vector3|list|tuple,) -> Vector3:
|
|
3048
|
+
"""."""
|
|
3049
|
+
...
|
|
3050
|
+
def Vector3Normalize(v: Vector3|list|tuple,) -> Vector3:
|
|
3051
|
+
"""."""
|
|
3052
|
+
...
|
|
3053
|
+
def Vector3One() -> Vector3:
|
|
3054
|
+
"""."""
|
|
3055
|
+
...
|
|
3056
|
+
def Vector3OrthoNormalize(v1: Any|list|tuple,v2: Any|list|tuple,) -> None:
|
|
3057
|
+
"""."""
|
|
3058
|
+
...
|
|
3059
|
+
def Vector3Perpendicular(v: Vector3|list|tuple,) -> Vector3:
|
|
3060
|
+
"""."""
|
|
3061
|
+
...
|
|
3062
|
+
def Vector3Project(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> Vector3:
|
|
3063
|
+
"""."""
|
|
3064
|
+
...
|
|
3065
|
+
def Vector3Reflect(v: Vector3|list|tuple,normal: Vector3|list|tuple,) -> Vector3:
|
|
3066
|
+
"""."""
|
|
3067
|
+
...
|
|
3068
|
+
def Vector3Refract(v: Vector3|list|tuple,n: Vector3|list|tuple,r: float,) -> Vector3:
|
|
3069
|
+
"""."""
|
|
3070
|
+
...
|
|
3071
|
+
def Vector3Reject(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> Vector3:
|
|
3072
|
+
"""."""
|
|
3073
|
+
...
|
|
3074
|
+
def Vector3RotateByAxisAngle(v: Vector3|list|tuple,axis: Vector3|list|tuple,angle: float,) -> Vector3:
|
|
3075
|
+
"""."""
|
|
3076
|
+
...
|
|
3077
|
+
def Vector3RotateByQuaternion(v: Vector3|list|tuple,q: Vector4|list|tuple,) -> Vector3:
|
|
3078
|
+
"""."""
|
|
3079
|
+
...
|
|
3080
|
+
def Vector3Scale(v: Vector3|list|tuple,scalar: float,) -> Vector3:
|
|
3081
|
+
"""."""
|
|
3082
|
+
...
|
|
3083
|
+
def Vector3Subtract(v1: Vector3|list|tuple,v2: Vector3|list|tuple,) -> Vector3:
|
|
3084
|
+
"""."""
|
|
3085
|
+
...
|
|
3086
|
+
def Vector3SubtractValue(v: Vector3|list|tuple,sub: float,) -> Vector3:
|
|
3087
|
+
"""."""
|
|
3088
|
+
...
|
|
3089
|
+
def Vector3ToFloatV(v: Vector3|list|tuple,) -> float3:
|
|
3090
|
+
"""."""
|
|
3091
|
+
...
|
|
3092
|
+
def Vector3Transform(v: Vector3|list|tuple,mat: Matrix|list|tuple,) -> Vector3:
|
|
3093
|
+
"""."""
|
|
3094
|
+
...
|
|
3095
|
+
def Vector3Unproject(source: Vector3|list|tuple,projection: Matrix|list|tuple,view: Matrix|list|tuple,) -> Vector3:
|
|
3096
|
+
"""."""
|
|
3097
|
+
...
|
|
3098
|
+
def Vector3Zero() -> Vector3:
|
|
3099
|
+
"""."""
|
|
3100
|
+
...
|
|
3101
|
+
def Vector4Add(v1: Vector4|list|tuple,v2: Vector4|list|tuple,) -> Vector4:
|
|
3102
|
+
"""."""
|
|
3103
|
+
...
|
|
3104
|
+
def Vector4AddValue(v: Vector4|list|tuple,add: float,) -> Vector4:
|
|
3105
|
+
"""."""
|
|
3106
|
+
...
|
|
3107
|
+
def Vector4Distance(v1: Vector4|list|tuple,v2: Vector4|list|tuple,) -> float:
|
|
3108
|
+
"""."""
|
|
3109
|
+
...
|
|
3110
|
+
def Vector4DistanceSqr(v1: Vector4|list|tuple,v2: Vector4|list|tuple,) -> float:
|
|
3111
|
+
"""."""
|
|
3112
|
+
...
|
|
3113
|
+
def Vector4Divide(v1: Vector4|list|tuple,v2: Vector4|list|tuple,) -> Vector4:
|
|
3114
|
+
"""."""
|
|
3115
|
+
...
|
|
3116
|
+
def Vector4DotProduct(v1: Vector4|list|tuple,v2: Vector4|list|tuple,) -> float:
|
|
3117
|
+
"""."""
|
|
3118
|
+
...
|
|
3119
|
+
def Vector4Equals(p: Vector4|list|tuple,q: Vector4|list|tuple,) -> int:
|
|
3120
|
+
"""."""
|
|
3121
|
+
...
|
|
3122
|
+
def Vector4Invert(v: Vector4|list|tuple,) -> Vector4:
|
|
3123
|
+
"""."""
|
|
3124
|
+
...
|
|
3125
|
+
def Vector4Length(v: Vector4|list|tuple,) -> float:
|
|
3126
|
+
"""."""
|
|
3127
|
+
...
|
|
3128
|
+
def Vector4LengthSqr(v: Vector4|list|tuple,) -> float:
|
|
3129
|
+
"""."""
|
|
3130
|
+
...
|
|
3131
|
+
def Vector4Lerp(v1: Vector4|list|tuple,v2: Vector4|list|tuple,amount: float,) -> Vector4:
|
|
3132
|
+
"""."""
|
|
3133
|
+
...
|
|
3134
|
+
def Vector4Max(v1: Vector4|list|tuple,v2: Vector4|list|tuple,) -> Vector4:
|
|
3135
|
+
"""."""
|
|
3136
|
+
...
|
|
3137
|
+
def Vector4Min(v1: Vector4|list|tuple,v2: Vector4|list|tuple,) -> Vector4:
|
|
3138
|
+
"""."""
|
|
3139
|
+
...
|
|
3140
|
+
def Vector4MoveTowards(v: Vector4|list|tuple,target: Vector4|list|tuple,maxDistance: float,) -> Vector4:
|
|
3141
|
+
"""."""
|
|
3142
|
+
...
|
|
3143
|
+
def Vector4Multiply(v1: Vector4|list|tuple,v2: Vector4|list|tuple,) -> Vector4:
|
|
3144
|
+
"""."""
|
|
3145
|
+
...
|
|
3146
|
+
def Vector4Negate(v: Vector4|list|tuple,) -> Vector4:
|
|
3147
|
+
"""."""
|
|
3148
|
+
...
|
|
3149
|
+
def Vector4Normalize(v: Vector4|list|tuple,) -> Vector4:
|
|
3150
|
+
"""."""
|
|
3151
|
+
...
|
|
3152
|
+
def Vector4One() -> Vector4:
|
|
3153
|
+
"""."""
|
|
3154
|
+
...
|
|
3155
|
+
def Vector4Scale(v: Vector4|list|tuple,scale: float,) -> Vector4:
|
|
3156
|
+
"""."""
|
|
3157
|
+
...
|
|
3158
|
+
def Vector4Subtract(v1: Vector4|list|tuple,v2: Vector4|list|tuple,) -> Vector4:
|
|
3159
|
+
"""."""
|
|
3160
|
+
...
|
|
3161
|
+
def Vector4SubtractValue(v: Vector4|list|tuple,add: float,) -> Vector4:
|
|
3162
|
+
"""."""
|
|
3163
|
+
...
|
|
3164
|
+
def Vector4Zero() -> Vector4:
|
|
3165
|
+
"""."""
|
|
3166
|
+
...
|
|
3167
|
+
def WaitTime(seconds: float,) -> None:
|
|
3168
|
+
"""Wait for some time (halt program execution)."""
|
|
3169
|
+
...
|
|
3170
|
+
def WaveCopy(wave: Wave|list|tuple,) -> Wave:
|
|
3171
|
+
"""Copy a wave to a new wave."""
|
|
3172
|
+
...
|
|
3173
|
+
def WaveCrop(wave: Any|list|tuple,initFrame: int,finalFrame: int,) -> None:
|
|
3174
|
+
"""Crop a wave to defined frames range."""
|
|
3175
|
+
...
|
|
3176
|
+
def WaveFormat(wave: Any|list|tuple,sampleRate: int,sampleSize: int,channels: int,) -> None:
|
|
3177
|
+
"""Convert wave data to desired format."""
|
|
3178
|
+
...
|
|
3179
|
+
def WindowShouldClose() -> bool:
|
|
3180
|
+
"""Check if application should close (KEY_ESCAPE pressed or windows close icon clicked)."""
|
|
3181
|
+
...
|
|
3182
|
+
def Wrap(value: float,min_1: float,max_2: float,) -> float:
|
|
3183
|
+
"""."""
|
|
3184
|
+
...
|
|
3185
|
+
def glfwCreateCursor(image: Any|list|tuple,xhot: int,yhot: int,) -> Any:
|
|
3186
|
+
"""."""
|
|
3187
|
+
...
|
|
3188
|
+
def glfwCreateStandardCursor(shape: int,) -> Any:
|
|
3189
|
+
"""."""
|
|
3190
|
+
...
|
|
3191
|
+
def glfwCreateWindow(width: int,height: int,title: bytes,monitor: Any|list|tuple,share: Any|list|tuple,) -> Any:
|
|
3192
|
+
"""."""
|
|
3193
|
+
...
|
|
3194
|
+
def glfwDefaultWindowHints() -> None:
|
|
3195
|
+
"""."""
|
|
3196
|
+
...
|
|
3197
|
+
def glfwDestroyCursor(cursor: Any|list|tuple,) -> None:
|
|
3198
|
+
"""."""
|
|
3199
|
+
...
|
|
3200
|
+
def glfwDestroyWindow(window: Any|list|tuple,) -> None:
|
|
3201
|
+
"""."""
|
|
3202
|
+
...
|
|
3203
|
+
def glfwExtensionSupported(extension: bytes,) -> int:
|
|
3204
|
+
"""."""
|
|
3205
|
+
...
|
|
3206
|
+
def glfwFocusWindow(window: Any|list|tuple,) -> None:
|
|
3207
|
+
"""."""
|
|
3208
|
+
...
|
|
3209
|
+
def glfwGetClipboardString(window: Any|list|tuple,) -> bytes:
|
|
3210
|
+
"""."""
|
|
3211
|
+
...
|
|
3212
|
+
def glfwGetCurrentContext() -> Any:
|
|
3213
|
+
"""."""
|
|
3214
|
+
...
|
|
3215
|
+
def glfwGetCursorPos(window: Any|list|tuple,xpos: Any,ypos: Any,) -> None:
|
|
3216
|
+
"""."""
|
|
3217
|
+
...
|
|
3218
|
+
def glfwGetError(description: list[bytes],) -> int:
|
|
3219
|
+
"""."""
|
|
3220
|
+
...
|
|
3221
|
+
def glfwGetFramebufferSize(window: Any|list|tuple,width: Any,height: Any,) -> None:
|
|
3222
|
+
"""."""
|
|
3223
|
+
...
|
|
3224
|
+
def glfwGetGamepadName(jid: int,) -> bytes:
|
|
3225
|
+
"""."""
|
|
3226
|
+
...
|
|
3227
|
+
def glfwGetGamepadState(jid: int,state: Any|list|tuple,) -> int:
|
|
3228
|
+
"""."""
|
|
3229
|
+
...
|
|
3230
|
+
def glfwGetGammaRamp(monitor: Any|list|tuple,) -> Any:
|
|
3231
|
+
"""."""
|
|
3232
|
+
...
|
|
3233
|
+
def glfwGetInputMode(window: Any|list|tuple,mode: int,) -> int:
|
|
3234
|
+
"""."""
|
|
3235
|
+
...
|
|
3236
|
+
def glfwGetJoystickAxes(jid: int,count: Any,) -> Any:
|
|
3237
|
+
"""."""
|
|
3238
|
+
...
|
|
3239
|
+
def glfwGetJoystickButtons(jid: int,count: Any,) -> bytes:
|
|
3240
|
+
"""."""
|
|
3241
|
+
...
|
|
3242
|
+
def glfwGetJoystickGUID(jid: int,) -> bytes:
|
|
3243
|
+
"""."""
|
|
3244
|
+
...
|
|
3245
|
+
def glfwGetJoystickHats(jid: int,count: Any,) -> bytes:
|
|
3246
|
+
"""."""
|
|
3247
|
+
...
|
|
3248
|
+
def glfwGetJoystickName(jid: int,) -> bytes:
|
|
3249
|
+
"""."""
|
|
3250
|
+
...
|
|
3251
|
+
def glfwGetJoystickUserPointer(jid: int,) -> Any:
|
|
3252
|
+
"""."""
|
|
3253
|
+
...
|
|
3254
|
+
def glfwGetKey(window: Any|list|tuple,key: int,) -> int:
|
|
3255
|
+
"""."""
|
|
3256
|
+
...
|
|
3257
|
+
def glfwGetKeyName(key: int,scancode: int,) -> bytes:
|
|
3258
|
+
"""."""
|
|
3259
|
+
...
|
|
3260
|
+
def glfwGetKeyScancode(key: int,) -> int:
|
|
3261
|
+
"""."""
|
|
3262
|
+
...
|
|
3263
|
+
def glfwGetMonitorContentScale(monitor: Any|list|tuple,xscale: Any,yscale: Any,) -> None:
|
|
3264
|
+
"""."""
|
|
3265
|
+
...
|
|
3266
|
+
def glfwGetMonitorName(monitor: Any|list|tuple,) -> bytes:
|
|
3267
|
+
"""."""
|
|
3268
|
+
...
|
|
3269
|
+
def glfwGetMonitorPhysicalSize(monitor: Any|list|tuple,widthMM: Any,heightMM: Any,) -> None:
|
|
3270
|
+
"""."""
|
|
3271
|
+
...
|
|
3272
|
+
def glfwGetMonitorPos(monitor: Any|list|tuple,xpos: Any,ypos: Any,) -> None:
|
|
3273
|
+
"""."""
|
|
3274
|
+
...
|
|
3275
|
+
def glfwGetMonitorUserPointer(monitor: Any|list|tuple,) -> Any:
|
|
3276
|
+
"""."""
|
|
3277
|
+
...
|
|
3278
|
+
def glfwGetMonitorWorkarea(monitor: Any|list|tuple,xpos: Any,ypos: Any,width: Any,height: Any,) -> None:
|
|
3279
|
+
"""."""
|
|
3280
|
+
...
|
|
3281
|
+
def glfwGetMonitors(count: Any,) -> Any:
|
|
3282
|
+
"""."""
|
|
3283
|
+
...
|
|
3284
|
+
def glfwGetMouseButton(window: Any|list|tuple,button: int,) -> int:
|
|
3285
|
+
"""."""
|
|
3286
|
+
...
|
|
3287
|
+
def glfwGetPlatform() -> int:
|
|
3288
|
+
"""."""
|
|
3289
|
+
...
|
|
3290
|
+
def glfwGetPrimaryMonitor() -> Any:
|
|
3291
|
+
"""."""
|
|
3292
|
+
...
|
|
3293
|
+
def glfwGetProcAddress(procname: bytes,) -> Any:
|
|
3294
|
+
"""."""
|
|
3295
|
+
...
|
|
3296
|
+
def glfwGetRequiredInstanceExtensions(count: Any,) -> list[bytes]:
|
|
3297
|
+
"""."""
|
|
3298
|
+
...
|
|
3299
|
+
def glfwGetTime() -> float:
|
|
3300
|
+
"""."""
|
|
3301
|
+
...
|
|
3302
|
+
def glfwGetTimerFrequency() -> int:
|
|
3303
|
+
"""."""
|
|
3304
|
+
...
|
|
3305
|
+
def glfwGetTimerValue() -> int:
|
|
3306
|
+
"""."""
|
|
3307
|
+
...
|
|
3308
|
+
def glfwGetVersion(major: Any,minor: Any,rev: Any,) -> None:
|
|
3309
|
+
"""."""
|
|
3310
|
+
...
|
|
3311
|
+
def glfwGetVersionString() -> bytes:
|
|
3312
|
+
"""."""
|
|
3313
|
+
...
|
|
3314
|
+
def glfwGetVideoMode(monitor: Any|list|tuple,) -> Any:
|
|
3315
|
+
"""."""
|
|
3316
|
+
...
|
|
3317
|
+
def glfwGetVideoModes(monitor: Any|list|tuple,count: Any,) -> Any:
|
|
3318
|
+
"""."""
|
|
3319
|
+
...
|
|
3320
|
+
def glfwGetWindowAttrib(window: Any|list|tuple,attrib: int,) -> int:
|
|
3321
|
+
"""."""
|
|
3322
|
+
...
|
|
3323
|
+
def glfwGetWindowContentScale(window: Any|list|tuple,xscale: Any,yscale: Any,) -> None:
|
|
3324
|
+
"""."""
|
|
3325
|
+
...
|
|
3326
|
+
def glfwGetWindowFrameSize(window: Any|list|tuple,left: Any,top: Any,right: Any,bottom: Any,) -> None:
|
|
3327
|
+
"""."""
|
|
3328
|
+
...
|
|
3329
|
+
def glfwGetWindowMonitor(window: Any|list|tuple,) -> Any:
|
|
3330
|
+
"""."""
|
|
3331
|
+
...
|
|
3332
|
+
def glfwGetWindowOpacity(window: Any|list|tuple,) -> float:
|
|
3333
|
+
"""."""
|
|
3334
|
+
...
|
|
3335
|
+
def glfwGetWindowPos(window: Any|list|tuple,xpos: Any,ypos: Any,) -> None:
|
|
3336
|
+
"""."""
|
|
3337
|
+
...
|
|
3338
|
+
def glfwGetWindowSize(window: Any|list|tuple,width: Any,height: Any,) -> None:
|
|
3339
|
+
"""."""
|
|
3340
|
+
...
|
|
3341
|
+
def glfwGetWindowTitle(window: Any|list|tuple,) -> bytes:
|
|
3342
|
+
"""."""
|
|
3343
|
+
...
|
|
3344
|
+
def glfwGetWindowUserPointer(window: Any|list|tuple,) -> Any:
|
|
3345
|
+
"""."""
|
|
3346
|
+
...
|
|
3347
|
+
def glfwHideWindow(window: Any|list|tuple,) -> None:
|
|
3348
|
+
"""."""
|
|
3349
|
+
...
|
|
3350
|
+
def glfwIconifyWindow(window: Any|list|tuple,) -> None:
|
|
3351
|
+
"""."""
|
|
3352
|
+
...
|
|
3353
|
+
def glfwInit() -> int:
|
|
3354
|
+
"""."""
|
|
3355
|
+
...
|
|
3356
|
+
def glfwInitAllocator(allocator: Any|list|tuple,) -> None:
|
|
3357
|
+
"""."""
|
|
3358
|
+
...
|
|
3359
|
+
def glfwInitHint(hint: int,value: int,) -> None:
|
|
3360
|
+
"""."""
|
|
3361
|
+
...
|
|
3362
|
+
def glfwJoystickIsGamepad(jid: int,) -> int:
|
|
3363
|
+
"""."""
|
|
3364
|
+
...
|
|
3365
|
+
def glfwJoystickPresent(jid: int,) -> int:
|
|
3366
|
+
"""."""
|
|
3367
|
+
...
|
|
3368
|
+
def glfwMakeContextCurrent(window: Any|list|tuple,) -> None:
|
|
3369
|
+
"""."""
|
|
3370
|
+
...
|
|
3371
|
+
def glfwMaximizeWindow(window: Any|list|tuple,) -> None:
|
|
3372
|
+
"""."""
|
|
3373
|
+
...
|
|
3374
|
+
def glfwPlatformSupported(platform: int,) -> int:
|
|
3375
|
+
"""."""
|
|
3376
|
+
...
|
|
3377
|
+
def glfwPollEvents() -> None:
|
|
3378
|
+
"""."""
|
|
3379
|
+
...
|
|
3380
|
+
def glfwPostEmptyEvent() -> None:
|
|
3381
|
+
"""."""
|
|
3382
|
+
...
|
|
3383
|
+
def glfwRawMouseMotionSupported() -> int:
|
|
3384
|
+
"""."""
|
|
3385
|
+
...
|
|
3386
|
+
def glfwRequestWindowAttention(window: Any|list|tuple,) -> None:
|
|
3387
|
+
"""."""
|
|
3388
|
+
...
|
|
3389
|
+
def glfwRestoreWindow(window: Any|list|tuple,) -> None:
|
|
3390
|
+
"""."""
|
|
3391
|
+
...
|
|
3392
|
+
def glfwSetCharCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any:
|
|
3393
|
+
"""."""
|
|
3394
|
+
...
|
|
3395
|
+
def glfwSetCharModsCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any:
|
|
3396
|
+
"""."""
|
|
3397
|
+
...
|
|
3398
|
+
def glfwSetClipboardString(window: Any|list|tuple,string: bytes,) -> None:
|
|
3399
|
+
"""."""
|
|
3400
|
+
...
|
|
3401
|
+
def glfwSetCursor(window: Any|list|tuple,cursor: Any|list|tuple,) -> None:
|
|
3402
|
+
"""."""
|
|
3403
|
+
...
|
|
3404
|
+
def glfwSetCursorEnterCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any:
|
|
3405
|
+
"""."""
|
|
3406
|
+
...
|
|
3407
|
+
def glfwSetCursorPos(window: Any|list|tuple,xpos: float,ypos: float,) -> None:
|
|
3408
|
+
"""."""
|
|
3409
|
+
...
|
|
3410
|
+
def glfwSetCursorPosCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any:
|
|
3411
|
+
"""."""
|
|
3412
|
+
...
|
|
3413
|
+
def glfwSetDropCallback(window: Any|list|tuple,callback: list[bytes]|list|tuple,) -> list[bytes]:
|
|
3414
|
+
"""."""
|
|
3415
|
+
...
|
|
3416
|
+
def glfwSetErrorCallback(callback: bytes,) -> bytes:
|
|
3417
|
+
"""."""
|
|
3418
|
+
...
|
|
3419
|
+
def glfwSetFramebufferSizeCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any:
|
|
3420
|
+
"""."""
|
|
3421
|
+
...
|
|
3422
|
+
def glfwSetGamma(monitor: Any|list|tuple,gamma: float,) -> None:
|
|
3423
|
+
"""."""
|
|
3424
|
+
...
|
|
3425
|
+
def glfwSetGammaRamp(monitor: Any|list|tuple,ramp: Any|list|tuple,) -> None:
|
|
3426
|
+
"""."""
|
|
3427
|
+
...
|
|
3428
|
+
def glfwSetInputMode(window: Any|list|tuple,mode: int,value: int,) -> None:
|
|
3429
|
+
"""."""
|
|
3430
|
+
...
|
|
3431
|
+
def glfwSetJoystickCallback(callback: Any,) -> Any:
|
|
3432
|
+
"""."""
|
|
3433
|
+
...
|
|
3434
|
+
def glfwSetJoystickUserPointer(jid: int,pointer: Any,) -> None:
|
|
3435
|
+
"""."""
|
|
3436
|
+
...
|
|
3437
|
+
def glfwSetKeyCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any:
|
|
3438
|
+
"""."""
|
|
3439
|
+
...
|
|
3440
|
+
def glfwSetMonitorCallback(callback: Any|list|tuple,) -> Any:
|
|
3441
|
+
"""."""
|
|
3442
|
+
...
|
|
3443
|
+
def glfwSetMonitorUserPointer(monitor: Any|list|tuple,pointer: Any,) -> None:
|
|
3444
|
+
"""."""
|
|
3445
|
+
...
|
|
3446
|
+
def glfwSetMouseButtonCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any:
|
|
3447
|
+
"""."""
|
|
3448
|
+
...
|
|
3449
|
+
def glfwSetScrollCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any:
|
|
3450
|
+
"""."""
|
|
3451
|
+
...
|
|
3452
|
+
def glfwSetTime(time: float,) -> None:
|
|
3453
|
+
"""."""
|
|
3454
|
+
...
|
|
3455
|
+
def glfwSetWindowAspectRatio(window: Any|list|tuple,numer: int,denom: int,) -> None:
|
|
3456
|
+
"""."""
|
|
3457
|
+
...
|
|
3458
|
+
def glfwSetWindowAttrib(window: Any|list|tuple,attrib: int,value: int,) -> None:
|
|
3459
|
+
"""."""
|
|
3460
|
+
...
|
|
3461
|
+
def glfwSetWindowCloseCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any:
|
|
3462
|
+
"""."""
|
|
3463
|
+
...
|
|
3464
|
+
def glfwSetWindowContentScaleCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any:
|
|
3465
|
+
"""."""
|
|
3466
|
+
...
|
|
3467
|
+
def glfwSetWindowFocusCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any:
|
|
3468
|
+
"""."""
|
|
3469
|
+
...
|
|
3470
|
+
def glfwSetWindowIcon(window: Any|list|tuple,count: int,images: Any|list|tuple,) -> None:
|
|
3471
|
+
"""."""
|
|
3472
|
+
...
|
|
3473
|
+
def glfwSetWindowIconifyCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any:
|
|
3474
|
+
"""."""
|
|
3475
|
+
...
|
|
3476
|
+
def glfwSetWindowMaximizeCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any:
|
|
3477
|
+
"""."""
|
|
3478
|
+
...
|
|
3479
|
+
def glfwSetWindowMonitor(window: Any|list|tuple,monitor: Any|list|tuple,xpos: int,ypos: int,width: int,height: int,refreshRate: int,) -> None:
|
|
3480
|
+
"""."""
|
|
3481
|
+
...
|
|
3482
|
+
def glfwSetWindowOpacity(window: Any|list|tuple,opacity: float,) -> None:
|
|
3483
|
+
"""."""
|
|
3484
|
+
...
|
|
3485
|
+
def glfwSetWindowPos(window: Any|list|tuple,xpos: int,ypos: int,) -> None:
|
|
3486
|
+
"""."""
|
|
3487
|
+
...
|
|
3488
|
+
def glfwSetWindowPosCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any:
|
|
3489
|
+
"""."""
|
|
3490
|
+
...
|
|
3491
|
+
def glfwSetWindowRefreshCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any:
|
|
3492
|
+
"""."""
|
|
3493
|
+
...
|
|
3494
|
+
def glfwSetWindowShouldClose(window: Any|list|tuple,value: int,) -> None:
|
|
3495
|
+
"""."""
|
|
3496
|
+
...
|
|
3497
|
+
def glfwSetWindowSize(window: Any|list|tuple,width: int,height: int,) -> None:
|
|
3498
|
+
"""."""
|
|
3499
|
+
...
|
|
3500
|
+
def glfwSetWindowSizeCallback(window: Any|list|tuple,callback: Any|list|tuple,) -> Any:
|
|
3501
|
+
"""."""
|
|
3502
|
+
...
|
|
3503
|
+
def glfwSetWindowSizeLimits(window: Any|list|tuple,minwidth: int,minheight: int,maxwidth: int,maxheight: int,) -> None:
|
|
3504
|
+
"""."""
|
|
3505
|
+
...
|
|
3506
|
+
def glfwSetWindowTitle(window: Any|list|tuple,title: bytes,) -> None:
|
|
3507
|
+
"""."""
|
|
3508
|
+
...
|
|
3509
|
+
def glfwSetWindowUserPointer(window: Any|list|tuple,pointer: Any,) -> None:
|
|
3510
|
+
"""."""
|
|
3511
|
+
...
|
|
3512
|
+
def glfwShowWindow(window: Any|list|tuple,) -> None:
|
|
3513
|
+
"""."""
|
|
3514
|
+
...
|
|
3515
|
+
def glfwSwapBuffers(window: Any|list|tuple,) -> None:
|
|
3516
|
+
"""."""
|
|
3517
|
+
...
|
|
3518
|
+
def glfwSwapInterval(interval: int,) -> None:
|
|
3519
|
+
"""."""
|
|
3520
|
+
...
|
|
3521
|
+
def glfwTerminate() -> None:
|
|
3522
|
+
"""."""
|
|
3523
|
+
...
|
|
3524
|
+
def glfwUpdateGamepadMappings(string: bytes,) -> int:
|
|
3525
|
+
"""."""
|
|
3526
|
+
...
|
|
3527
|
+
def glfwVulkanSupported() -> int:
|
|
3528
|
+
"""."""
|
|
3529
|
+
...
|
|
3530
|
+
def glfwWaitEvents() -> None:
|
|
3531
|
+
"""."""
|
|
3532
|
+
...
|
|
3533
|
+
def glfwWaitEventsTimeout(timeout: float,) -> None:
|
|
3534
|
+
"""."""
|
|
3535
|
+
...
|
|
3536
|
+
def glfwWindowHint(hint: int,value: int,) -> None:
|
|
3537
|
+
"""."""
|
|
3538
|
+
...
|
|
3539
|
+
def glfwWindowHintString(hint: int,value: bytes,) -> None:
|
|
3540
|
+
"""."""
|
|
3541
|
+
...
|
|
3542
|
+
def glfwWindowShouldClose(window: Any|list|tuple,) -> int:
|
|
3543
|
+
"""."""
|
|
3544
|
+
...
|
|
3545
|
+
def rlActiveDrawBuffers(count: int,) -> None:
|
|
3546
|
+
"""Activate multiple draw color buffers."""
|
|
3547
|
+
...
|
|
3548
|
+
def rlActiveTextureSlot(slot: int,) -> None:
|
|
3549
|
+
"""Select and active a texture slot."""
|
|
3550
|
+
...
|
|
3551
|
+
def rlBegin(mode: int,) -> None:
|
|
3552
|
+
"""Initialize drawing mode (how to organize vertex)."""
|
|
3553
|
+
...
|
|
3554
|
+
def rlBindFramebuffer(target: int,framebuffer: int,) -> None:
|
|
3555
|
+
"""Bind framebuffer (FBO)."""
|
|
3556
|
+
...
|
|
3557
|
+
def rlBindImageTexture(id: int,index: int,format: int,readonly: bool,) -> None:
|
|
3558
|
+
"""Bind image texture."""
|
|
3559
|
+
...
|
|
3560
|
+
def rlBindShaderBuffer(id: int,index: int,) -> None:
|
|
3561
|
+
"""Bind SSBO buffer."""
|
|
3562
|
+
...
|
|
3563
|
+
def rlBlitFramebuffer(srcX: int,srcY: int,srcWidth: int,srcHeight: int,dstX: int,dstY: int,dstWidth: int,dstHeight: int,bufferMask: int,) -> None:
|
|
3564
|
+
"""Blit active framebuffer to main framebuffer."""
|
|
3565
|
+
...
|
|
3566
|
+
def rlCheckErrors() -> None:
|
|
3567
|
+
"""Check and log OpenGL error codes."""
|
|
3568
|
+
...
|
|
3569
|
+
def rlCheckRenderBatchLimit(vCount: int,) -> bool:
|
|
3570
|
+
"""Check internal buffer overflow for a given number of vertex."""
|
|
3571
|
+
...
|
|
3572
|
+
def rlClearColor(r: bytes,g: bytes,b: bytes,a: bytes,) -> None:
|
|
3573
|
+
"""Clear color buffer with color."""
|
|
3574
|
+
...
|
|
3575
|
+
def rlClearScreenBuffers() -> None:
|
|
3576
|
+
"""Clear used screen buffers (color and depth)."""
|
|
3577
|
+
...
|
|
3578
|
+
def rlColor3f(x: float,y: float,z: float,) -> None:
|
|
3579
|
+
"""Define one vertex (color) - 3 float."""
|
|
3580
|
+
...
|
|
3581
|
+
def rlColor4f(x: float,y: float,z: float,w: float,) -> None:
|
|
3582
|
+
"""Define one vertex (color) - 4 float."""
|
|
3583
|
+
...
|
|
3584
|
+
def rlColor4ub(r: bytes,g: bytes,b: bytes,a: bytes,) -> None:
|
|
3585
|
+
"""Define one vertex (color) - 4 byte."""
|
|
3586
|
+
...
|
|
3587
|
+
def rlColorMask(r: bool,g: bool,b: bool,a: bool,) -> None:
|
|
3588
|
+
"""Color mask control."""
|
|
3589
|
+
...
|
|
3590
|
+
def rlCompileShader(shaderCode: bytes,type: int,) -> int:
|
|
3591
|
+
"""Compile custom shader and return shader id (type: RL_VERTEX_SHADER, RL_FRAGMENT_SHADER, RL_COMPUTE_SHADER)."""
|
|
3592
|
+
...
|
|
3593
|
+
def rlComputeShaderDispatch(groupX: int,groupY: int,groupZ: int,) -> None:
|
|
3594
|
+
"""Dispatch compute shader (equivalent to *draw* for graphics pipeline)."""
|
|
3595
|
+
...
|
|
3596
|
+
def rlCopyShaderBuffer(destId: int,srcId: int,destOffset: int,srcOffset: int,count: int,) -> None:
|
|
3597
|
+
"""Copy SSBO data between buffers."""
|
|
3598
|
+
...
|
|
3599
|
+
def rlCubemapParameters(id: int,param: int,value: int,) -> None:
|
|
3600
|
+
"""Set cubemap parameters (filter, wrap)."""
|
|
3601
|
+
...
|
|
3602
|
+
def rlDisableBackfaceCulling() -> None:
|
|
3603
|
+
"""Disable backface culling."""
|
|
3604
|
+
...
|
|
3605
|
+
def rlDisableColorBlend() -> None:
|
|
3606
|
+
"""Disable color blending."""
|
|
3607
|
+
...
|
|
3608
|
+
def rlDisableDepthMask() -> None:
|
|
3609
|
+
"""Disable depth write."""
|
|
3610
|
+
...
|
|
3611
|
+
def rlDisableDepthTest() -> None:
|
|
3612
|
+
"""Disable depth test."""
|
|
3613
|
+
...
|
|
3614
|
+
def rlDisableFramebuffer() -> None:
|
|
3615
|
+
"""Disable render texture (fbo), return to default framebuffer."""
|
|
3616
|
+
...
|
|
3617
|
+
def rlDisableScissorTest() -> None:
|
|
3618
|
+
"""Disable scissor test."""
|
|
3619
|
+
...
|
|
3620
|
+
def rlDisableShader() -> None:
|
|
3621
|
+
"""Disable shader program."""
|
|
3622
|
+
...
|
|
3623
|
+
def rlDisableSmoothLines() -> None:
|
|
3624
|
+
"""Disable line aliasing."""
|
|
3625
|
+
...
|
|
3626
|
+
def rlDisableStereoRender() -> None:
|
|
3627
|
+
"""Disable stereo rendering."""
|
|
3628
|
+
...
|
|
3629
|
+
def rlDisableTexture() -> None:
|
|
3630
|
+
"""Disable texture."""
|
|
3631
|
+
...
|
|
3632
|
+
def rlDisableTextureCubemap() -> None:
|
|
3633
|
+
"""Disable texture cubemap."""
|
|
3634
|
+
...
|
|
3635
|
+
def rlDisableVertexArray() -> None:
|
|
3636
|
+
"""Disable vertex array (VAO, if supported)."""
|
|
3637
|
+
...
|
|
3638
|
+
def rlDisableVertexAttribute(index: int,) -> None:
|
|
3639
|
+
"""Disable vertex attribute index."""
|
|
3640
|
+
...
|
|
3641
|
+
def rlDisableVertexBuffer() -> None:
|
|
3642
|
+
"""Disable vertex buffer (VBO)."""
|
|
3643
|
+
...
|
|
3644
|
+
def rlDisableVertexBufferElement() -> None:
|
|
3645
|
+
"""Disable vertex buffer element (VBO element)."""
|
|
3646
|
+
...
|
|
3647
|
+
def rlDisableWireMode() -> None:
|
|
3648
|
+
"""Disable wire (and point) mode."""
|
|
3649
|
+
...
|
|
3650
|
+
def rlDrawRenderBatch(batch: Any|list|tuple,) -> None:
|
|
3651
|
+
"""Draw render batch data (Update->Draw->Reset)."""
|
|
3652
|
+
...
|
|
3653
|
+
def rlDrawRenderBatchActive() -> None:
|
|
3654
|
+
"""Update and draw internal render batch."""
|
|
3655
|
+
...
|
|
3656
|
+
def rlDrawVertexArray(offset: int,count: int,) -> None:
|
|
3657
|
+
"""Draw vertex array (currently active vao)."""
|
|
3658
|
+
...
|
|
3659
|
+
def rlDrawVertexArrayElements(offset: int,count: int,buffer: Any,) -> None:
|
|
3660
|
+
"""Draw vertex array elements."""
|
|
3661
|
+
...
|
|
3662
|
+
def rlDrawVertexArrayElementsInstanced(offset: int,count: int,buffer: Any,instances: int,) -> None:
|
|
3663
|
+
"""Draw vertex array elements with instancing."""
|
|
3664
|
+
...
|
|
3665
|
+
def rlDrawVertexArrayInstanced(offset: int,count: int,instances: int,) -> None:
|
|
3666
|
+
"""Draw vertex array (currently active vao) with instancing."""
|
|
3667
|
+
...
|
|
3668
|
+
def rlEnableBackfaceCulling() -> None:
|
|
3669
|
+
"""Enable backface culling."""
|
|
3670
|
+
...
|
|
3671
|
+
def rlEnableColorBlend() -> None:
|
|
3672
|
+
"""Enable color blending."""
|
|
3673
|
+
...
|
|
3674
|
+
def rlEnableDepthMask() -> None:
|
|
3675
|
+
"""Enable depth write."""
|
|
3676
|
+
...
|
|
3677
|
+
def rlEnableDepthTest() -> None:
|
|
3678
|
+
"""Enable depth test."""
|
|
3679
|
+
...
|
|
3680
|
+
def rlEnableFramebuffer(id: int,) -> None:
|
|
3681
|
+
"""Enable render texture (fbo)."""
|
|
3682
|
+
...
|
|
3683
|
+
def rlEnablePointMode() -> None:
|
|
3684
|
+
"""Enable point mode."""
|
|
3685
|
+
...
|
|
3686
|
+
def rlEnableScissorTest() -> None:
|
|
3687
|
+
"""Enable scissor test."""
|
|
3688
|
+
...
|
|
3689
|
+
def rlEnableShader(id: int,) -> None:
|
|
3690
|
+
"""Enable shader program."""
|
|
3691
|
+
...
|
|
3692
|
+
def rlEnableSmoothLines() -> None:
|
|
3693
|
+
"""Enable line aliasing."""
|
|
3694
|
+
...
|
|
3695
|
+
def rlEnableStereoRender() -> None:
|
|
3696
|
+
"""Enable stereo rendering."""
|
|
3697
|
+
...
|
|
3698
|
+
def rlEnableTexture(id: int,) -> None:
|
|
3699
|
+
"""Enable texture."""
|
|
3700
|
+
...
|
|
3701
|
+
def rlEnableTextureCubemap(id: int,) -> None:
|
|
3702
|
+
"""Enable texture cubemap."""
|
|
3703
|
+
...
|
|
3704
|
+
def rlEnableVertexArray(vaoId: int,) -> bool:
|
|
3705
|
+
"""Enable vertex array (VAO, if supported)."""
|
|
3706
|
+
...
|
|
3707
|
+
def rlEnableVertexAttribute(index: int,) -> None:
|
|
3708
|
+
"""Enable vertex attribute index."""
|
|
3709
|
+
...
|
|
3710
|
+
def rlEnableVertexBuffer(id: int,) -> None:
|
|
3711
|
+
"""Enable vertex buffer (VBO)."""
|
|
3712
|
+
...
|
|
3713
|
+
def rlEnableVertexBufferElement(id: int,) -> None:
|
|
3714
|
+
"""Enable vertex buffer element (VBO element)."""
|
|
3715
|
+
...
|
|
3716
|
+
def rlEnableWireMode() -> None:
|
|
3717
|
+
"""Enable wire mode."""
|
|
3718
|
+
...
|
|
3719
|
+
def rlEnd() -> None:
|
|
3720
|
+
"""Finish vertex providing."""
|
|
3721
|
+
...
|
|
3722
|
+
def rlFramebufferAttach(fboId: int,texId: int,attachType: int,texType: int,mipLevel: int,) -> None:
|
|
3723
|
+
"""Attach texture/renderbuffer to a framebuffer."""
|
|
3724
|
+
...
|
|
3725
|
+
def rlFramebufferComplete(id: int,) -> bool:
|
|
3726
|
+
"""Verify framebuffer is complete."""
|
|
3727
|
+
...
|
|
3728
|
+
def rlFrustum(left: float,right: float,bottom: float,top: float,znear: float,zfar: float,) -> None:
|
|
3729
|
+
"""."""
|
|
3730
|
+
...
|
|
3731
|
+
def rlGenTextureMipmaps(id: int,width: int,height: int,format: int,mipmaps: Any,) -> None:
|
|
3732
|
+
"""Generate mipmap data for selected texture."""
|
|
3733
|
+
...
|
|
3734
|
+
def rlGetActiveFramebuffer() -> int:
|
|
3735
|
+
"""Get the currently active render texture (fbo), 0 for default framebuffer."""
|
|
3736
|
+
...
|
|
3737
|
+
def rlGetCullDistanceFar() -> float:
|
|
3738
|
+
"""Get cull plane distance far."""
|
|
3739
|
+
...
|
|
3740
|
+
def rlGetCullDistanceNear() -> float:
|
|
3741
|
+
"""Get cull plane distance near."""
|
|
3742
|
+
...
|
|
3743
|
+
def rlGetFramebufferHeight() -> int:
|
|
3744
|
+
"""Get default framebuffer height."""
|
|
3745
|
+
...
|
|
3746
|
+
def rlGetFramebufferWidth() -> int:
|
|
3747
|
+
"""Get default framebuffer width."""
|
|
3748
|
+
...
|
|
3749
|
+
def rlGetGlTextureFormats(format: int,glInternalFormat: Any,glFormat: Any,glType: Any,) -> None:
|
|
3750
|
+
"""Get OpenGL internal formats."""
|
|
3751
|
+
...
|
|
3752
|
+
def rlGetLineWidth() -> float:
|
|
3753
|
+
"""Get the line drawing width."""
|
|
3754
|
+
...
|
|
3755
|
+
def rlGetLocationAttrib(shaderId: int,attribName: bytes,) -> int:
|
|
3756
|
+
"""Get shader location attribute."""
|
|
3757
|
+
...
|
|
3758
|
+
def rlGetLocationUniform(shaderId: int,uniformName: bytes,) -> int:
|
|
3759
|
+
"""Get shader location uniform."""
|
|
3760
|
+
...
|
|
3761
|
+
def rlGetMatrixModelview() -> Matrix:
|
|
3762
|
+
"""Get internal modelview matrix."""
|
|
3763
|
+
...
|
|
3764
|
+
def rlGetMatrixProjection() -> Matrix:
|
|
3765
|
+
"""Get internal projection matrix."""
|
|
3766
|
+
...
|
|
3767
|
+
def rlGetMatrixProjectionStereo(eye: int,) -> Matrix:
|
|
3768
|
+
"""Get internal projection matrix for stereo render (selected eye)."""
|
|
3769
|
+
...
|
|
3770
|
+
def rlGetMatrixTransform() -> Matrix:
|
|
3771
|
+
"""Get internal accumulated transform matrix."""
|
|
3772
|
+
...
|
|
3773
|
+
def rlGetMatrixViewOffsetStereo(eye: int,) -> Matrix:
|
|
3774
|
+
"""Get internal view offset matrix for stereo render (selected eye)."""
|
|
3775
|
+
...
|
|
3776
|
+
def rlGetPixelFormatName(format: int,) -> bytes:
|
|
3777
|
+
"""Get name string for pixel format."""
|
|
3778
|
+
...
|
|
3779
|
+
def rlGetShaderBufferSize(id: int,) -> int:
|
|
3780
|
+
"""Get SSBO buffer size."""
|
|
3781
|
+
...
|
|
3782
|
+
def rlGetShaderIdDefault() -> int:
|
|
3783
|
+
"""Get default shader id."""
|
|
3784
|
+
...
|
|
3785
|
+
def rlGetShaderLocsDefault() -> Any:
|
|
3786
|
+
"""Get default shader locations."""
|
|
3787
|
+
...
|
|
3788
|
+
def rlGetTextureIdDefault() -> int:
|
|
3789
|
+
"""Get default texture id."""
|
|
3790
|
+
...
|
|
3791
|
+
def rlGetVersion() -> int:
|
|
3792
|
+
"""Get current OpenGL version."""
|
|
3793
|
+
...
|
|
3794
|
+
def rlIsStereoRenderEnabled() -> bool:
|
|
3795
|
+
"""Check if stereo render is enabled."""
|
|
3796
|
+
...
|
|
3797
|
+
def rlLoadComputeShaderProgram(shaderId: int,) -> int:
|
|
3798
|
+
"""Load compute shader program."""
|
|
3799
|
+
...
|
|
3800
|
+
def rlLoadDrawCube() -> None:
|
|
3801
|
+
"""Load and draw a cube."""
|
|
3802
|
+
...
|
|
3803
|
+
def rlLoadDrawQuad() -> None:
|
|
3804
|
+
"""Load and draw a quad."""
|
|
3805
|
+
...
|
|
3806
|
+
def rlLoadExtensions(loader: Any,) -> None:
|
|
3807
|
+
"""Load OpenGL extensions (loader function required)."""
|
|
3808
|
+
...
|
|
3809
|
+
def rlLoadFramebuffer() -> int:
|
|
3810
|
+
"""Load an empty framebuffer."""
|
|
3811
|
+
...
|
|
3812
|
+
def rlLoadIdentity() -> None:
|
|
3813
|
+
"""Reset current matrix to identity matrix."""
|
|
3814
|
+
...
|
|
3815
|
+
def rlLoadRenderBatch(numBuffers: int,bufferElements: int,) -> rlRenderBatch:
|
|
3816
|
+
"""Load a render batch system."""
|
|
3817
|
+
...
|
|
3818
|
+
def rlLoadShaderBuffer(size: int,data: Any,usageHint: int,) -> int:
|
|
3819
|
+
"""Load shader storage buffer object (SSBO)."""
|
|
3820
|
+
...
|
|
3821
|
+
def rlLoadShaderCode(vsCode: bytes,fsCode: bytes,) -> int:
|
|
3822
|
+
"""Load shader from code strings."""
|
|
3823
|
+
...
|
|
3824
|
+
def rlLoadShaderProgram(vShaderId: int,fShaderId: int,) -> int:
|
|
3825
|
+
"""Load custom shader program."""
|
|
3826
|
+
...
|
|
3827
|
+
def rlLoadTexture(data: Any,width: int,height: int,format: int,mipmapCount: int,) -> int:
|
|
3828
|
+
"""Load texture data."""
|
|
3829
|
+
...
|
|
3830
|
+
def rlLoadTextureCubemap(data: Any,size: int,format: int,mipmapCount: int,) -> int:
|
|
3831
|
+
"""Load texture cubemap data."""
|
|
3832
|
+
...
|
|
3833
|
+
def rlLoadTextureDepth(width: int,height: int,useRenderBuffer: bool,) -> int:
|
|
3834
|
+
"""Load depth texture/renderbuffer (to be attached to fbo)."""
|
|
3835
|
+
...
|
|
3836
|
+
def rlLoadVertexArray() -> int:
|
|
3837
|
+
"""Load vertex array (vao) if supported."""
|
|
3838
|
+
...
|
|
3839
|
+
def rlLoadVertexBuffer(buffer: Any,size: int,dynamic: bool,) -> int:
|
|
3840
|
+
"""Load a vertex buffer object."""
|
|
3841
|
+
...
|
|
3842
|
+
def rlLoadVertexBufferElement(buffer: Any,size: int,dynamic: bool,) -> int:
|
|
3843
|
+
"""Load vertex buffer elements object."""
|
|
3844
|
+
...
|
|
3845
|
+
def rlMatrixMode(mode: int,) -> None:
|
|
3846
|
+
"""Choose the current matrix to be transformed."""
|
|
3847
|
+
...
|
|
3848
|
+
def rlMultMatrixf(matf: Any,) -> None:
|
|
3849
|
+
"""Multiply the current matrix by another matrix."""
|
|
3850
|
+
...
|
|
3851
|
+
def rlNormal3f(x: float,y: float,z: float,) -> None:
|
|
3852
|
+
"""Define one vertex (normal) - 3 float."""
|
|
3853
|
+
...
|
|
3854
|
+
def rlOrtho(left: float,right: float,bottom: float,top: float,znear: float,zfar: float,) -> None:
|
|
3855
|
+
"""."""
|
|
3856
|
+
...
|
|
3857
|
+
def rlPopMatrix() -> None:
|
|
3858
|
+
"""Pop latest inserted matrix from stack."""
|
|
3859
|
+
...
|
|
3860
|
+
def rlPushMatrix() -> None:
|
|
3861
|
+
"""Push the current matrix to stack."""
|
|
3862
|
+
...
|
|
3863
|
+
def rlReadScreenPixels(width: int,height: int,) -> bytes:
|
|
3864
|
+
"""Read screen pixel data (color buffer)."""
|
|
3865
|
+
...
|
|
3866
|
+
def rlReadShaderBuffer(id: int,dest: Any,count: int,offset: int,) -> None:
|
|
3867
|
+
"""Read SSBO buffer data (GPU->CPU)."""
|
|
3868
|
+
...
|
|
3869
|
+
def rlReadTexturePixels(id: int,width: int,height: int,format: int,) -> Any:
|
|
3870
|
+
"""Read texture pixel data."""
|
|
3871
|
+
...
|
|
3872
|
+
def rlRotatef(angle: float,x: float,y: float,z: float,) -> None:
|
|
3873
|
+
"""Multiply the current matrix by a rotation matrix."""
|
|
3874
|
+
...
|
|
3875
|
+
def rlScalef(x: float,y: float,z: float,) -> None:
|
|
3876
|
+
"""Multiply the current matrix by a scaling matrix."""
|
|
3877
|
+
...
|
|
3878
|
+
def rlScissor(x: int,y: int,width: int,height: int,) -> None:
|
|
3879
|
+
"""Scissor test."""
|
|
3880
|
+
...
|
|
3881
|
+
def rlSetBlendFactors(glSrcFactor: int,glDstFactor: int,glEquation: int,) -> None:
|
|
3882
|
+
"""Set blending mode factor and equation (using OpenGL factors)."""
|
|
3883
|
+
...
|
|
3884
|
+
def rlSetBlendFactorsSeparate(glSrcRGB: int,glDstRGB: int,glSrcAlpha: int,glDstAlpha: int,glEqRGB: int,glEqAlpha: int,) -> None:
|
|
3885
|
+
"""Set blending mode factors and equations separately (using OpenGL factors)."""
|
|
3886
|
+
...
|
|
3887
|
+
def rlSetBlendMode(mode: int,) -> None:
|
|
3888
|
+
"""Set blending mode."""
|
|
3889
|
+
...
|
|
3890
|
+
def rlSetClipPlanes(nearPlane: float,farPlane: float,) -> None:
|
|
3891
|
+
"""Set clip planes distances."""
|
|
3892
|
+
...
|
|
3893
|
+
def rlSetCullFace(mode: int,) -> None:
|
|
3894
|
+
"""Set face culling mode."""
|
|
3895
|
+
...
|
|
3896
|
+
def rlSetFramebufferHeight(height: int,) -> None:
|
|
3897
|
+
"""Set current framebuffer height."""
|
|
3898
|
+
...
|
|
3899
|
+
def rlSetFramebufferWidth(width: int,) -> None:
|
|
3900
|
+
"""Set current framebuffer width."""
|
|
3901
|
+
...
|
|
3902
|
+
def rlSetLineWidth(width: float,) -> None:
|
|
3903
|
+
"""Set the line drawing width."""
|
|
3904
|
+
...
|
|
3905
|
+
def rlSetMatrixModelview(view: Matrix|list|tuple,) -> None:
|
|
3906
|
+
"""Set a custom modelview matrix (replaces internal modelview matrix)."""
|
|
3907
|
+
...
|
|
3908
|
+
def rlSetMatrixProjection(proj: Matrix|list|tuple,) -> None:
|
|
3909
|
+
"""Set a custom projection matrix (replaces internal projection matrix)."""
|
|
3910
|
+
...
|
|
3911
|
+
def rlSetMatrixProjectionStereo(right: Matrix|list|tuple,left: Matrix|list|tuple,) -> None:
|
|
3912
|
+
"""Set eyes projection matrices for stereo rendering."""
|
|
3913
|
+
...
|
|
3914
|
+
def rlSetMatrixViewOffsetStereo(right: Matrix|list|tuple,left: Matrix|list|tuple,) -> None:
|
|
3915
|
+
"""Set eyes view offsets matrices for stereo rendering."""
|
|
3916
|
+
...
|
|
3917
|
+
def rlSetRenderBatchActive(batch: Any|list|tuple,) -> None:
|
|
3918
|
+
"""Set the active render batch for rlgl (NULL for default internal)."""
|
|
3919
|
+
...
|
|
3920
|
+
def rlSetShader(id: int,locs: Any,) -> None:
|
|
3921
|
+
"""Set shader currently active (id and locations)."""
|
|
3922
|
+
...
|
|
3923
|
+
def rlSetTexture(id: int,) -> None:
|
|
3924
|
+
"""Set current texture for render batch and check buffers limits."""
|
|
3925
|
+
...
|
|
3926
|
+
def rlSetUniform(locIndex: int,value: Any,uniformType: int,count: int,) -> None:
|
|
3927
|
+
"""Set shader value uniform."""
|
|
3928
|
+
...
|
|
3929
|
+
def rlSetUniformMatrices(locIndex: int,mat: Any|list|tuple,count: int,) -> None:
|
|
3930
|
+
"""Set shader value matrices."""
|
|
3931
|
+
...
|
|
3932
|
+
def rlSetUniformMatrix(locIndex: int,mat: Matrix|list|tuple,) -> None:
|
|
3933
|
+
"""Set shader value matrix."""
|
|
3934
|
+
...
|
|
3935
|
+
def rlSetUniformSampler(locIndex: int,textureId: int,) -> None:
|
|
3936
|
+
"""Set shader value sampler."""
|
|
3937
|
+
...
|
|
3938
|
+
def rlSetVertexAttribute(index: int,compSize: int,type: int,normalized: bool,stride: int,offset: int,) -> None:
|
|
3939
|
+
"""Set vertex attribute data configuration."""
|
|
3940
|
+
...
|
|
3941
|
+
def rlSetVertexAttributeDefault(locIndex: int,value: Any,attribType: int,count: int,) -> None:
|
|
3942
|
+
"""Set vertex attribute default value, when attribute to provided."""
|
|
3943
|
+
...
|
|
3944
|
+
def rlSetVertexAttributeDivisor(index: int,divisor: int,) -> None:
|
|
3945
|
+
"""Set vertex attribute data divisor."""
|
|
3946
|
+
...
|
|
3947
|
+
def rlTexCoord2f(x: float,y: float,) -> None:
|
|
3948
|
+
"""Define one vertex (texture coordinate) - 2 float."""
|
|
3949
|
+
...
|
|
3950
|
+
def rlTextureParameters(id: int,param: int,value: int,) -> None:
|
|
3951
|
+
"""Set texture parameters (filter, wrap)."""
|
|
3952
|
+
...
|
|
3953
|
+
def rlTranslatef(x: float,y: float,z: float,) -> None:
|
|
3954
|
+
"""Multiply the current matrix by a translation matrix."""
|
|
3955
|
+
...
|
|
3956
|
+
def rlUnloadFramebuffer(id: int,) -> None:
|
|
3957
|
+
"""Delete framebuffer from GPU."""
|
|
3958
|
+
...
|
|
3959
|
+
def rlUnloadRenderBatch(batch: rlRenderBatch|list|tuple,) -> None:
|
|
3960
|
+
"""Unload render batch system."""
|
|
3961
|
+
...
|
|
3962
|
+
def rlUnloadShaderBuffer(ssboId: int,) -> None:
|
|
3963
|
+
"""Unload shader storage buffer object (SSBO)."""
|
|
3964
|
+
...
|
|
3965
|
+
def rlUnloadShaderProgram(id: int,) -> None:
|
|
3966
|
+
"""Unload shader program."""
|
|
3967
|
+
...
|
|
3968
|
+
def rlUnloadTexture(id: int,) -> None:
|
|
3969
|
+
"""Unload texture from GPU memory."""
|
|
3970
|
+
...
|
|
3971
|
+
def rlUnloadVertexArray(vaoId: int,) -> None:
|
|
3972
|
+
"""Unload vertex array (vao)."""
|
|
3973
|
+
...
|
|
3974
|
+
def rlUnloadVertexBuffer(vboId: int,) -> None:
|
|
3975
|
+
"""Unload vertex buffer object."""
|
|
3976
|
+
...
|
|
3977
|
+
def rlUpdateShaderBuffer(id: int,data: Any,dataSize: int,offset: int,) -> None:
|
|
3978
|
+
"""Update SSBO buffer data."""
|
|
3979
|
+
...
|
|
3980
|
+
def rlUpdateTexture(id: int,offsetX: int,offsetY: int,width: int,height: int,format: int,data: Any,) -> None:
|
|
3981
|
+
"""Update texture with new data on GPU."""
|
|
3982
|
+
...
|
|
3983
|
+
def rlUpdateVertexBuffer(bufferId: int,data: Any,dataSize: int,offset: int,) -> None:
|
|
3984
|
+
"""Update vertex buffer object data on GPU buffer."""
|
|
3985
|
+
...
|
|
3986
|
+
def rlUpdateVertexBufferElements(id: int,data: Any,dataSize: int,offset: int,) -> None:
|
|
3987
|
+
"""Update vertex buffer elements data on GPU buffer."""
|
|
3988
|
+
...
|
|
3989
|
+
def rlVertex2f(x: float,y: float,) -> None:
|
|
3990
|
+
"""Define one vertex (position) - 2 float."""
|
|
3991
|
+
...
|
|
3992
|
+
def rlVertex2i(x: int,y: int,) -> None:
|
|
3993
|
+
"""Define one vertex (position) - 2 int."""
|
|
3994
|
+
...
|
|
3995
|
+
def rlVertex3f(x: float,y: float,z: float,) -> None:
|
|
3996
|
+
"""Define one vertex (position) - 3 float."""
|
|
3997
|
+
...
|
|
3998
|
+
def rlViewport(x: int,y: int,width: int,height: int,) -> None:
|
|
3999
|
+
"""Set the viewport area."""
|
|
4000
|
+
...
|
|
4001
|
+
def rlglClose() -> None:
|
|
4002
|
+
"""De-initialize rlgl (buffers, shaders, textures)."""
|
|
4003
|
+
...
|
|
4004
|
+
def rlglInit(width: int,height: int,) -> None:
|
|
4005
|
+
"""Initialize rlgl (buffers, shaders, textures, states)."""
|
|
4006
|
+
...
|
|
4007
|
+
class AudioStream:
|
|
4008
|
+
buffer: Any
|
|
4009
|
+
processor: Any
|
|
4010
|
+
sampleRate: int
|
|
4011
|
+
sampleSize: int
|
|
4012
|
+
channels: int
|
|
4013
|
+
class AutomationEvent:
|
|
4014
|
+
frame: int
|
|
4015
|
+
type: int
|
|
4016
|
+
params: list
|
|
4017
|
+
class AutomationEventList:
|
|
4018
|
+
capacity: int
|
|
4019
|
+
count: int
|
|
4020
|
+
events: Any
|
|
4021
|
+
BlendMode = int
|
|
4022
|
+
class BoneInfo:
|
|
4023
|
+
name: bytes
|
|
4024
|
+
parent: int
|
|
4025
|
+
class BoundingBox:
|
|
4026
|
+
min: Vector3
|
|
4027
|
+
max: Vector3
|
|
4028
|
+
class Camera:
|
|
4029
|
+
position: Vector3
|
|
4030
|
+
target: Vector3
|
|
4031
|
+
up: Vector3
|
|
4032
|
+
fovy: float
|
|
4033
|
+
projection: int
|
|
4034
|
+
class Camera2D:
|
|
4035
|
+
offset: Vector2
|
|
4036
|
+
target: Vector2
|
|
4037
|
+
rotation: float
|
|
4038
|
+
zoom: float
|
|
4039
|
+
class Camera3D:
|
|
4040
|
+
position: Vector3
|
|
4041
|
+
target: Vector3
|
|
4042
|
+
up: Vector3
|
|
4043
|
+
fovy: float
|
|
4044
|
+
projection: int
|
|
4045
|
+
CameraMode = int
|
|
4046
|
+
CameraProjection = int
|
|
4047
|
+
class Color:
|
|
4048
|
+
r: bytes
|
|
4049
|
+
g: bytes
|
|
4050
|
+
b: bytes
|
|
4051
|
+
a: bytes
|
|
4052
|
+
ConfigFlags = int
|
|
4053
|
+
CubemapLayout = int
|
|
4054
|
+
class FilePathList:
|
|
4055
|
+
capacity: int
|
|
4056
|
+
count: int
|
|
4057
|
+
paths: list[bytes]
|
|
4058
|
+
class Font:
|
|
4059
|
+
baseSize: int
|
|
4060
|
+
glyphCount: int
|
|
4061
|
+
glyphPadding: int
|
|
4062
|
+
texture: Texture
|
|
4063
|
+
recs: Any
|
|
4064
|
+
glyphs: Any
|
|
4065
|
+
FontType = int
|
|
4066
|
+
class GLFWallocator:
|
|
4067
|
+
allocate: Any
|
|
4068
|
+
reallocate: Any
|
|
4069
|
+
deallocate: Any
|
|
4070
|
+
user: Any
|
|
4071
|
+
class GLFWcursor:
|
|
4072
|
+
...
|
|
4073
|
+
class GLFWgamepadstate:
|
|
4074
|
+
buttons: bytes
|
|
4075
|
+
axes: list
|
|
4076
|
+
class GLFWgammaramp:
|
|
4077
|
+
red: Any
|
|
4078
|
+
green: Any
|
|
4079
|
+
blue: Any
|
|
4080
|
+
size: int
|
|
4081
|
+
class GLFWimage:
|
|
4082
|
+
width: int
|
|
4083
|
+
height: int
|
|
4084
|
+
pixels: bytes
|
|
4085
|
+
class GLFWmonitor:
|
|
4086
|
+
...
|
|
4087
|
+
class GLFWvidmode:
|
|
4088
|
+
width: int
|
|
4089
|
+
height: int
|
|
4090
|
+
redBits: int
|
|
4091
|
+
greenBits: int
|
|
4092
|
+
blueBits: int
|
|
4093
|
+
refreshRate: int
|
|
4094
|
+
class GLFWwindow:
|
|
4095
|
+
...
|
|
4096
|
+
GamepadAxis = int
|
|
4097
|
+
GamepadButton = int
|
|
4098
|
+
Gesture = int
|
|
4099
|
+
class GlyphInfo:
|
|
4100
|
+
value: int
|
|
4101
|
+
offsetX: int
|
|
4102
|
+
offsetY: int
|
|
4103
|
+
advanceX: int
|
|
4104
|
+
image: Image
|
|
4105
|
+
GuiCheckBoxProperty = int
|
|
4106
|
+
GuiColorPickerProperty = int
|
|
4107
|
+
GuiComboBoxProperty = int
|
|
4108
|
+
GuiControl = int
|
|
4109
|
+
GuiControlProperty = int
|
|
4110
|
+
GuiDefaultProperty = int
|
|
4111
|
+
GuiDropdownBoxProperty = int
|
|
4112
|
+
GuiIconName = int
|
|
4113
|
+
GuiListViewProperty = int
|
|
4114
|
+
GuiProgressBarProperty = int
|
|
4115
|
+
GuiScrollBarProperty = int
|
|
4116
|
+
GuiSliderProperty = int
|
|
4117
|
+
GuiSpinnerProperty = int
|
|
4118
|
+
GuiState = int
|
|
4119
|
+
class GuiStyleProp:
|
|
4120
|
+
controlId: int
|
|
4121
|
+
propertyId: int
|
|
4122
|
+
propertyValue: int
|
|
4123
|
+
GuiTextAlignment = int
|
|
4124
|
+
GuiTextAlignmentVertical = int
|
|
4125
|
+
GuiTextBoxProperty = int
|
|
4126
|
+
GuiTextWrapMode = int
|
|
4127
|
+
GuiToggleProperty = int
|
|
4128
|
+
class Image:
|
|
4129
|
+
data: Any
|
|
4130
|
+
width: int
|
|
4131
|
+
height: int
|
|
4132
|
+
mipmaps: int
|
|
4133
|
+
format: int
|
|
4134
|
+
KeyboardKey = int
|
|
4135
|
+
class Mat2:
|
|
4136
|
+
m00: float
|
|
4137
|
+
m01: float
|
|
4138
|
+
m10: float
|
|
4139
|
+
m11: float
|
|
4140
|
+
class Material:
|
|
4141
|
+
shader: Shader
|
|
4142
|
+
maps: Any
|
|
4143
|
+
params: list
|
|
4144
|
+
class MaterialMap:
|
|
4145
|
+
texture: Texture
|
|
4146
|
+
color: Color
|
|
4147
|
+
value: float
|
|
4148
|
+
MaterialMapIndex = int
|
|
4149
|
+
class Matrix:
|
|
4150
|
+
m0: float
|
|
4151
|
+
m4: float
|
|
4152
|
+
m8: float
|
|
4153
|
+
m12: float
|
|
4154
|
+
m1: float
|
|
4155
|
+
m5: float
|
|
4156
|
+
m9: float
|
|
4157
|
+
m13: float
|
|
4158
|
+
m2: float
|
|
4159
|
+
m6: float
|
|
4160
|
+
m10: float
|
|
4161
|
+
m14: float
|
|
4162
|
+
m3: float
|
|
4163
|
+
m7: float
|
|
4164
|
+
m11: float
|
|
4165
|
+
m15: float
|
|
4166
|
+
class Mesh:
|
|
4167
|
+
vertexCount: int
|
|
4168
|
+
triangleCount: int
|
|
4169
|
+
vertices: Any
|
|
4170
|
+
texcoords: Any
|
|
4171
|
+
texcoords2: Any
|
|
4172
|
+
normals: Any
|
|
4173
|
+
tangents: Any
|
|
4174
|
+
colors: bytes
|
|
4175
|
+
indices: Any
|
|
4176
|
+
animVertices: Any
|
|
4177
|
+
animNormals: Any
|
|
4178
|
+
boneIds: bytes
|
|
4179
|
+
boneWeights: Any
|
|
4180
|
+
boneMatrices: Any
|
|
4181
|
+
boneCount: int
|
|
4182
|
+
vaoId: int
|
|
4183
|
+
vboId: Any
|
|
4184
|
+
class Model:
|
|
4185
|
+
transform: Matrix
|
|
4186
|
+
meshCount: int
|
|
4187
|
+
materialCount: int
|
|
4188
|
+
meshes: Any
|
|
4189
|
+
materials: Any
|
|
4190
|
+
meshMaterial: Any
|
|
4191
|
+
boneCount: int
|
|
4192
|
+
bones: Any
|
|
4193
|
+
bindPose: Any
|
|
4194
|
+
class ModelAnimation:
|
|
4195
|
+
boneCount: int
|
|
4196
|
+
frameCount: int
|
|
4197
|
+
bones: Any
|
|
4198
|
+
framePoses: Any
|
|
4199
|
+
name: bytes
|
|
4200
|
+
MouseButton = int
|
|
4201
|
+
MouseCursor = int
|
|
4202
|
+
class Music:
|
|
4203
|
+
stream: AudioStream
|
|
4204
|
+
frameCount: int
|
|
4205
|
+
looping: bool
|
|
4206
|
+
ctxType: int
|
|
4207
|
+
ctxData: Any
|
|
4208
|
+
class NPatchInfo:
|
|
4209
|
+
source: Rectangle
|
|
4210
|
+
left: int
|
|
4211
|
+
top: int
|
|
4212
|
+
right: int
|
|
4213
|
+
bottom: int
|
|
4214
|
+
layout: int
|
|
4215
|
+
NPatchLayout = int
|
|
4216
|
+
class PhysicsBodyData:
|
|
4217
|
+
id: int
|
|
4218
|
+
enabled: bool
|
|
4219
|
+
position: Vector2
|
|
4220
|
+
velocity: Vector2
|
|
4221
|
+
force: Vector2
|
|
4222
|
+
angularVelocity: float
|
|
4223
|
+
torque: float
|
|
4224
|
+
orient: float
|
|
4225
|
+
inertia: float
|
|
4226
|
+
inverseInertia: float
|
|
4227
|
+
mass: float
|
|
4228
|
+
inverseMass: float
|
|
4229
|
+
staticFriction: float
|
|
4230
|
+
dynamicFriction: float
|
|
4231
|
+
restitution: float
|
|
4232
|
+
useGravity: bool
|
|
4233
|
+
isGrounded: bool
|
|
4234
|
+
freezeOrient: bool
|
|
4235
|
+
shape: PhysicsShape
|
|
4236
|
+
class PhysicsManifoldData:
|
|
4237
|
+
id: int
|
|
4238
|
+
bodyA: Any
|
|
4239
|
+
bodyB: Any
|
|
4240
|
+
penetration: float
|
|
4241
|
+
normal: Vector2
|
|
4242
|
+
contacts: list
|
|
4243
|
+
contactsCount: int
|
|
4244
|
+
restitution: float
|
|
4245
|
+
dynamicFriction: float
|
|
4246
|
+
staticFriction: float
|
|
4247
|
+
class PhysicsShape:
|
|
4248
|
+
type: PhysicsShapeType
|
|
4249
|
+
body: Any
|
|
4250
|
+
radius: float
|
|
4251
|
+
transform: Mat2
|
|
4252
|
+
vertexData: PolygonData
|
|
4253
|
+
PhysicsShapeType = int
|
|
4254
|
+
PixelFormat = int
|
|
4255
|
+
class PolygonData:
|
|
4256
|
+
vertexCount: int
|
|
4257
|
+
positions: list
|
|
4258
|
+
normals: list
|
|
4259
|
+
class Quaternion:
|
|
4260
|
+
x: float
|
|
4261
|
+
y: float
|
|
4262
|
+
z: float
|
|
4263
|
+
w: float
|
|
4264
|
+
class Ray:
|
|
4265
|
+
position: Vector3
|
|
4266
|
+
direction: Vector3
|
|
4267
|
+
class RayCollision:
|
|
4268
|
+
hit: bool
|
|
4269
|
+
distance: float
|
|
4270
|
+
point: Vector3
|
|
4271
|
+
normal: Vector3
|
|
4272
|
+
class Rectangle:
|
|
4273
|
+
x: float
|
|
4274
|
+
y: float
|
|
4275
|
+
width: float
|
|
4276
|
+
height: float
|
|
4277
|
+
class RenderTexture:
|
|
4278
|
+
id: int
|
|
4279
|
+
texture: Texture
|
|
4280
|
+
depth: Texture
|
|
4281
|
+
class RenderTexture2D:
|
|
4282
|
+
id: int
|
|
4283
|
+
texture: Texture
|
|
4284
|
+
depth: Texture
|
|
4285
|
+
class Shader:
|
|
4286
|
+
id: int
|
|
4287
|
+
locs: Any
|
|
4288
|
+
ShaderAttributeDataType = int
|
|
4289
|
+
ShaderLocationIndex = int
|
|
4290
|
+
ShaderUniformDataType = int
|
|
4291
|
+
class Sound:
|
|
4292
|
+
stream: AudioStream
|
|
4293
|
+
frameCount: int
|
|
4294
|
+
class Texture:
|
|
4295
|
+
id: int
|
|
4296
|
+
width: int
|
|
4297
|
+
height: int
|
|
4298
|
+
mipmaps: int
|
|
4299
|
+
format: int
|
|
4300
|
+
class Texture2D:
|
|
4301
|
+
id: int
|
|
4302
|
+
width: int
|
|
4303
|
+
height: int
|
|
4304
|
+
mipmaps: int
|
|
4305
|
+
format: int
|
|
4306
|
+
class TextureCubemap:
|
|
4307
|
+
id: int
|
|
4308
|
+
width: int
|
|
4309
|
+
height: int
|
|
4310
|
+
mipmaps: int
|
|
4311
|
+
format: int
|
|
4312
|
+
TextureFilter = int
|
|
4313
|
+
TextureWrap = int
|
|
4314
|
+
TraceLogLevel = int
|
|
4315
|
+
class Transform:
|
|
4316
|
+
translation: Vector3
|
|
4317
|
+
rotation: Vector4
|
|
4318
|
+
scale: Vector3
|
|
4319
|
+
class Vector2:
|
|
4320
|
+
x: float
|
|
4321
|
+
y: float
|
|
4322
|
+
class Vector3:
|
|
4323
|
+
x: float
|
|
4324
|
+
y: float
|
|
4325
|
+
z: float
|
|
4326
|
+
class Vector4:
|
|
4327
|
+
x: float
|
|
4328
|
+
y: float
|
|
4329
|
+
z: float
|
|
4330
|
+
w: float
|
|
4331
|
+
class VrDeviceInfo:
|
|
4332
|
+
hResolution: int
|
|
4333
|
+
vResolution: int
|
|
4334
|
+
hScreenSize: float
|
|
4335
|
+
vScreenSize: float
|
|
4336
|
+
eyeToScreenDistance: float
|
|
4337
|
+
lensSeparationDistance: float
|
|
4338
|
+
interpupillaryDistance: float
|
|
4339
|
+
lensDistortionValues: list
|
|
4340
|
+
chromaAbCorrection: list
|
|
4341
|
+
class VrStereoConfig:
|
|
4342
|
+
projection: list
|
|
4343
|
+
viewOffset: list
|
|
4344
|
+
leftLensCenter: list
|
|
4345
|
+
rightLensCenter: list
|
|
4346
|
+
leftScreenCenter: list
|
|
4347
|
+
rightScreenCenter: list
|
|
4348
|
+
scale: list
|
|
4349
|
+
scaleIn: list
|
|
4350
|
+
class Wave:
|
|
4351
|
+
frameCount: int
|
|
4352
|
+
sampleRate: int
|
|
4353
|
+
sampleSize: int
|
|
4354
|
+
channels: int
|
|
4355
|
+
data: Any
|
|
4356
|
+
class float16:
|
|
4357
|
+
v: list
|
|
4358
|
+
class float3:
|
|
4359
|
+
v: list
|
|
4360
|
+
class rAudioBuffer:
|
|
4361
|
+
...
|
|
4362
|
+
class rAudioProcessor:
|
|
4363
|
+
...
|
|
4364
|
+
rlBlendMode = int
|
|
4365
|
+
rlCullMode = int
|
|
4366
|
+
class rlDrawCall:
|
|
4367
|
+
mode: int
|
|
4368
|
+
vertexCount: int
|
|
4369
|
+
vertexAlignment: int
|
|
4370
|
+
textureId: int
|
|
4371
|
+
rlFramebufferAttachTextureType = int
|
|
4372
|
+
rlFramebufferAttachType = int
|
|
4373
|
+
rlGlVersion = int
|
|
4374
|
+
rlPixelFormat = int
|
|
4375
|
+
class rlRenderBatch:
|
|
4376
|
+
bufferCount: int
|
|
4377
|
+
currentBuffer: int
|
|
4378
|
+
vertexBuffer: Any
|
|
4379
|
+
draws: Any
|
|
4380
|
+
drawCounter: int
|
|
4381
|
+
currentDepth: float
|
|
4382
|
+
rlShaderAttributeDataType = int
|
|
4383
|
+
rlShaderLocationIndex = int
|
|
4384
|
+
rlShaderUniformDataType = int
|
|
4385
|
+
rlTextureFilter = int
|
|
4386
|
+
rlTraceLogLevel = int
|
|
4387
|
+
class rlVertexBuffer:
|
|
4388
|
+
elementCount: int
|
|
4389
|
+
vertices: Any
|
|
4390
|
+
texcoords: Any
|
|
4391
|
+
normals: Any
|
|
4392
|
+
colors: bytes
|
|
4393
|
+
indices: Any
|
|
4394
|
+
vaoId: int
|
|
4395
|
+
vboId: list
|
|
4396
|
+
|
|
4397
|
+
LIGHTGRAY : Color
|
|
4398
|
+
GRAY : Color
|
|
4399
|
+
DARKGRAY : Color
|
|
4400
|
+
YELLOW : Color
|
|
4401
|
+
GOLD : Color
|
|
4402
|
+
ORANGE : Color
|
|
4403
|
+
PINK : Color
|
|
4404
|
+
RED : Color
|
|
4405
|
+
MAROON : Color
|
|
4406
|
+
GREEN : Color
|
|
4407
|
+
LIME : Color
|
|
4408
|
+
DARKGREEN : Color
|
|
4409
|
+
SKYBLUE : Color
|
|
4410
|
+
BLUE : Color
|
|
4411
|
+
DARKBLUE : Color
|
|
4412
|
+
PURPLE : Color
|
|
4413
|
+
VIOLET : Color
|
|
4414
|
+
DARKPURPLE : Color
|
|
4415
|
+
BEIGE : Color
|
|
4416
|
+
BROWN : Color
|
|
4417
|
+
DARKBROWN : Color
|
|
4418
|
+
WHITE : Color
|
|
4419
|
+
BLACK : Color
|
|
4420
|
+
BLANK : Color
|
|
4421
|
+
MAGENTA : Color
|
|
4422
|
+
RAYWHITE : Color
|
|
4423
|
+
|