raylib 5.0.0.0__pp37-pypy37_pp73-win_amd64.whl → 5.0.0.2__pp37-pypy37_pp73-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of raylib might be problematic. Click here for more details.
- pyray/__init__.py +67 -32
- pyray/__init__.pyi +968 -1312
- raylib/__init__.pyi +974 -1281
- raylib/_raylib_cffi.pypy37-pp73-win_amd64.pyd +0 -0
- raylib/build.py +14 -1
- raylib/defines.py +489 -4
- raylib/version.py +1 -1
- {raylib-5.0.0.0.dist-info → raylib-5.0.0.2.dist-info}/METADATA +44 -3
- raylib-5.0.0.2.dist-info/RECORD +15 -0
- raylib-5.0.0.0.dist-info/RECORD +0 -15
- {raylib-5.0.0.0.dist-info → raylib-5.0.0.2.dist-info}/LICENSE +0 -0
- {raylib-5.0.0.0.dist-info → raylib-5.0.0.2.dist-info}/WHEEL +0 -0
- {raylib-5.0.0.0.dist-info → raylib-5.0.0.2.dist-info}/top_level.txt +0 -0
raylib/__init__.pyi
CHANGED
|
@@ -119,10 +119,8 @@ def CheckCollisionRecs(rec1: Rectangle,rec2: Rectangle,) -> bool:
|
|
|
119
119
|
def CheckCollisionSpheres(center1: Vector3,radius1: float,center2: Vector3,radius2: float,) -> bool:
|
|
120
120
|
"""Check collision between two spheres"""
|
|
121
121
|
...
|
|
122
|
-
def Clamp(
|
|
123
|
-
"""
|
|
124
|
-
|
|
125
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
122
|
+
def Clamp(value: float,min_1: float,max_2: float,) -> float:
|
|
123
|
+
""""""
|
|
126
124
|
...
|
|
127
125
|
def ClearBackground(color: Color,) -> None:
|
|
128
126
|
"""Set background color (framebuffer clear color)"""
|
|
@@ -134,9 +132,7 @@ def CloseAudioDevice() -> None:
|
|
|
134
132
|
"""Close the audio device and context"""
|
|
135
133
|
...
|
|
136
134
|
def ClosePhysics() -> None:
|
|
137
|
-
"""
|
|
138
|
-
|
|
139
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
135
|
+
"""Close physics system and unload used memory"""
|
|
140
136
|
...
|
|
141
137
|
def CloseWindow() -> None:
|
|
142
138
|
"""Close window and unload OpenGL context"""
|
|
@@ -177,20 +173,14 @@ def ColorToInt(color: Color,) -> int:
|
|
|
177
173
|
def CompressData(data: str,dataSize: int,compDataSize: Any,) -> str:
|
|
178
174
|
"""Compress data (DEFLATE algorithm), memory must be MemFree()"""
|
|
179
175
|
...
|
|
180
|
-
def CreatePhysicsBodyCircle(
|
|
181
|
-
"""
|
|
182
|
-
|
|
183
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
176
|
+
def CreatePhysicsBodyCircle(pos: Vector2,radius: float,density: float,) -> Any:
|
|
177
|
+
"""Creates a new circle physics body with generic parameters"""
|
|
184
178
|
...
|
|
185
|
-
def CreatePhysicsBodyPolygon(
|
|
186
|
-
"""
|
|
187
|
-
|
|
188
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
179
|
+
def CreatePhysicsBodyPolygon(pos: Vector2,radius: float,sides: int,density: float,) -> Any:
|
|
180
|
+
"""Creates a new polygon physics body with generic parameters"""
|
|
189
181
|
...
|
|
190
|
-
def CreatePhysicsBodyRectangle(
|
|
191
|
-
"""
|
|
192
|
-
|
|
193
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
182
|
+
def CreatePhysicsBodyRectangle(pos: Vector2,width: float,height: float,density: float,) -> Any:
|
|
183
|
+
"""Creates a new rectangle physics body with generic parameters"""
|
|
194
184
|
...
|
|
195
185
|
DEFAULT: int
|
|
196
186
|
DROPDOWNBOX: int
|
|
@@ -201,10 +191,8 @@ def DecodeDataBase64(data: str,outputSize: Any,) -> str:
|
|
|
201
191
|
def DecompressData(compData: str,compDataSize: int,dataSize: Any,) -> str:
|
|
202
192
|
"""Decompress data (DEFLATE algorithm), memory must be MemFree()"""
|
|
203
193
|
...
|
|
204
|
-
def DestroyPhysicsBody(
|
|
205
|
-
"""
|
|
206
|
-
|
|
207
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
194
|
+
def DestroyPhysicsBody(body: Any,) -> None:
|
|
195
|
+
"""Destroy a physics body"""
|
|
208
196
|
...
|
|
209
197
|
def DetachAudioMixedProcessor(processor: Any,) -> None:
|
|
210
198
|
"""Detach audio stream processor from the entire audio pipeline"""
|
|
@@ -521,7 +509,7 @@ def EndTextureMode() -> None:
|
|
|
521
509
|
def EndVrStereoMode() -> None:
|
|
522
510
|
"""End stereo rendering (requires VR simulator)"""
|
|
523
511
|
...
|
|
524
|
-
def ExportAutomationEventList(
|
|
512
|
+
def ExportAutomationEventList(list_0: AutomationEventList,fileName: str,) -> bool:
|
|
525
513
|
"""Export automation events list as text file"""
|
|
526
514
|
...
|
|
527
515
|
def ExportDataAsCode(data: str,dataSize: int,fileName: str,) -> bool:
|
|
@@ -573,10 +561,8 @@ def Fade(color: Color,alpha: float,) -> Color:
|
|
|
573
561
|
def FileExists(fileName: str,) -> bool:
|
|
574
562
|
"""Check if file exists"""
|
|
575
563
|
...
|
|
576
|
-
def FloatEquals(
|
|
577
|
-
"""
|
|
578
|
-
|
|
579
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
564
|
+
def FloatEquals(x: float,y: float,) -> int:
|
|
565
|
+
""""""
|
|
580
566
|
...
|
|
581
567
|
GAMEPAD_AXIS_LEFT_TRIGGER: int
|
|
582
568
|
GAMEPAD_AXIS_LEFT_X: int
|
|
@@ -855,29 +841,19 @@ def GetMusicTimePlayed(music: Music,) -> float:
|
|
|
855
841
|
"""Get current music time played (in seconds)"""
|
|
856
842
|
...
|
|
857
843
|
def GetPhysicsBodiesCount() -> int:
|
|
858
|
-
"""
|
|
859
|
-
|
|
860
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
844
|
+
"""Returns the current amount of created physics bodies"""
|
|
861
845
|
...
|
|
862
|
-
def GetPhysicsBody(
|
|
863
|
-
"""
|
|
864
|
-
|
|
865
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
846
|
+
def GetPhysicsBody(index: int,) -> Any:
|
|
847
|
+
"""Returns a physics body of the bodies pool at a specific index"""
|
|
866
848
|
...
|
|
867
|
-
def GetPhysicsShapeType(
|
|
868
|
-
"""
|
|
869
|
-
|
|
870
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
849
|
+
def GetPhysicsShapeType(index: int,) -> int:
|
|
850
|
+
"""Returns the physics body shape type (PHYSICS_CIRCLE or PHYSICS_POLYGON)"""
|
|
871
851
|
...
|
|
872
|
-
def GetPhysicsShapeVertex(
|
|
873
|
-
"""
|
|
874
|
-
|
|
875
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
852
|
+
def GetPhysicsShapeVertex(body: Any,vertex: int,) -> Vector2:
|
|
853
|
+
"""Returns transformed position of a body shape (body position + vertex transformed position)"""
|
|
876
854
|
...
|
|
877
|
-
def GetPhysicsShapeVerticesCount(
|
|
878
|
-
"""
|
|
879
|
-
|
|
880
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
855
|
+
def GetPhysicsShapeVerticesCount(index: int,) -> int:
|
|
856
|
+
"""Returns the amount of vertices of a physics body shape"""
|
|
881
857
|
...
|
|
882
858
|
def GetPixelColor(srcPtr: Any,format: int,) -> Color:
|
|
883
859
|
"""Get Color from a source pixel pointer of certain format"""
|
|
@@ -888,7 +864,7 @@ def GetPixelDataSize(width: int,height: int,format: int,) -> int:
|
|
|
888
864
|
def GetPrevDirectoryPath(dirPath: str,) -> str:
|
|
889
865
|
"""Get previous directory path for a given path (uses static string)"""
|
|
890
866
|
...
|
|
891
|
-
def GetRandomValue(
|
|
867
|
+
def GetRandomValue(min_0: int,max_1: int,) -> int:
|
|
892
868
|
"""Get a random value between min and max (both included)"""
|
|
893
869
|
...
|
|
894
870
|
def GetRayCollisionBox(ray: Ray,box: BoundingBox,) -> RayCollision:
|
|
@@ -981,285 +957,173 @@ def GetWorldToScreen2D(position: Vector2,camera: Camera2D,) -> Vector2:
|
|
|
981
957
|
def GetWorldToScreenEx(position: Vector3,camera: Camera3D,width: int,height: int,) -> Vector2:
|
|
982
958
|
"""Get size position for a 3d world space position"""
|
|
983
959
|
...
|
|
984
|
-
def GuiButton(
|
|
985
|
-
"""
|
|
986
|
-
|
|
987
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
960
|
+
def GuiButton(bounds: Rectangle,text: str,) -> int:
|
|
961
|
+
"""Button control, returns true when clicked"""
|
|
988
962
|
...
|
|
989
|
-
def GuiCheckBox(
|
|
990
|
-
"""
|
|
991
|
-
|
|
992
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
963
|
+
def GuiCheckBox(bounds: Rectangle,text: str,checked: Any,) -> int:
|
|
964
|
+
"""Check Box control, returns true when active"""
|
|
993
965
|
...
|
|
994
|
-
def GuiColorBarAlpha(
|
|
995
|
-
"""
|
|
996
|
-
|
|
997
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
966
|
+
def GuiColorBarAlpha(bounds: Rectangle,text: str,alpha: Any,) -> int:
|
|
967
|
+
"""Color Bar Alpha control"""
|
|
998
968
|
...
|
|
999
|
-
def GuiColorBarHue(
|
|
1000
|
-
"""
|
|
1001
|
-
|
|
1002
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
969
|
+
def GuiColorBarHue(bounds: Rectangle,text: str,value: Any,) -> int:
|
|
970
|
+
"""Color Bar Hue control"""
|
|
1003
971
|
...
|
|
1004
|
-
def GuiColorPanel(
|
|
1005
|
-
"""
|
|
1006
|
-
|
|
1007
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
972
|
+
def GuiColorPanel(bounds: Rectangle,text: str,color: Any,) -> int:
|
|
973
|
+
"""Color Panel control"""
|
|
1008
974
|
...
|
|
1009
|
-
def GuiColorPanelHSV(
|
|
1010
|
-
"""
|
|
1011
|
-
|
|
1012
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
975
|
+
def GuiColorPanelHSV(bounds: Rectangle,text: str,colorHsv: Any,) -> int:
|
|
976
|
+
"""Color Panel control that returns HSV color value, used by GuiColorPickerHSV()"""
|
|
1013
977
|
...
|
|
1014
|
-
def GuiColorPicker(
|
|
1015
|
-
"""
|
|
1016
|
-
|
|
1017
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
978
|
+
def GuiColorPicker(bounds: Rectangle,text: str,color: Any,) -> int:
|
|
979
|
+
"""Color Picker control (multiple color controls)"""
|
|
1018
980
|
...
|
|
1019
|
-
def GuiColorPickerHSV(
|
|
1020
|
-
"""
|
|
1021
|
-
|
|
1022
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
981
|
+
def GuiColorPickerHSV(bounds: Rectangle,text: str,colorHsv: Any,) -> int:
|
|
982
|
+
"""Color Picker control that avoids conversion to RGB on each call (multiple color controls)"""
|
|
1023
983
|
...
|
|
1024
|
-
def GuiComboBox(
|
|
1025
|
-
"""
|
|
1026
|
-
|
|
1027
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
984
|
+
def GuiComboBox(bounds: Rectangle,text: str,active: Any,) -> int:
|
|
985
|
+
"""Combo Box control, returns selected item index"""
|
|
1028
986
|
...
|
|
1029
987
|
def GuiDisable() -> None:
|
|
1030
|
-
"""
|
|
1031
|
-
|
|
1032
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
988
|
+
"""Disable gui controls (global state)"""
|
|
1033
989
|
...
|
|
1034
990
|
def GuiDisableTooltip() -> None:
|
|
1035
|
-
"""
|
|
1036
|
-
|
|
1037
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
991
|
+
"""Disable gui tooltips (global state)"""
|
|
1038
992
|
...
|
|
1039
|
-
def GuiDrawIcon(
|
|
1040
|
-
"""
|
|
1041
|
-
|
|
1042
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
993
|
+
def GuiDrawIcon(iconId: int,posX: int,posY: int,pixelSize: int,color: Color,) -> None:
|
|
994
|
+
"""Draw icon using pixel size at specified position"""
|
|
1043
995
|
...
|
|
1044
|
-
def GuiDropdownBox(
|
|
1045
|
-
"""
|
|
1046
|
-
|
|
1047
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
996
|
+
def GuiDropdownBox(bounds: Rectangle,text: str,active: Any,editMode: bool,) -> int:
|
|
997
|
+
"""Dropdown Box control, returns selected item"""
|
|
1048
998
|
...
|
|
1049
|
-
def GuiDummyRec(
|
|
1050
|
-
"""
|
|
1051
|
-
|
|
1052
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
999
|
+
def GuiDummyRec(bounds: Rectangle,text: str,) -> int:
|
|
1000
|
+
"""Dummy control for placeholders"""
|
|
1053
1001
|
...
|
|
1054
1002
|
def GuiEnable() -> None:
|
|
1055
|
-
"""
|
|
1056
|
-
|
|
1057
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1003
|
+
"""Enable gui controls (global state)"""
|
|
1058
1004
|
...
|
|
1059
1005
|
def GuiEnableTooltip() -> None:
|
|
1060
|
-
"""
|
|
1061
|
-
|
|
1062
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1006
|
+
"""Enable gui tooltips (global state)"""
|
|
1063
1007
|
...
|
|
1064
1008
|
def GuiGetFont() -> Font:
|
|
1065
|
-
"""
|
|
1066
|
-
|
|
1067
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1009
|
+
"""Get gui custom font (global state)"""
|
|
1068
1010
|
...
|
|
1069
1011
|
def GuiGetIcons() -> Any:
|
|
1070
|
-
"""
|
|
1071
|
-
|
|
1072
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1012
|
+
"""Get raygui icons data pointer"""
|
|
1073
1013
|
...
|
|
1074
1014
|
def GuiGetState() -> int:
|
|
1075
|
-
"""
|
|
1076
|
-
|
|
1077
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1015
|
+
"""Get gui state (global state)"""
|
|
1078
1016
|
...
|
|
1079
|
-
def GuiGetStyle(
|
|
1080
|
-
"""
|
|
1081
|
-
|
|
1082
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1017
|
+
def GuiGetStyle(control: int,property: int,) -> int:
|
|
1018
|
+
"""Get one style property"""
|
|
1083
1019
|
...
|
|
1084
|
-
def GuiGrid(
|
|
1085
|
-
"""
|
|
1086
|
-
|
|
1087
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1020
|
+
def GuiGrid(bounds: Rectangle,text: str,spacing: float,subdivs: int,mouseCell: Any,) -> int:
|
|
1021
|
+
"""Grid control, returns mouse cell position"""
|
|
1088
1022
|
...
|
|
1089
|
-
def GuiGroupBox(
|
|
1090
|
-
"""
|
|
1091
|
-
|
|
1092
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1023
|
+
def GuiGroupBox(bounds: Rectangle,text: str,) -> int:
|
|
1024
|
+
"""Group Box control with text name"""
|
|
1093
1025
|
...
|
|
1094
|
-
def GuiIconText(
|
|
1095
|
-
"""
|
|
1096
|
-
|
|
1097
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1026
|
+
def GuiIconText(iconId: int,text: str,) -> str:
|
|
1027
|
+
"""Get text with icon id prepended (if supported)"""
|
|
1098
1028
|
...
|
|
1099
1029
|
def GuiIsLocked() -> bool:
|
|
1100
|
-
"""
|
|
1101
|
-
|
|
1102
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1030
|
+
"""Check if gui is locked (global state)"""
|
|
1103
1031
|
...
|
|
1104
|
-
def GuiLabel(
|
|
1105
|
-
"""
|
|
1106
|
-
|
|
1107
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1032
|
+
def GuiLabel(bounds: Rectangle,text: str,) -> int:
|
|
1033
|
+
"""Label control, shows text"""
|
|
1108
1034
|
...
|
|
1109
|
-
def GuiLabelButton(
|
|
1110
|
-
"""
|
|
1111
|
-
|
|
1112
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1035
|
+
def GuiLabelButton(bounds: Rectangle,text: str,) -> int:
|
|
1036
|
+
"""Label button control, show true when clicked"""
|
|
1113
1037
|
...
|
|
1114
|
-
def GuiLine(
|
|
1115
|
-
"""
|
|
1116
|
-
|
|
1117
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1038
|
+
def GuiLine(bounds: Rectangle,text: str,) -> int:
|
|
1039
|
+
"""Line separator control, could contain text"""
|
|
1118
1040
|
...
|
|
1119
|
-
def GuiListView(
|
|
1120
|
-
"""
|
|
1121
|
-
|
|
1122
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1041
|
+
def GuiListView(bounds: Rectangle,text: str,scrollIndex: Any,active: Any,) -> int:
|
|
1042
|
+
"""List View control, returns selected list item index"""
|
|
1123
1043
|
...
|
|
1124
|
-
def GuiListViewEx(
|
|
1125
|
-
"""
|
|
1126
|
-
|
|
1127
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1044
|
+
def GuiListViewEx(bounds: Rectangle,text: str,count: int,scrollIndex: Any,active: Any,focus: Any,) -> int:
|
|
1045
|
+
"""List View with extended parameters"""
|
|
1128
1046
|
...
|
|
1129
|
-
def GuiLoadIcons(
|
|
1130
|
-
"""
|
|
1131
|
-
|
|
1132
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1047
|
+
def GuiLoadIcons(fileName: str,loadIconsName: bool,) -> str:
|
|
1048
|
+
"""Load raygui icons file (.rgi) into internal icons data"""
|
|
1133
1049
|
...
|
|
1134
|
-
def GuiLoadStyle(
|
|
1135
|
-
"""
|
|
1136
|
-
|
|
1137
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1050
|
+
def GuiLoadStyle(fileName: str,) -> None:
|
|
1051
|
+
"""Load style file over global style variable (.rgs)"""
|
|
1138
1052
|
...
|
|
1139
1053
|
def GuiLoadStyleDefault() -> None:
|
|
1140
|
-
"""
|
|
1141
|
-
|
|
1142
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1054
|
+
"""Load style default over global style"""
|
|
1143
1055
|
...
|
|
1144
1056
|
def GuiLock() -> None:
|
|
1145
|
-
"""
|
|
1146
|
-
|
|
1147
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1057
|
+
"""Lock gui controls (global state)"""
|
|
1148
1058
|
...
|
|
1149
|
-
def GuiMessageBox(
|
|
1150
|
-
"""
|
|
1151
|
-
|
|
1152
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1059
|
+
def GuiMessageBox(bounds: Rectangle,title: str,message: str,buttons: str,) -> int:
|
|
1060
|
+
"""Message Box control, displays a message"""
|
|
1153
1061
|
...
|
|
1154
|
-
def GuiPanel(
|
|
1155
|
-
"""
|
|
1156
|
-
|
|
1157
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1062
|
+
def GuiPanel(bounds: Rectangle,text: str,) -> int:
|
|
1063
|
+
"""Panel control, useful to group controls"""
|
|
1158
1064
|
...
|
|
1159
|
-
def GuiProgressBar(
|
|
1160
|
-
"""
|
|
1161
|
-
|
|
1162
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1065
|
+
def GuiProgressBar(bounds: Rectangle,textLeft: str,textRight: str,value: Any,minValue: float,maxValue: float,) -> int:
|
|
1066
|
+
"""Progress Bar control, shows current progress value"""
|
|
1163
1067
|
...
|
|
1164
|
-
def GuiScrollPanel(
|
|
1165
|
-
"""
|
|
1166
|
-
|
|
1167
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1068
|
+
def GuiScrollPanel(bounds: Rectangle,text: str,content: Rectangle,scroll: Any,view: Any,) -> int:
|
|
1069
|
+
"""Scroll Panel control"""
|
|
1168
1070
|
...
|
|
1169
|
-
def GuiSetAlpha(
|
|
1170
|
-
"""
|
|
1171
|
-
|
|
1172
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1071
|
+
def GuiSetAlpha(alpha: float,) -> None:
|
|
1072
|
+
"""Set gui controls alpha (global state), alpha goes from 0.0f to 1.0f"""
|
|
1173
1073
|
...
|
|
1174
|
-
def GuiSetFont(
|
|
1175
|
-
"""
|
|
1176
|
-
|
|
1177
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1074
|
+
def GuiSetFont(font: Font,) -> None:
|
|
1075
|
+
"""Set gui custom font (global state)"""
|
|
1178
1076
|
...
|
|
1179
|
-
def GuiSetIconScale(
|
|
1180
|
-
"""
|
|
1181
|
-
|
|
1182
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1077
|
+
def GuiSetIconScale(scale: int,) -> None:
|
|
1078
|
+
"""Set default icon drawing size"""
|
|
1183
1079
|
...
|
|
1184
|
-
def GuiSetState(
|
|
1185
|
-
"""
|
|
1186
|
-
|
|
1187
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1080
|
+
def GuiSetState(state: int,) -> None:
|
|
1081
|
+
"""Set gui state (global state)"""
|
|
1188
1082
|
...
|
|
1189
|
-
def GuiSetStyle(
|
|
1190
|
-
"""
|
|
1191
|
-
|
|
1192
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1083
|
+
def GuiSetStyle(control: int,property: int,value: int,) -> None:
|
|
1084
|
+
"""Set one style property"""
|
|
1193
1085
|
...
|
|
1194
|
-
def GuiSetTooltip(
|
|
1195
|
-
"""
|
|
1196
|
-
|
|
1197
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1086
|
+
def GuiSetTooltip(tooltip: str,) -> None:
|
|
1087
|
+
"""Set tooltip string"""
|
|
1198
1088
|
...
|
|
1199
|
-
def GuiSlider(
|
|
1200
|
-
"""
|
|
1201
|
-
|
|
1202
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1089
|
+
def GuiSlider(bounds: Rectangle,textLeft: str,textRight: str,value: Any,minValue: float,maxValue: float,) -> int:
|
|
1090
|
+
"""Slider control, returns selected value"""
|
|
1203
1091
|
...
|
|
1204
|
-
def GuiSliderBar(
|
|
1205
|
-
"""
|
|
1206
|
-
|
|
1207
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1092
|
+
def GuiSliderBar(bounds: Rectangle,textLeft: str,textRight: str,value: Any,minValue: float,maxValue: float,) -> int:
|
|
1093
|
+
"""Slider Bar control, returns selected value"""
|
|
1208
1094
|
...
|
|
1209
|
-
def GuiSpinner(
|
|
1210
|
-
"""
|
|
1211
|
-
|
|
1212
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1095
|
+
def GuiSpinner(bounds: Rectangle,text: str,value: Any,minValue: int,maxValue: int,editMode: bool,) -> int:
|
|
1096
|
+
"""Spinner control, returns selected value"""
|
|
1213
1097
|
...
|
|
1214
|
-
def GuiStatusBar(
|
|
1215
|
-
"""
|
|
1216
|
-
|
|
1217
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1098
|
+
def GuiStatusBar(bounds: Rectangle,text: str,) -> int:
|
|
1099
|
+
"""Status Bar control, shows info text"""
|
|
1218
1100
|
...
|
|
1219
|
-
def GuiTabBar(
|
|
1220
|
-
"""
|
|
1221
|
-
|
|
1222
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1101
|
+
def GuiTabBar(bounds: Rectangle,text: str,count: int,active: Any,) -> int:
|
|
1102
|
+
"""Tab Bar control, returns TAB to be closed or -1"""
|
|
1223
1103
|
...
|
|
1224
|
-
def GuiTextBox(
|
|
1225
|
-
"""
|
|
1226
|
-
|
|
1227
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1104
|
+
def GuiTextBox(bounds: Rectangle,text: str,textSize: int,editMode: bool,) -> int:
|
|
1105
|
+
"""Text Box control, updates input text"""
|
|
1228
1106
|
...
|
|
1229
|
-
def GuiTextInputBox(
|
|
1230
|
-
"""
|
|
1231
|
-
|
|
1232
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1107
|
+
def GuiTextInputBox(bounds: Rectangle,title: str,message: str,buttons: str,text: str,textMaxSize: int,secretViewActive: Any,) -> int:
|
|
1108
|
+
"""Text Input Box control, ask for text, supports secret"""
|
|
1233
1109
|
...
|
|
1234
|
-
def GuiToggle(
|
|
1235
|
-
"""
|
|
1236
|
-
|
|
1237
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1110
|
+
def GuiToggle(bounds: Rectangle,text: str,active: Any,) -> int:
|
|
1111
|
+
"""Toggle Button control, returns true when active"""
|
|
1238
1112
|
...
|
|
1239
|
-
def GuiToggleGroup(
|
|
1240
|
-
"""
|
|
1241
|
-
|
|
1242
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1113
|
+
def GuiToggleGroup(bounds: Rectangle,text: str,active: Any,) -> int:
|
|
1114
|
+
"""Toggle Group control, returns active toggle index"""
|
|
1243
1115
|
...
|
|
1244
|
-
def GuiToggleSlider(
|
|
1245
|
-
"""
|
|
1246
|
-
|
|
1247
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1116
|
+
def GuiToggleSlider(bounds: Rectangle,text: str,active: Any,) -> int:
|
|
1117
|
+
"""Toggle Slider control, returns true when clicked"""
|
|
1248
1118
|
...
|
|
1249
1119
|
def GuiUnlock() -> None:
|
|
1250
|
-
"""
|
|
1251
|
-
|
|
1252
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1120
|
+
"""Unlock gui controls (global state)"""
|
|
1253
1121
|
...
|
|
1254
|
-
def GuiValueBox(
|
|
1255
|
-
"""
|
|
1256
|
-
|
|
1257
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1122
|
+
def GuiValueBox(bounds: Rectangle,text: str,value: Any,minValue: int,maxValue: int,editMode: bool,) -> int:
|
|
1123
|
+
"""Value Box control, updates input text with numbers"""
|
|
1258
1124
|
...
|
|
1259
|
-
def GuiWindowBox(
|
|
1260
|
-
"""
|
|
1261
|
-
|
|
1262
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1125
|
+
def GuiWindowBox(bounds: Rectangle,title: str,) -> int:
|
|
1126
|
+
"""Window Box control, shows a window that can be closed"""
|
|
1263
1127
|
...
|
|
1264
1128
|
HUEBAR_PADDING: int
|
|
1265
1129
|
HUEBAR_SELECTOR_HEIGHT: int
|
|
@@ -1660,9 +1524,7 @@ def InitAudioDevice() -> None:
|
|
|
1660
1524
|
"""Initialize audio device and context"""
|
|
1661
1525
|
...
|
|
1662
1526
|
def InitPhysics() -> None:
|
|
1663
|
-
"""
|
|
1664
|
-
|
|
1665
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1527
|
+
"""Initializes physics system"""
|
|
1666
1528
|
...
|
|
1667
1529
|
def InitWindow(width: int,height: int,title: str,) -> None:
|
|
1668
1530
|
"""Initialize window and OpenGL context"""
|
|
@@ -1925,10 +1787,8 @@ LOG_INFO: int
|
|
|
1925
1787
|
LOG_NONE: int
|
|
1926
1788
|
LOG_TRACE: int
|
|
1927
1789
|
LOG_WARNING: int
|
|
1928
|
-
def Lerp(
|
|
1929
|
-
"""
|
|
1930
|
-
|
|
1931
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1790
|
+
def Lerp(start: float,end: float,amount: float,) -> float:
|
|
1791
|
+
""""""
|
|
1932
1792
|
...
|
|
1933
1793
|
def LoadAudioStream(sampleRate: int,sampleSize: int,channels: int,) -> AudioStream:
|
|
1934
1794
|
"""Load audio stream (to stream raw audio pcm data)"""
|
|
@@ -2017,7 +1877,7 @@ def LoadMusicStream(fileName: str,) -> Music:
|
|
|
2017
1877
|
def LoadMusicStreamFromMemory(fileType: str,data: str,dataSize: int,) -> Music:
|
|
2018
1878
|
"""Load music stream from data"""
|
|
2019
1879
|
...
|
|
2020
|
-
def LoadRandomSequence(count: int,
|
|
1880
|
+
def LoadRandomSequence(count: int,min_1: int,max_2: int,) -> Any:
|
|
2021
1881
|
"""Load random values sequence, no values repeated"""
|
|
2022
1882
|
...
|
|
2023
1883
|
def LoadRenderTexture(width: int,height: int,) -> RenderTexture:
|
|
@@ -2091,110 +1951,68 @@ MOUSE_CURSOR_RESIZE_EW: int
|
|
|
2091
1951
|
MOUSE_CURSOR_RESIZE_NESW: int
|
|
2092
1952
|
MOUSE_CURSOR_RESIZE_NS: int
|
|
2093
1953
|
MOUSE_CURSOR_RESIZE_NWSE: int
|
|
2094
|
-
def MatrixAdd(
|
|
2095
|
-
"""
|
|
2096
|
-
|
|
2097
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1954
|
+
def MatrixAdd(left: Matrix,right: Matrix,) -> Matrix:
|
|
1955
|
+
""""""
|
|
2098
1956
|
...
|
|
2099
|
-
def MatrixDeterminant(
|
|
2100
|
-
"""
|
|
2101
|
-
|
|
2102
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1957
|
+
def MatrixDeterminant(mat: Matrix,) -> float:
|
|
1958
|
+
""""""
|
|
2103
1959
|
...
|
|
2104
|
-
def MatrixFrustum(
|
|
2105
|
-
"""
|
|
2106
|
-
|
|
2107
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1960
|
+
def MatrixFrustum(left: float,right: float,bottom: float,top: float,near: float,far: float,) -> Matrix:
|
|
1961
|
+
""""""
|
|
2108
1962
|
...
|
|
2109
1963
|
def MatrixIdentity() -> Matrix:
|
|
2110
|
-
"""
|
|
2111
|
-
|
|
2112
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1964
|
+
""""""
|
|
2113
1965
|
...
|
|
2114
|
-
def MatrixInvert(
|
|
2115
|
-
"""
|
|
2116
|
-
|
|
2117
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1966
|
+
def MatrixInvert(mat: Matrix,) -> Matrix:
|
|
1967
|
+
""""""
|
|
2118
1968
|
...
|
|
2119
|
-
def MatrixLookAt(
|
|
2120
|
-
"""
|
|
2121
|
-
|
|
2122
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1969
|
+
def MatrixLookAt(eye: Vector3,target: Vector3,up: Vector3,) -> Matrix:
|
|
1970
|
+
""""""
|
|
2123
1971
|
...
|
|
2124
|
-
def MatrixMultiply(
|
|
2125
|
-
"""
|
|
2126
|
-
|
|
2127
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1972
|
+
def MatrixMultiply(left: Matrix,right: Matrix,) -> Matrix:
|
|
1973
|
+
""""""
|
|
2128
1974
|
...
|
|
2129
|
-
def MatrixOrtho(
|
|
2130
|
-
"""
|
|
2131
|
-
|
|
2132
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1975
|
+
def MatrixOrtho(left: float,right: float,bottom: float,top: float,nearPlane: float,farPlane: float,) -> Matrix:
|
|
1976
|
+
""""""
|
|
2133
1977
|
...
|
|
2134
|
-
def MatrixPerspective(
|
|
2135
|
-
"""
|
|
2136
|
-
|
|
2137
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1978
|
+
def MatrixPerspective(fovY: float,aspect: float,nearPlane: float,farPlane: float,) -> Matrix:
|
|
1979
|
+
""""""
|
|
2138
1980
|
...
|
|
2139
|
-
def MatrixRotate(
|
|
2140
|
-
"""
|
|
2141
|
-
|
|
2142
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1981
|
+
def MatrixRotate(axis: Vector3,angle: float,) -> Matrix:
|
|
1982
|
+
""""""
|
|
2143
1983
|
...
|
|
2144
|
-
def MatrixRotateX(
|
|
2145
|
-
"""
|
|
2146
|
-
|
|
2147
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1984
|
+
def MatrixRotateX(angle: float,) -> Matrix:
|
|
1985
|
+
""""""
|
|
2148
1986
|
...
|
|
2149
|
-
def MatrixRotateXYZ(
|
|
2150
|
-
"""
|
|
2151
|
-
|
|
2152
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1987
|
+
def MatrixRotateXYZ(angle: Vector3,) -> Matrix:
|
|
1988
|
+
""""""
|
|
2153
1989
|
...
|
|
2154
|
-
def MatrixRotateY(
|
|
2155
|
-
"""
|
|
2156
|
-
|
|
2157
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1990
|
+
def MatrixRotateY(angle: float,) -> Matrix:
|
|
1991
|
+
""""""
|
|
2158
1992
|
...
|
|
2159
|
-
def MatrixRotateZ(
|
|
2160
|
-
"""
|
|
2161
|
-
|
|
2162
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1993
|
+
def MatrixRotateZ(angle: float,) -> Matrix:
|
|
1994
|
+
""""""
|
|
2163
1995
|
...
|
|
2164
|
-
def MatrixRotateZYX(
|
|
2165
|
-
"""
|
|
2166
|
-
|
|
2167
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1996
|
+
def MatrixRotateZYX(angle: Vector3,) -> Matrix:
|
|
1997
|
+
""""""
|
|
2168
1998
|
...
|
|
2169
|
-
def MatrixScale(
|
|
2170
|
-
"""
|
|
2171
|
-
|
|
2172
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
1999
|
+
def MatrixScale(x: float,y: float,z: float,) -> Matrix:
|
|
2000
|
+
""""""
|
|
2173
2001
|
...
|
|
2174
|
-
def MatrixSubtract(
|
|
2175
|
-
"""
|
|
2176
|
-
|
|
2177
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2002
|
+
def MatrixSubtract(left: Matrix,right: Matrix,) -> Matrix:
|
|
2003
|
+
""""""
|
|
2178
2004
|
...
|
|
2179
|
-
def MatrixToFloatV(
|
|
2180
|
-
"""
|
|
2181
|
-
|
|
2182
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2005
|
+
def MatrixToFloatV(mat: Matrix,) -> float16:
|
|
2006
|
+
""""""
|
|
2183
2007
|
...
|
|
2184
|
-
def MatrixTrace(
|
|
2185
|
-
"""
|
|
2186
|
-
|
|
2187
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2008
|
+
def MatrixTrace(mat: Matrix,) -> float:
|
|
2009
|
+
""""""
|
|
2188
2010
|
...
|
|
2189
|
-
def MatrixTranslate(
|
|
2190
|
-
"""
|
|
2191
|
-
|
|
2192
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2011
|
+
def MatrixTranslate(x: float,y: float,z: float,) -> Matrix:
|
|
2012
|
+
""""""
|
|
2193
2013
|
...
|
|
2194
|
-
def MatrixTranspose(
|
|
2195
|
-
"""
|
|
2196
|
-
|
|
2197
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2014
|
+
def MatrixTranspose(mat: Matrix,) -> Matrix:
|
|
2015
|
+
""""""
|
|
2198
2016
|
...
|
|
2199
2017
|
def MaximizeWindow() -> None:
|
|
2200
2018
|
"""Set window state: maximized, if resizable (only PLATFORM_DESKTOP)"""
|
|
@@ -2220,10 +2038,8 @@ def MinimizeWindow() -> None:
|
|
|
2220
2038
|
NPATCH_NINE_PATCH: int
|
|
2221
2039
|
NPATCH_THREE_PATCH_HORIZONTAL: int
|
|
2222
2040
|
NPATCH_THREE_PATCH_VERTICAL: int
|
|
2223
|
-
def Normalize(
|
|
2224
|
-
"""
|
|
2225
|
-
|
|
2226
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2041
|
+
def Normalize(value: float,start: float,end: float,) -> float:
|
|
2042
|
+
""""""
|
|
2227
2043
|
...
|
|
2228
2044
|
def OpenURL(url: str,) -> None:
|
|
2229
2045
|
"""Open URL with default system browser (if available)"""
|
|
@@ -2265,20 +2081,14 @@ def PauseMusicStream(music: Music,) -> None:
|
|
|
2265
2081
|
def PauseSound(sound: Sound,) -> None:
|
|
2266
2082
|
"""Pause a sound"""
|
|
2267
2083
|
...
|
|
2268
|
-
def PhysicsAddForce(
|
|
2269
|
-
"""
|
|
2270
|
-
|
|
2271
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2084
|
+
def PhysicsAddForce(body: Any,force: Vector2,) -> None:
|
|
2085
|
+
"""Adds a force to a physics body"""
|
|
2272
2086
|
...
|
|
2273
|
-
def PhysicsAddTorque(
|
|
2274
|
-
"""
|
|
2275
|
-
|
|
2276
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2087
|
+
def PhysicsAddTorque(body: Any,amount: float,) -> None:
|
|
2088
|
+
"""Adds an angular force to a physics body"""
|
|
2277
2089
|
...
|
|
2278
|
-
def PhysicsShatter(
|
|
2279
|
-
"""
|
|
2280
|
-
|
|
2281
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2090
|
+
def PhysicsShatter(body: Any,position: Vector2,force: float,) -> None:
|
|
2091
|
+
"""Shatters a polygon shape physics body to little physics bodies with explosion force"""
|
|
2282
2092
|
...
|
|
2283
2093
|
def PlayAudioStream(stream: AudioStream,) -> None:
|
|
2284
2094
|
"""Play audio stream"""
|
|
@@ -2295,120 +2105,74 @@ def PlaySound(sound: Sound,) -> None:
|
|
|
2295
2105
|
def PollInputEvents() -> None:
|
|
2296
2106
|
"""Register all input events"""
|
|
2297
2107
|
...
|
|
2298
|
-
def QuaternionAdd(
|
|
2299
|
-
"""
|
|
2300
|
-
|
|
2301
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2108
|
+
def QuaternionAdd(q1: Vector4,q2: Vector4,) -> Vector4:
|
|
2109
|
+
""""""
|
|
2302
2110
|
...
|
|
2303
|
-
def QuaternionAddValue(
|
|
2304
|
-
"""
|
|
2305
|
-
|
|
2306
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2111
|
+
def QuaternionAddValue(q: Vector4,add: float,) -> Vector4:
|
|
2112
|
+
""""""
|
|
2307
2113
|
...
|
|
2308
|
-
def QuaternionDivide(
|
|
2309
|
-
"""
|
|
2310
|
-
|
|
2311
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2114
|
+
def QuaternionDivide(q1: Vector4,q2: Vector4,) -> Vector4:
|
|
2115
|
+
""""""
|
|
2312
2116
|
...
|
|
2313
|
-
def QuaternionEquals(
|
|
2314
|
-
"""
|
|
2315
|
-
|
|
2316
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2117
|
+
def QuaternionEquals(p: Vector4,q: Vector4,) -> int:
|
|
2118
|
+
""""""
|
|
2317
2119
|
...
|
|
2318
|
-
def QuaternionFromAxisAngle(
|
|
2319
|
-
"""
|
|
2320
|
-
|
|
2321
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2120
|
+
def QuaternionFromAxisAngle(axis: Vector3,angle: float,) -> Vector4:
|
|
2121
|
+
""""""
|
|
2322
2122
|
...
|
|
2323
|
-
def QuaternionFromEuler(
|
|
2324
|
-
"""
|
|
2325
|
-
|
|
2326
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2123
|
+
def QuaternionFromEuler(pitch: float,yaw: float,roll: float,) -> Vector4:
|
|
2124
|
+
""""""
|
|
2327
2125
|
...
|
|
2328
|
-
def QuaternionFromMatrix(
|
|
2329
|
-
"""
|
|
2330
|
-
|
|
2331
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2126
|
+
def QuaternionFromMatrix(mat: Matrix,) -> Vector4:
|
|
2127
|
+
""""""
|
|
2332
2128
|
...
|
|
2333
|
-
def QuaternionFromVector3ToVector3(
|
|
2334
|
-
"""
|
|
2335
|
-
|
|
2336
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2129
|
+
def QuaternionFromVector3ToVector3(from_0: Vector3,to: Vector3,) -> Vector4:
|
|
2130
|
+
""""""
|
|
2337
2131
|
...
|
|
2338
2132
|
def QuaternionIdentity() -> Vector4:
|
|
2339
|
-
"""
|
|
2340
|
-
|
|
2341
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2133
|
+
""""""
|
|
2342
2134
|
...
|
|
2343
|
-
def QuaternionInvert(
|
|
2344
|
-
"""
|
|
2345
|
-
|
|
2346
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2135
|
+
def QuaternionInvert(q: Vector4,) -> Vector4:
|
|
2136
|
+
""""""
|
|
2347
2137
|
...
|
|
2348
|
-
def QuaternionLength(
|
|
2349
|
-
"""
|
|
2350
|
-
|
|
2351
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2138
|
+
def QuaternionLength(q: Vector4,) -> float:
|
|
2139
|
+
""""""
|
|
2352
2140
|
...
|
|
2353
|
-
def QuaternionLerp(
|
|
2354
|
-
"""
|
|
2355
|
-
|
|
2356
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2141
|
+
def QuaternionLerp(q1: Vector4,q2: Vector4,amount: float,) -> Vector4:
|
|
2142
|
+
""""""
|
|
2357
2143
|
...
|
|
2358
|
-
def QuaternionMultiply(
|
|
2359
|
-
"""
|
|
2360
|
-
|
|
2361
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2144
|
+
def QuaternionMultiply(q1: Vector4,q2: Vector4,) -> Vector4:
|
|
2145
|
+
""""""
|
|
2362
2146
|
...
|
|
2363
|
-
def QuaternionNlerp(
|
|
2364
|
-
"""
|
|
2365
|
-
|
|
2366
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2147
|
+
def QuaternionNlerp(q1: Vector4,q2: Vector4,amount: float,) -> Vector4:
|
|
2148
|
+
""""""
|
|
2367
2149
|
...
|
|
2368
|
-
def QuaternionNormalize(
|
|
2369
|
-
"""
|
|
2370
|
-
|
|
2371
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2150
|
+
def QuaternionNormalize(q: Vector4,) -> Vector4:
|
|
2151
|
+
""""""
|
|
2372
2152
|
...
|
|
2373
|
-
def QuaternionScale(
|
|
2374
|
-
"""
|
|
2375
|
-
|
|
2376
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2153
|
+
def QuaternionScale(q: Vector4,mul: float,) -> Vector4:
|
|
2154
|
+
""""""
|
|
2377
2155
|
...
|
|
2378
|
-
def QuaternionSlerp(
|
|
2379
|
-
"""
|
|
2380
|
-
|
|
2381
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2156
|
+
def QuaternionSlerp(q1: Vector4,q2: Vector4,amount: float,) -> Vector4:
|
|
2157
|
+
""""""
|
|
2382
2158
|
...
|
|
2383
|
-
def QuaternionSubtract(
|
|
2384
|
-
"""
|
|
2385
|
-
|
|
2386
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2159
|
+
def QuaternionSubtract(q1: Vector4,q2: Vector4,) -> Vector4:
|
|
2160
|
+
""""""
|
|
2387
2161
|
...
|
|
2388
|
-
def QuaternionSubtractValue(
|
|
2389
|
-
"""
|
|
2390
|
-
|
|
2391
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2162
|
+
def QuaternionSubtractValue(q: Vector4,sub: float,) -> Vector4:
|
|
2163
|
+
""""""
|
|
2392
2164
|
...
|
|
2393
|
-
def QuaternionToAxisAngle(
|
|
2394
|
-
"""
|
|
2395
|
-
|
|
2396
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2165
|
+
def QuaternionToAxisAngle(q: Vector4,outAxis: Any,outAngle: Any,) -> None:
|
|
2166
|
+
""""""
|
|
2397
2167
|
...
|
|
2398
|
-
def QuaternionToEuler(
|
|
2399
|
-
"""
|
|
2400
|
-
|
|
2401
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2168
|
+
def QuaternionToEuler(q: Vector4,) -> Vector3:
|
|
2169
|
+
""""""
|
|
2402
2170
|
...
|
|
2403
|
-
def QuaternionToMatrix(
|
|
2404
|
-
"""
|
|
2405
|
-
|
|
2406
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2171
|
+
def QuaternionToMatrix(q: Vector4,) -> Matrix:
|
|
2172
|
+
""""""
|
|
2407
2173
|
...
|
|
2408
|
-
def QuaternionTransform(
|
|
2409
|
-
"""
|
|
2410
|
-
|
|
2411
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2174
|
+
def QuaternionTransform(q: Vector4,mat: Matrix,) -> Vector4:
|
|
2175
|
+
""""""
|
|
2412
2176
|
...
|
|
2413
2177
|
RL_ATTACHMENT_COLOR_CHANNEL0: int
|
|
2414
2178
|
RL_ATTACHMENT_COLOR_CHANNEL1: int
|
|
@@ -2521,15 +2285,11 @@ RL_TEXTURE_FILTER_ANISOTROPIC_8X: int
|
|
|
2521
2285
|
RL_TEXTURE_FILTER_BILINEAR: int
|
|
2522
2286
|
RL_TEXTURE_FILTER_POINT: int
|
|
2523
2287
|
RL_TEXTURE_FILTER_TRILINEAR: int
|
|
2524
|
-
def Remap(
|
|
2525
|
-
"""
|
|
2526
|
-
|
|
2527
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2288
|
+
def Remap(value: float,inputStart: float,inputEnd: float,outputStart: float,outputEnd: float,) -> float:
|
|
2289
|
+
""""""
|
|
2528
2290
|
...
|
|
2529
2291
|
def ResetPhysics() -> None:
|
|
2530
|
-
"""
|
|
2531
|
-
|
|
2532
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2292
|
+
"""Reset physics system (global variables)"""
|
|
2533
2293
|
...
|
|
2534
2294
|
def RestoreWindow() -> None:
|
|
2535
2295
|
"""Set window state: not minimized/maximized (only PLATFORM_DESKTOP)"""
|
|
@@ -2627,7 +2387,7 @@ def SetAudioStreamVolume(stream: AudioStream,volume: float,) -> None:
|
|
|
2627
2387
|
def SetAutomationEventBaseFrame(frame: int,) -> None:
|
|
2628
2388
|
"""Set automation event internal base frame to start recording"""
|
|
2629
2389
|
...
|
|
2630
|
-
def SetAutomationEventList(
|
|
2390
|
+
def SetAutomationEventList(list_0: Any,) -> None:
|
|
2631
2391
|
"""Set automation event list to record to"""
|
|
2632
2392
|
...
|
|
2633
2393
|
def SetClipboardText(text: str,) -> None:
|
|
@@ -2681,20 +2441,14 @@ def SetMusicPitch(music: Music,pitch: float,) -> None:
|
|
|
2681
2441
|
def SetMusicVolume(music: Music,volume: float,) -> None:
|
|
2682
2442
|
"""Set volume for music (1.0 is max level)"""
|
|
2683
2443
|
...
|
|
2684
|
-
def SetPhysicsBodyRotation(
|
|
2685
|
-
"""
|
|
2686
|
-
|
|
2687
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2444
|
+
def SetPhysicsBodyRotation(body: Any,radians: float,) -> None:
|
|
2445
|
+
"""Sets physics body shape transform based on radians parameter"""
|
|
2688
2446
|
...
|
|
2689
|
-
def SetPhysicsGravity(
|
|
2690
|
-
"""
|
|
2691
|
-
|
|
2692
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2447
|
+
def SetPhysicsGravity(x: float,y: float,) -> None:
|
|
2448
|
+
"""Sets physics global gravity force"""
|
|
2693
2449
|
...
|
|
2694
|
-
def SetPhysicsTimeStep(
|
|
2695
|
-
"""
|
|
2696
|
-
|
|
2697
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2450
|
+
def SetPhysicsTimeStep(delta: float,) -> None:
|
|
2451
|
+
"""Sets physics fixed time step in milliseconds. 1.666666 by default"""
|
|
2698
2452
|
...
|
|
2699
2453
|
def SetPixelColor(dstPtr: Any,color: Color,format: int,) -> None:
|
|
2700
2454
|
"""Set color formatted into destination pixel pointer"""
|
|
@@ -2897,7 +2651,7 @@ def TraceLog(*args) -> None:
|
|
|
2897
2651
|
def UnloadAudioStream(stream: AudioStream,) -> None:
|
|
2898
2652
|
"""Unload audio stream and free memory"""
|
|
2899
2653
|
...
|
|
2900
|
-
def UnloadAutomationEventList(
|
|
2654
|
+
def UnloadAutomationEventList(list_0: Any,) -> None:
|
|
2901
2655
|
"""Unload automation events list from file"""
|
|
2902
2656
|
...
|
|
2903
2657
|
def UnloadCodepoints(codepoints: Any,) -> None:
|
|
@@ -2997,9 +2751,7 @@ def UpdateMusicStream(music: Music,) -> None:
|
|
|
2997
2751
|
"""Updates buffers for music streaming"""
|
|
2998
2752
|
...
|
|
2999
2753
|
def UpdatePhysics() -> None:
|
|
3000
|
-
"""
|
|
3001
|
-
|
|
3002
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2754
|
+
"""Update physics system"""
|
|
3003
2755
|
...
|
|
3004
2756
|
def UpdateSound(sound: Sound,data: Any,sampleCount: int,) -> None:
|
|
3005
2757
|
"""Update sound buffer with new data"""
|
|
@@ -3014,325 +2766,197 @@ def UploadMesh(mesh: Any,dynamic: bool,) -> None:
|
|
|
3014
2766
|
"""Upload mesh vertex data in GPU and provide VAO/VBO ids"""
|
|
3015
2767
|
...
|
|
3016
2768
|
VALUEBOX: int
|
|
3017
|
-
def Vector2Add(
|
|
3018
|
-
"""
|
|
3019
|
-
|
|
3020
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2769
|
+
def Vector2Add(v1: Vector2,v2: Vector2,) -> Vector2:
|
|
2770
|
+
""""""
|
|
3021
2771
|
...
|
|
3022
|
-
def Vector2AddValue(
|
|
3023
|
-
"""
|
|
3024
|
-
|
|
3025
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2772
|
+
def Vector2AddValue(v: Vector2,add: float,) -> Vector2:
|
|
2773
|
+
""""""
|
|
3026
2774
|
...
|
|
3027
|
-
def Vector2Angle(
|
|
3028
|
-
"""
|
|
3029
|
-
|
|
3030
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2775
|
+
def Vector2Angle(v1: Vector2,v2: Vector2,) -> float:
|
|
2776
|
+
""""""
|
|
3031
2777
|
...
|
|
3032
|
-
def Vector2Clamp(
|
|
3033
|
-
"""
|
|
3034
|
-
|
|
3035
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2778
|
+
def Vector2Clamp(v: Vector2,min_1: Vector2,max_2: Vector2,) -> Vector2:
|
|
2779
|
+
""""""
|
|
3036
2780
|
...
|
|
3037
|
-
def Vector2ClampValue(
|
|
3038
|
-
"""
|
|
3039
|
-
|
|
3040
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2781
|
+
def Vector2ClampValue(v: Vector2,min_1: float,max_2: float,) -> Vector2:
|
|
2782
|
+
""""""
|
|
3041
2783
|
...
|
|
3042
|
-
def Vector2Distance(
|
|
3043
|
-
"""
|
|
3044
|
-
|
|
3045
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2784
|
+
def Vector2Distance(v1: Vector2,v2: Vector2,) -> float:
|
|
2785
|
+
""""""
|
|
3046
2786
|
...
|
|
3047
|
-
def Vector2DistanceSqr(
|
|
3048
|
-
"""
|
|
3049
|
-
|
|
3050
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2787
|
+
def Vector2DistanceSqr(v1: Vector2,v2: Vector2,) -> float:
|
|
2788
|
+
""""""
|
|
3051
2789
|
...
|
|
3052
|
-
def Vector2Divide(
|
|
3053
|
-
"""
|
|
3054
|
-
|
|
3055
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2790
|
+
def Vector2Divide(v1: Vector2,v2: Vector2,) -> Vector2:
|
|
2791
|
+
""""""
|
|
3056
2792
|
...
|
|
3057
|
-
def Vector2DotProduct(
|
|
3058
|
-
"""
|
|
3059
|
-
|
|
3060
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2793
|
+
def Vector2DotProduct(v1: Vector2,v2: Vector2,) -> float:
|
|
2794
|
+
""""""
|
|
3061
2795
|
...
|
|
3062
|
-
def Vector2Equals(
|
|
3063
|
-
"""
|
|
3064
|
-
|
|
3065
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2796
|
+
def Vector2Equals(p: Vector2,q: Vector2,) -> int:
|
|
2797
|
+
""""""
|
|
3066
2798
|
...
|
|
3067
|
-
def Vector2Invert(
|
|
3068
|
-
"""
|
|
3069
|
-
|
|
3070
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2799
|
+
def Vector2Invert(v: Vector2,) -> Vector2:
|
|
2800
|
+
""""""
|
|
3071
2801
|
...
|
|
3072
|
-
def Vector2Length(
|
|
3073
|
-
"""
|
|
3074
|
-
|
|
3075
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2802
|
+
def Vector2Length(v: Vector2,) -> float:
|
|
2803
|
+
""""""
|
|
3076
2804
|
...
|
|
3077
|
-
def Vector2LengthSqr(
|
|
3078
|
-
"""
|
|
3079
|
-
|
|
3080
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2805
|
+
def Vector2LengthSqr(v: Vector2,) -> float:
|
|
2806
|
+
""""""
|
|
3081
2807
|
...
|
|
3082
|
-
def Vector2Lerp(
|
|
3083
|
-
"""
|
|
3084
|
-
|
|
3085
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2808
|
+
def Vector2Lerp(v1: Vector2,v2: Vector2,amount: float,) -> Vector2:
|
|
2809
|
+
""""""
|
|
3086
2810
|
...
|
|
3087
|
-
def Vector2LineAngle(
|
|
3088
|
-
"""
|
|
3089
|
-
|
|
3090
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2811
|
+
def Vector2LineAngle(start: Vector2,end: Vector2,) -> float:
|
|
2812
|
+
""""""
|
|
3091
2813
|
...
|
|
3092
|
-
def Vector2MoveTowards(
|
|
3093
|
-
"""
|
|
3094
|
-
|
|
3095
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2814
|
+
def Vector2MoveTowards(v: Vector2,target: Vector2,maxDistance: float,) -> Vector2:
|
|
2815
|
+
""""""
|
|
3096
2816
|
...
|
|
3097
|
-
def Vector2Multiply(
|
|
3098
|
-
"""
|
|
3099
|
-
|
|
3100
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2817
|
+
def Vector2Multiply(v1: Vector2,v2: Vector2,) -> Vector2:
|
|
2818
|
+
""""""
|
|
3101
2819
|
...
|
|
3102
|
-
def Vector2Negate(
|
|
3103
|
-
"""
|
|
3104
|
-
|
|
3105
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2820
|
+
def Vector2Negate(v: Vector2,) -> Vector2:
|
|
2821
|
+
""""""
|
|
3106
2822
|
...
|
|
3107
|
-
def Vector2Normalize(
|
|
3108
|
-
"""
|
|
3109
|
-
|
|
3110
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2823
|
+
def Vector2Normalize(v: Vector2,) -> Vector2:
|
|
2824
|
+
""""""
|
|
3111
2825
|
...
|
|
3112
2826
|
def Vector2One() -> Vector2:
|
|
3113
|
-
"""
|
|
3114
|
-
|
|
3115
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2827
|
+
""""""
|
|
3116
2828
|
...
|
|
3117
|
-
def Vector2Reflect(
|
|
3118
|
-
"""
|
|
3119
|
-
|
|
3120
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2829
|
+
def Vector2Reflect(v: Vector2,normal: Vector2,) -> Vector2:
|
|
2830
|
+
""""""
|
|
3121
2831
|
...
|
|
3122
|
-
def Vector2Rotate(
|
|
3123
|
-
"""
|
|
3124
|
-
|
|
3125
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2832
|
+
def Vector2Rotate(v: Vector2,angle: float,) -> Vector2:
|
|
2833
|
+
""""""
|
|
3126
2834
|
...
|
|
3127
|
-
def Vector2Scale(
|
|
3128
|
-
"""
|
|
3129
|
-
|
|
3130
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2835
|
+
def Vector2Scale(v: Vector2,scale: float,) -> Vector2:
|
|
2836
|
+
""""""
|
|
3131
2837
|
...
|
|
3132
|
-
def Vector2Subtract(
|
|
3133
|
-
"""
|
|
3134
|
-
|
|
3135
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2838
|
+
def Vector2Subtract(v1: Vector2,v2: Vector2,) -> Vector2:
|
|
2839
|
+
""""""
|
|
3136
2840
|
...
|
|
3137
|
-
def Vector2SubtractValue(
|
|
3138
|
-
"""
|
|
3139
|
-
|
|
3140
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2841
|
+
def Vector2SubtractValue(v: Vector2,sub: float,) -> Vector2:
|
|
2842
|
+
""""""
|
|
3141
2843
|
...
|
|
3142
|
-
def Vector2Transform(
|
|
3143
|
-
"""
|
|
3144
|
-
|
|
3145
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2844
|
+
def Vector2Transform(v: Vector2,mat: Matrix,) -> Vector2:
|
|
2845
|
+
""""""
|
|
3146
2846
|
...
|
|
3147
2847
|
def Vector2Zero() -> Vector2:
|
|
3148
|
-
"""
|
|
3149
|
-
|
|
3150
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2848
|
+
""""""
|
|
3151
2849
|
...
|
|
3152
|
-
def Vector3Add(
|
|
3153
|
-
"""
|
|
3154
|
-
|
|
3155
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2850
|
+
def Vector3Add(v1: Vector3,v2: Vector3,) -> Vector3:
|
|
2851
|
+
""""""
|
|
3156
2852
|
...
|
|
3157
|
-
def Vector3AddValue(
|
|
3158
|
-
"""
|
|
3159
|
-
|
|
3160
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2853
|
+
def Vector3AddValue(v: Vector3,add: float,) -> Vector3:
|
|
2854
|
+
""""""
|
|
3161
2855
|
...
|
|
3162
|
-
def Vector3Angle(
|
|
3163
|
-
"""
|
|
3164
|
-
|
|
3165
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2856
|
+
def Vector3Angle(v1: Vector3,v2: Vector3,) -> float:
|
|
2857
|
+
""""""
|
|
3166
2858
|
...
|
|
3167
|
-
def Vector3Barycenter(
|
|
3168
|
-
"""
|
|
3169
|
-
|
|
3170
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2859
|
+
def Vector3Barycenter(p: Vector3,a: Vector3,b: Vector3,c: Vector3,) -> Vector3:
|
|
2860
|
+
""""""
|
|
3171
2861
|
...
|
|
3172
|
-
def Vector3Clamp(
|
|
3173
|
-
"""
|
|
3174
|
-
|
|
3175
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2862
|
+
def Vector3Clamp(v: Vector3,min_1: Vector3,max_2: Vector3,) -> Vector3:
|
|
2863
|
+
""""""
|
|
3176
2864
|
...
|
|
3177
|
-
def Vector3ClampValue(
|
|
3178
|
-
"""
|
|
3179
|
-
|
|
3180
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2865
|
+
def Vector3ClampValue(v: Vector3,min_1: float,max_2: float,) -> Vector3:
|
|
2866
|
+
""""""
|
|
3181
2867
|
...
|
|
3182
|
-
def Vector3CrossProduct(
|
|
3183
|
-
"""
|
|
3184
|
-
|
|
3185
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2868
|
+
def Vector3CrossProduct(v1: Vector3,v2: Vector3,) -> Vector3:
|
|
2869
|
+
""""""
|
|
3186
2870
|
...
|
|
3187
|
-
def Vector3Distance(
|
|
3188
|
-
"""
|
|
3189
|
-
|
|
3190
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2871
|
+
def Vector3Distance(v1: Vector3,v2: Vector3,) -> float:
|
|
2872
|
+
""""""
|
|
3191
2873
|
...
|
|
3192
|
-
def Vector3DistanceSqr(
|
|
3193
|
-
"""
|
|
3194
|
-
|
|
3195
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2874
|
+
def Vector3DistanceSqr(v1: Vector3,v2: Vector3,) -> float:
|
|
2875
|
+
""""""
|
|
3196
2876
|
...
|
|
3197
|
-
def Vector3Divide(
|
|
3198
|
-
"""
|
|
3199
|
-
|
|
3200
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2877
|
+
def Vector3Divide(v1: Vector3,v2: Vector3,) -> Vector3:
|
|
2878
|
+
""""""
|
|
3201
2879
|
...
|
|
3202
|
-
def Vector3DotProduct(
|
|
3203
|
-
"""
|
|
3204
|
-
|
|
3205
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2880
|
+
def Vector3DotProduct(v1: Vector3,v2: Vector3,) -> float:
|
|
2881
|
+
""""""
|
|
3206
2882
|
...
|
|
3207
|
-
def Vector3Equals(
|
|
3208
|
-
"""
|
|
3209
|
-
|
|
3210
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2883
|
+
def Vector3Equals(p: Vector3,q: Vector3,) -> int:
|
|
2884
|
+
""""""
|
|
3211
2885
|
...
|
|
3212
|
-
def Vector3Invert(
|
|
3213
|
-
"""
|
|
3214
|
-
|
|
3215
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2886
|
+
def Vector3Invert(v: Vector3,) -> Vector3:
|
|
2887
|
+
""""""
|
|
3216
2888
|
...
|
|
3217
|
-
def Vector3Length(
|
|
3218
|
-
"""
|
|
3219
|
-
|
|
3220
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2889
|
+
def Vector3Length(v: Vector3,) -> float:
|
|
2890
|
+
""""""
|
|
3221
2891
|
...
|
|
3222
|
-
def Vector3LengthSqr(
|
|
3223
|
-
"""
|
|
3224
|
-
|
|
3225
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2892
|
+
def Vector3LengthSqr(v: Vector3,) -> float:
|
|
2893
|
+
""""""
|
|
3226
2894
|
...
|
|
3227
|
-
def Vector3Lerp(
|
|
3228
|
-
"""
|
|
3229
|
-
|
|
3230
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2895
|
+
def Vector3Lerp(v1: Vector3,v2: Vector3,amount: float,) -> Vector3:
|
|
2896
|
+
""""""
|
|
3231
2897
|
...
|
|
3232
|
-
def Vector3Max(
|
|
3233
|
-
"""
|
|
3234
|
-
|
|
3235
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2898
|
+
def Vector3Max(v1: Vector3,v2: Vector3,) -> Vector3:
|
|
2899
|
+
""""""
|
|
3236
2900
|
...
|
|
3237
|
-
def Vector3Min(
|
|
3238
|
-
"""
|
|
3239
|
-
|
|
3240
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2901
|
+
def Vector3Min(v1: Vector3,v2: Vector3,) -> Vector3:
|
|
2902
|
+
""""""
|
|
3241
2903
|
...
|
|
3242
|
-
def Vector3Multiply(
|
|
3243
|
-
"""
|
|
3244
|
-
|
|
3245
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2904
|
+
def Vector3Multiply(v1: Vector3,v2: Vector3,) -> Vector3:
|
|
2905
|
+
""""""
|
|
3246
2906
|
...
|
|
3247
|
-
def Vector3Negate(
|
|
3248
|
-
"""
|
|
3249
|
-
|
|
3250
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2907
|
+
def Vector3Negate(v: Vector3,) -> Vector3:
|
|
2908
|
+
""""""
|
|
3251
2909
|
...
|
|
3252
|
-
def Vector3Normalize(
|
|
3253
|
-
"""
|
|
3254
|
-
|
|
3255
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2910
|
+
def Vector3Normalize(v: Vector3,) -> Vector3:
|
|
2911
|
+
""""""
|
|
3256
2912
|
...
|
|
3257
2913
|
def Vector3One() -> Vector3:
|
|
3258
|
-
"""
|
|
3259
|
-
|
|
3260
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2914
|
+
""""""
|
|
3261
2915
|
...
|
|
3262
|
-
def Vector3OrthoNormalize(
|
|
3263
|
-
"""
|
|
3264
|
-
|
|
3265
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2916
|
+
def Vector3OrthoNormalize(v1: Any,v2: Any,) -> None:
|
|
2917
|
+
""""""
|
|
3266
2918
|
...
|
|
3267
|
-
def Vector3Perpendicular(
|
|
3268
|
-
"""
|
|
3269
|
-
|
|
3270
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2919
|
+
def Vector3Perpendicular(v: Vector3,) -> Vector3:
|
|
2920
|
+
""""""
|
|
3271
2921
|
...
|
|
3272
|
-
def Vector3Project(
|
|
3273
|
-
"""
|
|
3274
|
-
|
|
3275
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2922
|
+
def Vector3Project(v1: Vector3,v2: Vector3,) -> Vector3:
|
|
2923
|
+
""""""
|
|
3276
2924
|
...
|
|
3277
|
-
def Vector3Reflect(
|
|
3278
|
-
"""
|
|
3279
|
-
|
|
3280
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2925
|
+
def Vector3Reflect(v: Vector3,normal: Vector3,) -> Vector3:
|
|
2926
|
+
""""""
|
|
3281
2927
|
...
|
|
3282
|
-
def Vector3Refract(
|
|
3283
|
-
"""
|
|
3284
|
-
|
|
3285
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2928
|
+
def Vector3Refract(v: Vector3,n: Vector3,r: float,) -> Vector3:
|
|
2929
|
+
""""""
|
|
3286
2930
|
...
|
|
3287
|
-
def Vector3Reject(
|
|
3288
|
-
"""
|
|
3289
|
-
|
|
3290
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2931
|
+
def Vector3Reject(v1: Vector3,v2: Vector3,) -> Vector3:
|
|
2932
|
+
""""""
|
|
3291
2933
|
...
|
|
3292
|
-
def Vector3RotateByAxisAngle(
|
|
3293
|
-
"""
|
|
3294
|
-
|
|
3295
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2934
|
+
def Vector3RotateByAxisAngle(v: Vector3,axis: Vector3,angle: float,) -> Vector3:
|
|
2935
|
+
""""""
|
|
3296
2936
|
...
|
|
3297
|
-
def Vector3RotateByQuaternion(
|
|
3298
|
-
"""
|
|
3299
|
-
|
|
3300
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2937
|
+
def Vector3RotateByQuaternion(v: Vector3,q: Vector4,) -> Vector3:
|
|
2938
|
+
""""""
|
|
3301
2939
|
...
|
|
3302
|
-
def Vector3Scale(
|
|
3303
|
-
"""
|
|
3304
|
-
|
|
3305
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2940
|
+
def Vector3Scale(v: Vector3,scalar: float,) -> Vector3:
|
|
2941
|
+
""""""
|
|
3306
2942
|
...
|
|
3307
|
-
def Vector3Subtract(
|
|
3308
|
-
"""
|
|
3309
|
-
|
|
3310
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2943
|
+
def Vector3Subtract(v1: Vector3,v2: Vector3,) -> Vector3:
|
|
2944
|
+
""""""
|
|
3311
2945
|
...
|
|
3312
|
-
def Vector3SubtractValue(
|
|
3313
|
-
"""
|
|
3314
|
-
|
|
3315
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2946
|
+
def Vector3SubtractValue(v: Vector3,sub: float,) -> Vector3:
|
|
2947
|
+
""""""
|
|
3316
2948
|
...
|
|
3317
|
-
def Vector3ToFloatV(
|
|
3318
|
-
"""
|
|
3319
|
-
|
|
3320
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2949
|
+
def Vector3ToFloatV(v: Vector3,) -> float3:
|
|
2950
|
+
""""""
|
|
3321
2951
|
...
|
|
3322
|
-
def Vector3Transform(
|
|
3323
|
-
"""
|
|
3324
|
-
|
|
3325
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2952
|
+
def Vector3Transform(v: Vector3,mat: Matrix,) -> Vector3:
|
|
2953
|
+
""""""
|
|
3326
2954
|
...
|
|
3327
|
-
def Vector3Unproject(
|
|
3328
|
-
"""
|
|
3329
|
-
|
|
3330
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2955
|
+
def Vector3Unproject(source: Vector3,projection: Matrix,view: Matrix,) -> Vector3:
|
|
2956
|
+
""""""
|
|
3331
2957
|
...
|
|
3332
2958
|
def Vector3Zero() -> Vector3:
|
|
3333
|
-
"""
|
|
3334
|
-
|
|
3335
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2959
|
+
""""""
|
|
3336
2960
|
...
|
|
3337
2961
|
def WaitTime(seconds: float,) -> None:
|
|
3338
2962
|
"""Wait for some time (halt program execution)"""
|
|
@@ -3349,745 +2973,806 @@ def WaveFormat(wave: Any,sampleRate: int,sampleSize: int,channels: int,) -> None
|
|
|
3349
2973
|
def WindowShouldClose() -> bool:
|
|
3350
2974
|
"""Check if application should close (KEY_ESCAPE pressed or windows close icon clicked)"""
|
|
3351
2975
|
...
|
|
3352
|
-
def Wrap(
|
|
3353
|
-
"""
|
|
3354
|
-
|
|
3355
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2976
|
+
def Wrap(value: float,min_1: float,max_2: float,) -> float:
|
|
2977
|
+
""""""
|
|
3356
2978
|
...
|
|
3357
|
-
def
|
|
3358
|
-
"""
|
|
3359
|
-
|
|
3360
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2979
|
+
def glfwCreateCursor(image: Any,xhot: int,yhot: int,) -> Any:
|
|
2980
|
+
""""""
|
|
3361
2981
|
...
|
|
3362
|
-
def
|
|
3363
|
-
"""
|
|
3364
|
-
|
|
3365
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2982
|
+
def glfwCreateStandardCursor(shape: int,) -> Any:
|
|
2983
|
+
""""""
|
|
3366
2984
|
...
|
|
3367
|
-
def
|
|
3368
|
-
"""
|
|
3369
|
-
|
|
3370
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2985
|
+
def glfwCreateWindow(width: int,height: int,title: str,monitor: Any,share: Any,) -> Any:
|
|
2986
|
+
""""""
|
|
3371
2987
|
...
|
|
3372
|
-
def
|
|
3373
|
-
"""
|
|
3374
|
-
|
|
3375
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2988
|
+
def glfwDefaultWindowHints() -> None:
|
|
2989
|
+
""""""
|
|
3376
2990
|
...
|
|
3377
|
-
def
|
|
3378
|
-
"""
|
|
3379
|
-
|
|
3380
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
2991
|
+
def glfwDestroyCursor(cursor: Any,) -> None:
|
|
2992
|
+
""""""
|
|
3381
2993
|
...
|
|
3382
|
-
def
|
|
3383
|
-
"""
|
|
3384
|
-
|
|
3385
|
-
|
|
2994
|
+
def glfwDestroyWindow(window: Any,) -> None:
|
|
2995
|
+
""""""
|
|
2996
|
+
...
|
|
2997
|
+
def glfwExtensionSupported(extension: str,) -> int:
|
|
2998
|
+
""""""
|
|
2999
|
+
...
|
|
3000
|
+
def glfwFocusWindow(window: Any,) -> None:
|
|
3001
|
+
""""""
|
|
3002
|
+
...
|
|
3003
|
+
def glfwGetClipboardString(window: Any,) -> str:
|
|
3004
|
+
""""""
|
|
3005
|
+
...
|
|
3006
|
+
def glfwGetCurrentContext() -> Any:
|
|
3007
|
+
""""""
|
|
3008
|
+
...
|
|
3009
|
+
def glfwGetCursorPos(window: Any,xpos: Any,ypos: Any,) -> None:
|
|
3010
|
+
""""""
|
|
3011
|
+
...
|
|
3012
|
+
def glfwGetError(description: str,) -> int:
|
|
3013
|
+
""""""
|
|
3014
|
+
...
|
|
3015
|
+
def glfwGetFramebufferSize(window: Any,width: Any,height: Any,) -> None:
|
|
3016
|
+
""""""
|
|
3017
|
+
...
|
|
3018
|
+
def glfwGetGamepadName(jid: int,) -> str:
|
|
3019
|
+
""""""
|
|
3020
|
+
...
|
|
3021
|
+
def glfwGetGamepadState(jid: int,state: Any,) -> int:
|
|
3022
|
+
""""""
|
|
3023
|
+
...
|
|
3024
|
+
def glfwGetGammaRamp(monitor: Any,) -> Any:
|
|
3025
|
+
""""""
|
|
3026
|
+
...
|
|
3027
|
+
def glfwGetInputMode(window: Any,mode: int,) -> int:
|
|
3028
|
+
""""""
|
|
3029
|
+
...
|
|
3030
|
+
def glfwGetJoystickAxes(jid: int,count: Any,) -> Any:
|
|
3031
|
+
""""""
|
|
3032
|
+
...
|
|
3033
|
+
def glfwGetJoystickButtons(jid: int,count: Any,) -> str:
|
|
3034
|
+
""""""
|
|
3035
|
+
...
|
|
3036
|
+
def glfwGetJoystickGUID(jid: int,) -> str:
|
|
3037
|
+
""""""
|
|
3038
|
+
...
|
|
3039
|
+
def glfwGetJoystickHats(jid: int,count: Any,) -> str:
|
|
3040
|
+
""""""
|
|
3041
|
+
...
|
|
3042
|
+
def glfwGetJoystickName(jid: int,) -> str:
|
|
3043
|
+
""""""
|
|
3044
|
+
...
|
|
3045
|
+
def glfwGetJoystickUserPointer(jid: int,) -> Any:
|
|
3046
|
+
""""""
|
|
3047
|
+
...
|
|
3048
|
+
def glfwGetKey(window: Any,key: int,) -> int:
|
|
3049
|
+
""""""
|
|
3050
|
+
...
|
|
3051
|
+
def glfwGetKeyName(key: int,scancode: int,) -> str:
|
|
3052
|
+
""""""
|
|
3053
|
+
...
|
|
3054
|
+
def glfwGetKeyScancode(key: int,) -> int:
|
|
3055
|
+
""""""
|
|
3056
|
+
...
|
|
3057
|
+
def glfwGetMonitorContentScale(monitor: Any,xscale: Any,yscale: Any,) -> None:
|
|
3058
|
+
""""""
|
|
3059
|
+
...
|
|
3060
|
+
def glfwGetMonitorName(monitor: Any,) -> str:
|
|
3061
|
+
""""""
|
|
3062
|
+
...
|
|
3063
|
+
def glfwGetMonitorPhysicalSize(monitor: Any,widthMM: Any,heightMM: Any,) -> None:
|
|
3064
|
+
""""""
|
|
3065
|
+
...
|
|
3066
|
+
def glfwGetMonitorPos(monitor: Any,xpos: Any,ypos: Any,) -> None:
|
|
3067
|
+
""""""
|
|
3068
|
+
...
|
|
3069
|
+
def glfwGetMonitorUserPointer(monitor: Any,) -> Any:
|
|
3070
|
+
""""""
|
|
3071
|
+
...
|
|
3072
|
+
def glfwGetMonitorWorkarea(monitor: Any,xpos: Any,ypos: Any,width: Any,height: Any,) -> None:
|
|
3073
|
+
""""""
|
|
3074
|
+
...
|
|
3075
|
+
def glfwGetMonitors(count: Any,) -> Any:
|
|
3076
|
+
""""""
|
|
3077
|
+
...
|
|
3078
|
+
def glfwGetMouseButton(window: Any,button: int,) -> int:
|
|
3079
|
+
""""""
|
|
3080
|
+
...
|
|
3081
|
+
def glfwGetPlatform() -> int:
|
|
3082
|
+
""""""
|
|
3083
|
+
...
|
|
3084
|
+
def glfwGetPrimaryMonitor() -> Any:
|
|
3085
|
+
""""""
|
|
3086
|
+
...
|
|
3087
|
+
def glfwGetProcAddress(procname: str,) -> Any:
|
|
3088
|
+
""""""
|
|
3089
|
+
...
|
|
3090
|
+
def glfwGetRequiredInstanceExtensions(count: Any,) -> str:
|
|
3091
|
+
""""""
|
|
3092
|
+
...
|
|
3093
|
+
def glfwGetTime() -> float:
|
|
3094
|
+
""""""
|
|
3095
|
+
...
|
|
3096
|
+
def glfwGetTimerFrequency() -> uint64_t:
|
|
3097
|
+
""""""
|
|
3098
|
+
...
|
|
3099
|
+
def glfwGetTimerValue() -> uint64_t:
|
|
3100
|
+
""""""
|
|
3101
|
+
...
|
|
3102
|
+
def glfwGetVersion(major: Any,minor: Any,rev: Any,) -> None:
|
|
3103
|
+
""""""
|
|
3104
|
+
...
|
|
3105
|
+
def glfwGetVersionString() -> str:
|
|
3106
|
+
""""""
|
|
3107
|
+
...
|
|
3108
|
+
def glfwGetVideoMode(monitor: Any,) -> Any:
|
|
3109
|
+
""""""
|
|
3110
|
+
...
|
|
3111
|
+
def glfwGetVideoModes(monitor: Any,count: Any,) -> Any:
|
|
3112
|
+
""""""
|
|
3113
|
+
...
|
|
3114
|
+
def glfwGetWindowAttrib(window: Any,attrib: int,) -> int:
|
|
3115
|
+
""""""
|
|
3116
|
+
...
|
|
3117
|
+
def glfwGetWindowContentScale(window: Any,xscale: Any,yscale: Any,) -> None:
|
|
3118
|
+
""""""
|
|
3119
|
+
...
|
|
3120
|
+
def glfwGetWindowFrameSize(window: Any,left: Any,top: Any,right: Any,bottom: Any,) -> None:
|
|
3121
|
+
""""""
|
|
3122
|
+
...
|
|
3123
|
+
def glfwGetWindowMonitor(window: Any,) -> Any:
|
|
3124
|
+
""""""
|
|
3125
|
+
...
|
|
3126
|
+
def glfwGetWindowOpacity(window: Any,) -> float:
|
|
3127
|
+
""""""
|
|
3128
|
+
...
|
|
3129
|
+
def glfwGetWindowPos(window: Any,xpos: Any,ypos: Any,) -> None:
|
|
3130
|
+
""""""
|
|
3131
|
+
...
|
|
3132
|
+
def glfwGetWindowSize(window: Any,width: Any,height: Any,) -> None:
|
|
3133
|
+
""""""
|
|
3134
|
+
...
|
|
3135
|
+
def glfwGetWindowUserPointer(window: Any,) -> Any:
|
|
3136
|
+
""""""
|
|
3137
|
+
...
|
|
3138
|
+
def glfwHideWindow(window: Any,) -> None:
|
|
3139
|
+
""""""
|
|
3140
|
+
...
|
|
3141
|
+
def glfwIconifyWindow(window: Any,) -> None:
|
|
3142
|
+
""""""
|
|
3143
|
+
...
|
|
3144
|
+
def glfwInit() -> int:
|
|
3145
|
+
""""""
|
|
3146
|
+
...
|
|
3147
|
+
def glfwInitAllocator(allocator: Any,) -> None:
|
|
3148
|
+
""""""
|
|
3149
|
+
...
|
|
3150
|
+
def glfwInitHint(hint: int,value: int,) -> None:
|
|
3151
|
+
""""""
|
|
3152
|
+
...
|
|
3153
|
+
def glfwJoystickIsGamepad(jid: int,) -> int:
|
|
3154
|
+
""""""
|
|
3155
|
+
...
|
|
3156
|
+
def glfwJoystickPresent(jid: int,) -> int:
|
|
3157
|
+
""""""
|
|
3158
|
+
...
|
|
3159
|
+
def glfwMakeContextCurrent(window: Any,) -> None:
|
|
3160
|
+
""""""
|
|
3161
|
+
...
|
|
3162
|
+
def glfwMaximizeWindow(window: Any,) -> None:
|
|
3163
|
+
""""""
|
|
3164
|
+
...
|
|
3165
|
+
def glfwPlatformSupported(platform: int,) -> int:
|
|
3166
|
+
""""""
|
|
3167
|
+
...
|
|
3168
|
+
def glfwPollEvents() -> None:
|
|
3169
|
+
""""""
|
|
3170
|
+
...
|
|
3171
|
+
def glfwPostEmptyEvent() -> None:
|
|
3172
|
+
""""""
|
|
3173
|
+
...
|
|
3174
|
+
def glfwRawMouseMotionSupported() -> int:
|
|
3175
|
+
""""""
|
|
3176
|
+
...
|
|
3177
|
+
def glfwRequestWindowAttention(window: Any,) -> None:
|
|
3178
|
+
""""""
|
|
3179
|
+
...
|
|
3180
|
+
def glfwRestoreWindow(window: Any,) -> None:
|
|
3181
|
+
""""""
|
|
3182
|
+
...
|
|
3183
|
+
def glfwSetCharCallback(window: Any,callback: Any,) -> Any:
|
|
3184
|
+
""""""
|
|
3185
|
+
...
|
|
3186
|
+
def glfwSetCharModsCallback(window: Any,callback: Any,) -> Any:
|
|
3187
|
+
""""""
|
|
3188
|
+
...
|
|
3189
|
+
def glfwSetClipboardString(window: Any,string: str,) -> None:
|
|
3190
|
+
""""""
|
|
3191
|
+
...
|
|
3192
|
+
def glfwSetCursor(window: Any,cursor: Any,) -> None:
|
|
3193
|
+
""""""
|
|
3194
|
+
...
|
|
3195
|
+
def glfwSetCursorEnterCallback(window: Any,callback: Any,) -> Any:
|
|
3196
|
+
""""""
|
|
3197
|
+
...
|
|
3198
|
+
def glfwSetCursorPos(window: Any,xpos: float,ypos: float,) -> None:
|
|
3199
|
+
""""""
|
|
3200
|
+
...
|
|
3201
|
+
def glfwSetCursorPosCallback(window: Any,callback: Any,) -> Any:
|
|
3202
|
+
""""""
|
|
3203
|
+
...
|
|
3204
|
+
def glfwSetDropCallback(window: Any,callback: str,) -> str:
|
|
3205
|
+
""""""
|
|
3206
|
+
...
|
|
3207
|
+
def glfwSetErrorCallback(callback: str,) -> str:
|
|
3208
|
+
""""""
|
|
3209
|
+
...
|
|
3210
|
+
def glfwSetFramebufferSizeCallback(window: Any,callback: Any,) -> Any:
|
|
3211
|
+
""""""
|
|
3212
|
+
...
|
|
3213
|
+
def glfwSetGamma(monitor: Any,gamma: float,) -> None:
|
|
3214
|
+
""""""
|
|
3215
|
+
...
|
|
3216
|
+
def glfwSetGammaRamp(monitor: Any,ramp: Any,) -> None:
|
|
3217
|
+
""""""
|
|
3218
|
+
...
|
|
3219
|
+
def glfwSetInputMode(window: Any,mode: int,value: int,) -> None:
|
|
3220
|
+
""""""
|
|
3221
|
+
...
|
|
3222
|
+
def glfwSetJoystickCallback(callback: Any,) -> Any:
|
|
3223
|
+
""""""
|
|
3224
|
+
...
|
|
3225
|
+
def glfwSetJoystickUserPointer(jid: int,pointer: Any,) -> None:
|
|
3226
|
+
""""""
|
|
3227
|
+
...
|
|
3228
|
+
def glfwSetKeyCallback(window: Any,callback: Any,) -> Any:
|
|
3229
|
+
""""""
|
|
3230
|
+
...
|
|
3231
|
+
def glfwSetMonitorCallback(callback: Any,) -> Any:
|
|
3232
|
+
""""""
|
|
3233
|
+
...
|
|
3234
|
+
def glfwSetMonitorUserPointer(monitor: Any,pointer: Any,) -> None:
|
|
3235
|
+
""""""
|
|
3236
|
+
...
|
|
3237
|
+
def glfwSetMouseButtonCallback(window: Any,callback: Any,) -> Any:
|
|
3238
|
+
""""""
|
|
3239
|
+
...
|
|
3240
|
+
def glfwSetScrollCallback(window: Any,callback: Any,) -> Any:
|
|
3241
|
+
""""""
|
|
3242
|
+
...
|
|
3243
|
+
def glfwSetTime(time: float,) -> None:
|
|
3244
|
+
""""""
|
|
3245
|
+
...
|
|
3246
|
+
def glfwSetWindowAspectRatio(window: Any,numer: int,denom: int,) -> None:
|
|
3247
|
+
""""""
|
|
3248
|
+
...
|
|
3249
|
+
def glfwSetWindowAttrib(window: Any,attrib: int,value: int,) -> None:
|
|
3250
|
+
""""""
|
|
3251
|
+
...
|
|
3252
|
+
def glfwSetWindowCloseCallback(window: Any,callback: Any,) -> Any:
|
|
3253
|
+
""""""
|
|
3254
|
+
...
|
|
3255
|
+
def glfwSetWindowContentScaleCallback(window: Any,callback: Any,) -> Any:
|
|
3256
|
+
""""""
|
|
3257
|
+
...
|
|
3258
|
+
def glfwSetWindowFocusCallback(window: Any,callback: Any,) -> Any:
|
|
3259
|
+
""""""
|
|
3260
|
+
...
|
|
3261
|
+
def glfwSetWindowIcon(window: Any,count: int,images: Any,) -> None:
|
|
3262
|
+
""""""
|
|
3263
|
+
...
|
|
3264
|
+
def glfwSetWindowIconifyCallback(window: Any,callback: Any,) -> Any:
|
|
3265
|
+
""""""
|
|
3266
|
+
...
|
|
3267
|
+
def glfwSetWindowMaximizeCallback(window: Any,callback: Any,) -> Any:
|
|
3268
|
+
""""""
|
|
3269
|
+
...
|
|
3270
|
+
def glfwSetWindowMonitor(window: Any,monitor: Any,xpos: int,ypos: int,width: int,height: int,refreshRate: int,) -> None:
|
|
3271
|
+
""""""
|
|
3272
|
+
...
|
|
3273
|
+
def glfwSetWindowOpacity(window: Any,opacity: float,) -> None:
|
|
3274
|
+
""""""
|
|
3275
|
+
...
|
|
3276
|
+
def glfwSetWindowPos(window: Any,xpos: int,ypos: int,) -> None:
|
|
3277
|
+
""""""
|
|
3278
|
+
...
|
|
3279
|
+
def glfwSetWindowPosCallback(window: Any,callback: Any,) -> Any:
|
|
3280
|
+
""""""
|
|
3281
|
+
...
|
|
3282
|
+
def glfwSetWindowRefreshCallback(window: Any,callback: Any,) -> Any:
|
|
3283
|
+
""""""
|
|
3284
|
+
...
|
|
3285
|
+
def glfwSetWindowShouldClose(window: Any,value: int,) -> None:
|
|
3286
|
+
""""""
|
|
3287
|
+
...
|
|
3288
|
+
def glfwSetWindowSize(window: Any,width: int,height: int,) -> None:
|
|
3289
|
+
""""""
|
|
3290
|
+
...
|
|
3291
|
+
def glfwSetWindowSizeCallback(window: Any,callback: Any,) -> Any:
|
|
3292
|
+
""""""
|
|
3293
|
+
...
|
|
3294
|
+
def glfwSetWindowSizeLimits(window: Any,minwidth: int,minheight: int,maxwidth: int,maxheight: int,) -> None:
|
|
3295
|
+
""""""
|
|
3296
|
+
...
|
|
3297
|
+
def glfwSetWindowTitle(window: Any,title: str,) -> None:
|
|
3298
|
+
""""""
|
|
3299
|
+
...
|
|
3300
|
+
def glfwSetWindowUserPointer(window: Any,pointer: Any,) -> None:
|
|
3301
|
+
""""""
|
|
3302
|
+
...
|
|
3303
|
+
def glfwShowWindow(window: Any,) -> None:
|
|
3304
|
+
""""""
|
|
3305
|
+
...
|
|
3306
|
+
def glfwSwapBuffers(window: Any,) -> None:
|
|
3307
|
+
""""""
|
|
3308
|
+
...
|
|
3309
|
+
def glfwSwapInterval(interval: int,) -> None:
|
|
3310
|
+
""""""
|
|
3311
|
+
...
|
|
3312
|
+
def glfwTerminate() -> None:
|
|
3313
|
+
""""""
|
|
3314
|
+
...
|
|
3315
|
+
def glfwUpdateGamepadMappings(string: str,) -> int:
|
|
3316
|
+
""""""
|
|
3317
|
+
...
|
|
3318
|
+
def glfwVulkanSupported() -> int:
|
|
3319
|
+
""""""
|
|
3320
|
+
...
|
|
3321
|
+
def glfwWaitEvents() -> None:
|
|
3322
|
+
""""""
|
|
3323
|
+
...
|
|
3324
|
+
def glfwWaitEventsTimeout(timeout: float,) -> None:
|
|
3325
|
+
""""""
|
|
3326
|
+
...
|
|
3327
|
+
def glfwWindowHint(hint: int,value: int,) -> None:
|
|
3328
|
+
""""""
|
|
3329
|
+
...
|
|
3330
|
+
def glfwWindowHintString(hint: int,value: str,) -> None:
|
|
3331
|
+
""""""
|
|
3332
|
+
...
|
|
3333
|
+
def glfwWindowShouldClose(window: Any,) -> int:
|
|
3334
|
+
""""""
|
|
3335
|
+
...
|
|
3336
|
+
def rlActiveDrawBuffers(count: int,) -> None:
|
|
3337
|
+
"""Activate multiple draw color buffers"""
|
|
3338
|
+
...
|
|
3339
|
+
def rlActiveTextureSlot(slot: int,) -> None:
|
|
3340
|
+
"""Select and active a texture slot"""
|
|
3341
|
+
...
|
|
3342
|
+
def rlBegin(mode: int,) -> None:
|
|
3343
|
+
"""Initialize drawing mode (how to organize vertex)"""
|
|
3344
|
+
...
|
|
3345
|
+
def rlBindImageTexture(id: int,index: int,format: int,readonly: bool,) -> None:
|
|
3346
|
+
"""Bind image texture"""
|
|
3347
|
+
...
|
|
3348
|
+
def rlBindShaderBuffer(id: int,index: int,) -> None:
|
|
3349
|
+
"""Bind SSBO buffer"""
|
|
3350
|
+
...
|
|
3351
|
+
def rlBlitFramebuffer(srcX: int,srcY: int,srcWidth: int,srcHeight: int,dstX: int,dstY: int,dstWidth: int,dstHeight: int,bufferMask: int,) -> None:
|
|
3352
|
+
"""Blit active framebuffer to main framebuffer"""
|
|
3386
3353
|
...
|
|
3387
3354
|
def rlCheckErrors() -> None:
|
|
3388
|
-
"""
|
|
3389
|
-
|
|
3390
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3355
|
+
"""Check and log OpenGL error codes"""
|
|
3391
3356
|
...
|
|
3392
|
-
def rlCheckRenderBatchLimit(
|
|
3393
|
-
"""
|
|
3394
|
-
|
|
3395
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3357
|
+
def rlCheckRenderBatchLimit(vCount: int,) -> bool:
|
|
3358
|
+
"""Check internal buffer overflow for a given number of vertex"""
|
|
3396
3359
|
...
|
|
3397
|
-
def rlClearColor(
|
|
3398
|
-
"""
|
|
3399
|
-
|
|
3400
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3360
|
+
def rlClearColor(r: str,g: str,b: str,a: str,) -> None:
|
|
3361
|
+
"""Clear color buffer with color"""
|
|
3401
3362
|
...
|
|
3402
3363
|
def rlClearScreenBuffers() -> None:
|
|
3403
|
-
"""
|
|
3404
|
-
|
|
3405
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3364
|
+
"""Clear used screen buffers (color and depth)"""
|
|
3406
3365
|
...
|
|
3407
|
-
def rlColor3f(
|
|
3408
|
-
"""
|
|
3409
|
-
|
|
3410
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3366
|
+
def rlColor3f(x: float,y: float,z: float,) -> None:
|
|
3367
|
+
"""Define one vertex (color) - 3 float"""
|
|
3411
3368
|
...
|
|
3412
|
-
def rlColor4f(
|
|
3413
|
-
"""
|
|
3414
|
-
|
|
3415
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3369
|
+
def rlColor4f(x: float,y: float,z: float,w: float,) -> None:
|
|
3370
|
+
"""Define one vertex (color) - 4 float"""
|
|
3416
3371
|
...
|
|
3417
|
-
def rlColor4ub(
|
|
3418
|
-
"""
|
|
3419
|
-
|
|
3420
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3372
|
+
def rlColor4ub(r: str,g: str,b: str,a: str,) -> None:
|
|
3373
|
+
"""Define one vertex (color) - 4 byte"""
|
|
3421
3374
|
...
|
|
3422
|
-
def rlCompileShader(
|
|
3423
|
-
"""
|
|
3424
|
-
|
|
3425
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3375
|
+
def rlCompileShader(shaderCode: str,type: int,) -> int:
|
|
3376
|
+
"""Compile custom shader and return shader id (type: RL_VERTEX_SHADER, RL_FRAGMENT_SHADER, RL_COMPUTE_SHADER)"""
|
|
3426
3377
|
...
|
|
3427
|
-
def rlComputeShaderDispatch(
|
|
3428
|
-
"""
|
|
3429
|
-
|
|
3430
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3378
|
+
def rlComputeShaderDispatch(groupX: int,groupY: int,groupZ: int,) -> None:
|
|
3379
|
+
"""Dispatch compute shader (equivalent to *draw* for graphics pipeline)"""
|
|
3431
3380
|
...
|
|
3432
|
-
def rlCopyShaderBuffer(
|
|
3433
|
-
"""
|
|
3434
|
-
|
|
3435
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3381
|
+
def rlCopyShaderBuffer(destId: int,srcId: int,destOffset: int,srcOffset: int,count: int,) -> None:
|
|
3382
|
+
"""Copy SSBO data between buffers"""
|
|
3436
3383
|
...
|
|
3437
|
-
def rlCubemapParameters(
|
|
3438
|
-
"""
|
|
3439
|
-
|
|
3440
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3384
|
+
def rlCubemapParameters(id: int,param: int,value: int,) -> None:
|
|
3385
|
+
"""Set cubemap parameters (filter, wrap)"""
|
|
3441
3386
|
...
|
|
3442
3387
|
def rlDisableBackfaceCulling() -> None:
|
|
3443
|
-
"""
|
|
3444
|
-
|
|
3445
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3388
|
+
"""Disable backface culling"""
|
|
3446
3389
|
...
|
|
3447
3390
|
def rlDisableColorBlend() -> None:
|
|
3448
|
-
"""
|
|
3449
|
-
|
|
3450
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3391
|
+
"""Disable color blending"""
|
|
3451
3392
|
...
|
|
3452
3393
|
def rlDisableDepthMask() -> None:
|
|
3453
|
-
"""
|
|
3454
|
-
|
|
3455
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3394
|
+
"""Disable depth write"""
|
|
3456
3395
|
...
|
|
3457
3396
|
def rlDisableDepthTest() -> None:
|
|
3458
|
-
"""
|
|
3459
|
-
|
|
3460
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3397
|
+
"""Disable depth test"""
|
|
3461
3398
|
...
|
|
3462
3399
|
def rlDisableFramebuffer() -> None:
|
|
3463
|
-
"""
|
|
3464
|
-
|
|
3465
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3400
|
+
"""Disable render texture (fbo), return to default framebuffer"""
|
|
3466
3401
|
...
|
|
3467
3402
|
def rlDisableScissorTest() -> None:
|
|
3468
|
-
"""
|
|
3469
|
-
|
|
3470
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3403
|
+
"""Disable scissor test"""
|
|
3471
3404
|
...
|
|
3472
3405
|
def rlDisableShader() -> None:
|
|
3473
|
-
"""
|
|
3474
|
-
|
|
3475
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3406
|
+
"""Disable shader program"""
|
|
3476
3407
|
...
|
|
3477
3408
|
def rlDisableSmoothLines() -> None:
|
|
3478
|
-
"""
|
|
3479
|
-
|
|
3480
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3409
|
+
"""Disable line aliasing"""
|
|
3481
3410
|
...
|
|
3482
3411
|
def rlDisableStereoRender() -> None:
|
|
3483
|
-
"""
|
|
3484
|
-
|
|
3485
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3412
|
+
"""Disable stereo rendering"""
|
|
3486
3413
|
...
|
|
3487
3414
|
def rlDisableTexture() -> None:
|
|
3488
|
-
"""
|
|
3489
|
-
|
|
3490
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3415
|
+
"""Disable texture"""
|
|
3491
3416
|
...
|
|
3492
3417
|
def rlDisableTextureCubemap() -> None:
|
|
3493
|
-
"""
|
|
3494
|
-
|
|
3495
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3418
|
+
"""Disable texture cubemap"""
|
|
3496
3419
|
...
|
|
3497
3420
|
def rlDisableVertexArray() -> None:
|
|
3498
|
-
"""
|
|
3499
|
-
|
|
3500
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3421
|
+
"""Disable vertex array (VAO, if supported)"""
|
|
3501
3422
|
...
|
|
3502
|
-
def rlDisableVertexAttribute(
|
|
3503
|
-
"""
|
|
3504
|
-
|
|
3505
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3423
|
+
def rlDisableVertexAttribute(index: int,) -> None:
|
|
3424
|
+
"""Disable vertex attribute index"""
|
|
3506
3425
|
...
|
|
3507
3426
|
def rlDisableVertexBuffer() -> None:
|
|
3508
|
-
"""
|
|
3509
|
-
|
|
3510
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3427
|
+
"""Disable vertex buffer (VBO)"""
|
|
3511
3428
|
...
|
|
3512
3429
|
def rlDisableVertexBufferElement() -> None:
|
|
3513
|
-
"""
|
|
3514
|
-
|
|
3515
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3430
|
+
"""Disable vertex buffer element (VBO element)"""
|
|
3516
3431
|
...
|
|
3517
3432
|
def rlDisableWireMode() -> None:
|
|
3518
|
-
"""
|
|
3519
|
-
|
|
3520
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3433
|
+
"""Disable wire mode ( and point ) maybe rename"""
|
|
3521
3434
|
...
|
|
3522
|
-
def rlDrawRenderBatch(
|
|
3523
|
-
"""
|
|
3524
|
-
|
|
3525
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3435
|
+
def rlDrawRenderBatch(batch: Any,) -> None:
|
|
3436
|
+
"""Draw render batch data (Update->Draw->Reset)"""
|
|
3526
3437
|
...
|
|
3527
3438
|
def rlDrawRenderBatchActive() -> None:
|
|
3528
|
-
"""
|
|
3529
|
-
|
|
3530
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3439
|
+
"""Update and draw internal render batch"""
|
|
3531
3440
|
...
|
|
3532
|
-
def rlDrawVertexArray(
|
|
3533
|
-
"""
|
|
3534
|
-
|
|
3535
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3441
|
+
def rlDrawVertexArray(offset: int,count: int,) -> None:
|
|
3442
|
+
""""""
|
|
3536
3443
|
...
|
|
3537
|
-
def rlDrawVertexArrayElements(
|
|
3538
|
-
"""
|
|
3539
|
-
|
|
3540
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3444
|
+
def rlDrawVertexArrayElements(offset: int,count: int,buffer: Any,) -> None:
|
|
3445
|
+
""""""
|
|
3541
3446
|
...
|
|
3542
|
-
def rlDrawVertexArrayElementsInstanced(
|
|
3543
|
-
"""
|
|
3544
|
-
|
|
3545
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3447
|
+
def rlDrawVertexArrayElementsInstanced(offset: int,count: int,buffer: Any,instances: int,) -> None:
|
|
3448
|
+
""""""
|
|
3546
3449
|
...
|
|
3547
|
-
def rlDrawVertexArrayInstanced(
|
|
3548
|
-
"""
|
|
3549
|
-
|
|
3550
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3450
|
+
def rlDrawVertexArrayInstanced(offset: int,count: int,instances: int,) -> None:
|
|
3451
|
+
""""""
|
|
3551
3452
|
...
|
|
3552
3453
|
def rlEnableBackfaceCulling() -> None:
|
|
3553
|
-
"""
|
|
3554
|
-
|
|
3555
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3454
|
+
"""Enable backface culling"""
|
|
3556
3455
|
...
|
|
3557
3456
|
def rlEnableColorBlend() -> None:
|
|
3558
|
-
"""
|
|
3559
|
-
|
|
3560
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3457
|
+
"""Enable color blending"""
|
|
3561
3458
|
...
|
|
3562
3459
|
def rlEnableDepthMask() -> None:
|
|
3563
|
-
"""
|
|
3564
|
-
|
|
3565
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3460
|
+
"""Enable depth write"""
|
|
3566
3461
|
...
|
|
3567
3462
|
def rlEnableDepthTest() -> None:
|
|
3568
|
-
"""
|
|
3569
|
-
|
|
3570
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3463
|
+
"""Enable depth test"""
|
|
3571
3464
|
...
|
|
3572
|
-
def rlEnableFramebuffer(
|
|
3573
|
-
"""
|
|
3574
|
-
|
|
3575
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3465
|
+
def rlEnableFramebuffer(id: int,) -> None:
|
|
3466
|
+
"""Enable render texture (fbo)"""
|
|
3576
3467
|
...
|
|
3577
3468
|
def rlEnablePointMode() -> None:
|
|
3578
|
-
"""
|
|
3579
|
-
|
|
3580
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3469
|
+
"""Enable point mode"""
|
|
3581
3470
|
...
|
|
3582
3471
|
def rlEnableScissorTest() -> None:
|
|
3583
|
-
"""
|
|
3584
|
-
|
|
3585
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3472
|
+
"""Enable scissor test"""
|
|
3586
3473
|
...
|
|
3587
|
-
def rlEnableShader(
|
|
3588
|
-
"""
|
|
3589
|
-
|
|
3590
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3474
|
+
def rlEnableShader(id: int,) -> None:
|
|
3475
|
+
"""Enable shader program"""
|
|
3591
3476
|
...
|
|
3592
3477
|
def rlEnableSmoothLines() -> None:
|
|
3593
|
-
"""
|
|
3594
|
-
|
|
3595
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3478
|
+
"""Enable line aliasing"""
|
|
3596
3479
|
...
|
|
3597
3480
|
def rlEnableStereoRender() -> None:
|
|
3598
|
-
"""
|
|
3599
|
-
|
|
3600
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3481
|
+
"""Enable stereo rendering"""
|
|
3601
3482
|
...
|
|
3602
|
-
def rlEnableTexture(
|
|
3603
|
-
"""
|
|
3604
|
-
|
|
3605
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3483
|
+
def rlEnableTexture(id: int,) -> None:
|
|
3484
|
+
"""Enable texture"""
|
|
3606
3485
|
...
|
|
3607
|
-
def rlEnableTextureCubemap(
|
|
3608
|
-
"""
|
|
3609
|
-
|
|
3610
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3486
|
+
def rlEnableTextureCubemap(id: int,) -> None:
|
|
3487
|
+
"""Enable texture cubemap"""
|
|
3611
3488
|
...
|
|
3612
|
-
def rlEnableVertexArray(
|
|
3613
|
-
"""
|
|
3614
|
-
|
|
3615
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3489
|
+
def rlEnableVertexArray(vaoId: int,) -> bool:
|
|
3490
|
+
"""Enable vertex array (VAO, if supported)"""
|
|
3616
3491
|
...
|
|
3617
|
-
def rlEnableVertexAttribute(
|
|
3618
|
-
"""
|
|
3619
|
-
|
|
3620
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3492
|
+
def rlEnableVertexAttribute(index: int,) -> None:
|
|
3493
|
+
"""Enable vertex attribute index"""
|
|
3621
3494
|
...
|
|
3622
|
-
def rlEnableVertexBuffer(
|
|
3623
|
-
"""
|
|
3624
|
-
|
|
3625
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3495
|
+
def rlEnableVertexBuffer(id: int,) -> None:
|
|
3496
|
+
"""Enable vertex buffer (VBO)"""
|
|
3626
3497
|
...
|
|
3627
|
-
def rlEnableVertexBufferElement(
|
|
3628
|
-
"""
|
|
3629
|
-
|
|
3630
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3498
|
+
def rlEnableVertexBufferElement(id: int,) -> None:
|
|
3499
|
+
"""Enable vertex buffer element (VBO element)"""
|
|
3631
3500
|
...
|
|
3632
3501
|
def rlEnableWireMode() -> None:
|
|
3633
|
-
"""
|
|
3634
|
-
|
|
3635
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3502
|
+
"""Enable wire mode"""
|
|
3636
3503
|
...
|
|
3637
3504
|
def rlEnd() -> None:
|
|
3638
|
-
"""
|
|
3639
|
-
|
|
3640
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3505
|
+
"""Finish vertex providing"""
|
|
3641
3506
|
...
|
|
3642
|
-
def rlFramebufferAttach(
|
|
3643
|
-
"""
|
|
3644
|
-
|
|
3645
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3507
|
+
def rlFramebufferAttach(fboId: int,texId: int,attachType: int,texType: int,mipLevel: int,) -> None:
|
|
3508
|
+
"""Attach texture/renderbuffer to a framebuffer"""
|
|
3646
3509
|
...
|
|
3647
|
-
def rlFramebufferComplete(
|
|
3648
|
-
"""
|
|
3649
|
-
|
|
3650
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3510
|
+
def rlFramebufferComplete(id: int,) -> bool:
|
|
3511
|
+
"""Verify framebuffer is complete"""
|
|
3651
3512
|
...
|
|
3652
|
-
def rlFrustum(
|
|
3653
|
-
"""
|
|
3654
|
-
|
|
3655
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3513
|
+
def rlFrustum(left: float,right: float,bottom: float,top: float,znear: float,zfar: float,) -> None:
|
|
3514
|
+
""""""
|
|
3656
3515
|
...
|
|
3657
|
-
def rlGenTextureMipmaps(
|
|
3658
|
-
"""
|
|
3659
|
-
|
|
3660
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3516
|
+
def rlGenTextureMipmaps(id: int,width: int,height: int,format: int,mipmaps: Any,) -> None:
|
|
3517
|
+
"""Generate mipmap data for selected texture"""
|
|
3661
3518
|
...
|
|
3662
3519
|
def rlGetFramebufferHeight() -> int:
|
|
3663
|
-
"""
|
|
3664
|
-
|
|
3665
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3520
|
+
"""Get default framebuffer height"""
|
|
3666
3521
|
...
|
|
3667
3522
|
def rlGetFramebufferWidth() -> int:
|
|
3668
|
-
"""
|
|
3669
|
-
|
|
3670
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3523
|
+
"""Get default framebuffer width"""
|
|
3671
3524
|
...
|
|
3672
|
-
def rlGetGlTextureFormats(
|
|
3673
|
-
"""
|
|
3674
|
-
|
|
3675
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3525
|
+
def rlGetGlTextureFormats(format: int,glInternalFormat: Any,glFormat: Any,glType: Any,) -> None:
|
|
3526
|
+
"""Get OpenGL internal formats"""
|
|
3676
3527
|
...
|
|
3677
3528
|
def rlGetLineWidth() -> float:
|
|
3678
|
-
"""
|
|
3679
|
-
|
|
3680
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3529
|
+
"""Get the line drawing width"""
|
|
3681
3530
|
...
|
|
3682
|
-
def rlGetLocationAttrib(
|
|
3683
|
-
"""
|
|
3684
|
-
|
|
3685
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3531
|
+
def rlGetLocationAttrib(shaderId: int,attribName: str,) -> int:
|
|
3532
|
+
"""Get shader location attribute"""
|
|
3686
3533
|
...
|
|
3687
|
-
def rlGetLocationUniform(
|
|
3688
|
-
"""
|
|
3689
|
-
|
|
3690
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3534
|
+
def rlGetLocationUniform(shaderId: int,uniformName: str,) -> int:
|
|
3535
|
+
"""Get shader location uniform"""
|
|
3691
3536
|
...
|
|
3692
3537
|
def rlGetMatrixModelview() -> Matrix:
|
|
3693
|
-
"""
|
|
3694
|
-
|
|
3695
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3538
|
+
"""Get internal modelview matrix"""
|
|
3696
3539
|
...
|
|
3697
3540
|
def rlGetMatrixProjection() -> Matrix:
|
|
3698
|
-
"""
|
|
3699
|
-
|
|
3700
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3541
|
+
"""Get internal projection matrix"""
|
|
3701
3542
|
...
|
|
3702
|
-
def rlGetMatrixProjectionStereo(
|
|
3703
|
-
"""
|
|
3704
|
-
|
|
3705
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3543
|
+
def rlGetMatrixProjectionStereo(eye: int,) -> Matrix:
|
|
3544
|
+
"""Get internal projection matrix for stereo render (selected eye)"""
|
|
3706
3545
|
...
|
|
3707
3546
|
def rlGetMatrixTransform() -> Matrix:
|
|
3708
|
-
"""
|
|
3709
|
-
|
|
3710
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3547
|
+
"""Get internal accumulated transform matrix"""
|
|
3711
3548
|
...
|
|
3712
|
-
def rlGetMatrixViewOffsetStereo(
|
|
3713
|
-
"""
|
|
3714
|
-
|
|
3715
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3549
|
+
def rlGetMatrixViewOffsetStereo(eye: int,) -> Matrix:
|
|
3550
|
+
"""Get internal view offset matrix for stereo render (selected eye)"""
|
|
3716
3551
|
...
|
|
3717
|
-
def rlGetPixelFormatName(
|
|
3718
|
-
"""
|
|
3719
|
-
|
|
3720
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3552
|
+
def rlGetPixelFormatName(format: int,) -> str:
|
|
3553
|
+
"""Get name string for pixel format"""
|
|
3721
3554
|
...
|
|
3722
|
-
def rlGetShaderBufferSize(
|
|
3723
|
-
"""
|
|
3724
|
-
|
|
3725
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3555
|
+
def rlGetShaderBufferSize(id: int,) -> int:
|
|
3556
|
+
"""Get SSBO buffer size"""
|
|
3726
3557
|
...
|
|
3727
3558
|
def rlGetShaderIdDefault() -> int:
|
|
3728
|
-
"""
|
|
3729
|
-
|
|
3730
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3559
|
+
"""Get default shader id"""
|
|
3731
3560
|
...
|
|
3732
3561
|
def rlGetShaderLocsDefault() -> Any:
|
|
3733
|
-
"""
|
|
3734
|
-
|
|
3735
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3562
|
+
"""Get default shader locations"""
|
|
3736
3563
|
...
|
|
3737
3564
|
def rlGetTextureIdDefault() -> int:
|
|
3738
|
-
"""
|
|
3739
|
-
|
|
3740
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3565
|
+
"""Get default texture id"""
|
|
3741
3566
|
...
|
|
3742
3567
|
def rlGetVersion() -> int:
|
|
3743
|
-
"""
|
|
3744
|
-
|
|
3745
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3568
|
+
"""Get current OpenGL version"""
|
|
3746
3569
|
...
|
|
3747
3570
|
def rlIsStereoRenderEnabled() -> bool:
|
|
3748
|
-
"""
|
|
3749
|
-
|
|
3750
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3571
|
+
"""Check if stereo render is enabled"""
|
|
3751
3572
|
...
|
|
3752
|
-
def rlLoadComputeShaderProgram(
|
|
3753
|
-
"""
|
|
3754
|
-
|
|
3755
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3573
|
+
def rlLoadComputeShaderProgram(shaderId: int,) -> int:
|
|
3574
|
+
"""Load compute shader program"""
|
|
3756
3575
|
...
|
|
3757
3576
|
def rlLoadDrawCube() -> None:
|
|
3758
|
-
"""
|
|
3759
|
-
|
|
3760
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3577
|
+
"""Load and draw a cube"""
|
|
3761
3578
|
...
|
|
3762
3579
|
def rlLoadDrawQuad() -> None:
|
|
3763
|
-
"""
|
|
3764
|
-
|
|
3765
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3580
|
+
"""Load and draw a quad"""
|
|
3766
3581
|
...
|
|
3767
|
-
def rlLoadExtensions(
|
|
3768
|
-
"""
|
|
3769
|
-
|
|
3770
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3582
|
+
def rlLoadExtensions(loader: Any,) -> None:
|
|
3583
|
+
"""Load OpenGL extensions (loader function required)"""
|
|
3771
3584
|
...
|
|
3772
|
-
def rlLoadFramebuffer(
|
|
3773
|
-
"""
|
|
3774
|
-
|
|
3775
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3585
|
+
def rlLoadFramebuffer(width: int,height: int,) -> int:
|
|
3586
|
+
"""Load an empty framebuffer"""
|
|
3776
3587
|
...
|
|
3777
3588
|
def rlLoadIdentity() -> None:
|
|
3778
|
-
"""
|
|
3779
|
-
|
|
3780
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3589
|
+
"""Reset current matrix to identity matrix"""
|
|
3781
3590
|
...
|
|
3782
|
-
def rlLoadRenderBatch(
|
|
3783
|
-
"""
|
|
3784
|
-
|
|
3785
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3591
|
+
def rlLoadRenderBatch(numBuffers: int,bufferElements: int,) -> rlRenderBatch:
|
|
3592
|
+
"""Load a render batch system"""
|
|
3786
3593
|
...
|
|
3787
|
-
def rlLoadShaderBuffer(
|
|
3788
|
-
"""
|
|
3789
|
-
|
|
3790
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3594
|
+
def rlLoadShaderBuffer(size: int,data: Any,usageHint: int,) -> int:
|
|
3595
|
+
"""Load shader storage buffer object (SSBO)"""
|
|
3791
3596
|
...
|
|
3792
|
-
def rlLoadShaderCode(
|
|
3793
|
-
"""
|
|
3794
|
-
|
|
3795
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3597
|
+
def rlLoadShaderCode(vsCode: str,fsCode: str,) -> int:
|
|
3598
|
+
"""Load shader from code strings"""
|
|
3796
3599
|
...
|
|
3797
|
-
def rlLoadShaderProgram(
|
|
3798
|
-
"""
|
|
3799
|
-
|
|
3800
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3600
|
+
def rlLoadShaderProgram(vShaderId: int,fShaderId: int,) -> int:
|
|
3601
|
+
"""Load custom shader program"""
|
|
3801
3602
|
...
|
|
3802
|
-
def rlLoadTexture(
|
|
3803
|
-
"""
|
|
3804
|
-
|
|
3805
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3603
|
+
def rlLoadTexture(data: Any,width: int,height: int,format: int,mipmapCount: int,) -> int:
|
|
3604
|
+
"""Load texture in GPU"""
|
|
3806
3605
|
...
|
|
3807
|
-
def rlLoadTextureCubemap(
|
|
3808
|
-
"""
|
|
3809
|
-
|
|
3810
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3606
|
+
def rlLoadTextureCubemap(data: Any,size: int,format: int,) -> int:
|
|
3607
|
+
"""Load texture cubemap"""
|
|
3811
3608
|
...
|
|
3812
|
-
def rlLoadTextureDepth(
|
|
3813
|
-
"""
|
|
3814
|
-
|
|
3815
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3609
|
+
def rlLoadTextureDepth(width: int,height: int,useRenderBuffer: bool,) -> int:
|
|
3610
|
+
"""Load depth texture/renderbuffer (to be attached to fbo)"""
|
|
3816
3611
|
...
|
|
3817
3612
|
def rlLoadVertexArray() -> int:
|
|
3818
|
-
"""
|
|
3819
|
-
|
|
3820
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3613
|
+
"""Load vertex array (vao) if supported"""
|
|
3821
3614
|
...
|
|
3822
|
-
def rlLoadVertexBuffer(
|
|
3823
|
-
"""
|
|
3824
|
-
|
|
3825
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3615
|
+
def rlLoadVertexBuffer(buffer: Any,size: int,dynamic: bool,) -> int:
|
|
3616
|
+
"""Load a vertex buffer attribute"""
|
|
3826
3617
|
...
|
|
3827
|
-
def rlLoadVertexBufferElement(
|
|
3828
|
-
"""
|
|
3829
|
-
|
|
3830
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3618
|
+
def rlLoadVertexBufferElement(buffer: Any,size: int,dynamic: bool,) -> int:
|
|
3619
|
+
"""Load a new attributes element buffer"""
|
|
3831
3620
|
...
|
|
3832
|
-
def rlMatrixMode(
|
|
3833
|
-
"""
|
|
3834
|
-
|
|
3835
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3621
|
+
def rlMatrixMode(mode: int,) -> None:
|
|
3622
|
+
"""Choose the current matrix to be transformed"""
|
|
3836
3623
|
...
|
|
3837
|
-
def rlMultMatrixf(
|
|
3838
|
-
"""
|
|
3839
|
-
|
|
3840
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3624
|
+
def rlMultMatrixf(matf: Any,) -> None:
|
|
3625
|
+
"""Multiply the current matrix by another matrix"""
|
|
3841
3626
|
...
|
|
3842
|
-
def rlNormal3f(
|
|
3843
|
-
"""
|
|
3844
|
-
|
|
3845
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3627
|
+
def rlNormal3f(x: float,y: float,z: float,) -> None:
|
|
3628
|
+
"""Define one vertex (normal) - 3 float"""
|
|
3846
3629
|
...
|
|
3847
|
-
def rlOrtho(
|
|
3848
|
-
"""
|
|
3849
|
-
|
|
3850
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3630
|
+
def rlOrtho(left: float,right: float,bottom: float,top: float,znear: float,zfar: float,) -> None:
|
|
3631
|
+
""""""
|
|
3851
3632
|
...
|
|
3852
3633
|
def rlPopMatrix() -> None:
|
|
3853
|
-
"""
|
|
3854
|
-
|
|
3855
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3634
|
+
"""Pop latest inserted matrix from stack"""
|
|
3856
3635
|
...
|
|
3857
3636
|
def rlPushMatrix() -> None:
|
|
3858
|
-
"""
|
|
3859
|
-
|
|
3860
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3637
|
+
"""Push the current matrix to stack"""
|
|
3861
3638
|
...
|
|
3862
|
-
def rlReadScreenPixels(
|
|
3863
|
-
"""
|
|
3864
|
-
|
|
3865
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3639
|
+
def rlReadScreenPixels(width: int,height: int,) -> str:
|
|
3640
|
+
"""Read screen pixel data (color buffer)"""
|
|
3866
3641
|
...
|
|
3867
|
-
def rlReadShaderBuffer(
|
|
3868
|
-
"""
|
|
3869
|
-
|
|
3870
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3642
|
+
def rlReadShaderBuffer(id: int,dest: Any,count: int,offset: int,) -> None:
|
|
3643
|
+
"""Read SSBO buffer data (GPU->CPU)"""
|
|
3871
3644
|
...
|
|
3872
|
-
def rlReadTexturePixels(
|
|
3873
|
-
"""
|
|
3874
|
-
|
|
3875
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3645
|
+
def rlReadTexturePixels(id: int,width: int,height: int,format: int,) -> Any:
|
|
3646
|
+
"""Read texture pixel data"""
|
|
3876
3647
|
...
|
|
3877
|
-
def rlRotatef(
|
|
3878
|
-
"""
|
|
3879
|
-
|
|
3880
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3648
|
+
def rlRotatef(angle: float,x: float,y: float,z: float,) -> None:
|
|
3649
|
+
"""Multiply the current matrix by a rotation matrix"""
|
|
3881
3650
|
...
|
|
3882
|
-
def rlScalef(
|
|
3883
|
-
"""
|
|
3884
|
-
|
|
3885
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3651
|
+
def rlScalef(x: float,y: float,z: float,) -> None:
|
|
3652
|
+
"""Multiply the current matrix by a scaling matrix"""
|
|
3886
3653
|
...
|
|
3887
|
-
def rlScissor(
|
|
3888
|
-
"""
|
|
3889
|
-
|
|
3890
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3654
|
+
def rlScissor(x: int,y: int,width: int,height: int,) -> None:
|
|
3655
|
+
"""Scissor test"""
|
|
3891
3656
|
...
|
|
3892
|
-
def rlSetBlendFactors(
|
|
3893
|
-
"""
|
|
3894
|
-
|
|
3895
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3657
|
+
def rlSetBlendFactors(glSrcFactor: int,glDstFactor: int,glEquation: int,) -> None:
|
|
3658
|
+
"""Set blending mode factor and equation (using OpenGL factors)"""
|
|
3896
3659
|
...
|
|
3897
|
-
def rlSetBlendFactorsSeparate(
|
|
3898
|
-
"""
|
|
3899
|
-
|
|
3900
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3660
|
+
def rlSetBlendFactorsSeparate(glSrcRGB: int,glDstRGB: int,glSrcAlpha: int,glDstAlpha: int,glEqRGB: int,glEqAlpha: int,) -> None:
|
|
3661
|
+
"""Set blending mode factors and equations separately (using OpenGL factors)"""
|
|
3901
3662
|
...
|
|
3902
|
-
def rlSetBlendMode(
|
|
3903
|
-
"""
|
|
3904
|
-
|
|
3905
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3663
|
+
def rlSetBlendMode(mode: int,) -> None:
|
|
3664
|
+
"""Set blending mode"""
|
|
3906
3665
|
...
|
|
3907
|
-
def rlSetCullFace(
|
|
3908
|
-
"""
|
|
3909
|
-
|
|
3910
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3666
|
+
def rlSetCullFace(mode: int,) -> None:
|
|
3667
|
+
"""Set face culling mode"""
|
|
3911
3668
|
...
|
|
3912
|
-
def rlSetFramebufferHeight(
|
|
3913
|
-
"""
|
|
3914
|
-
|
|
3915
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3669
|
+
def rlSetFramebufferHeight(height: int,) -> None:
|
|
3670
|
+
"""Set current framebuffer height"""
|
|
3916
3671
|
...
|
|
3917
|
-
def rlSetFramebufferWidth(
|
|
3918
|
-
"""
|
|
3919
|
-
|
|
3920
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3672
|
+
def rlSetFramebufferWidth(width: int,) -> None:
|
|
3673
|
+
"""Set current framebuffer width"""
|
|
3921
3674
|
...
|
|
3922
|
-
def rlSetLineWidth(
|
|
3923
|
-
"""
|
|
3924
|
-
|
|
3925
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3675
|
+
def rlSetLineWidth(width: float,) -> None:
|
|
3676
|
+
"""Set the line drawing width"""
|
|
3926
3677
|
...
|
|
3927
|
-
def rlSetMatrixModelview(
|
|
3928
|
-
"""
|
|
3929
|
-
|
|
3930
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3678
|
+
def rlSetMatrixModelview(view: Matrix,) -> None:
|
|
3679
|
+
"""Set a custom modelview matrix (replaces internal modelview matrix)"""
|
|
3931
3680
|
...
|
|
3932
|
-
def rlSetMatrixProjection(
|
|
3933
|
-
"""
|
|
3934
|
-
|
|
3935
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3681
|
+
def rlSetMatrixProjection(proj: Matrix,) -> None:
|
|
3682
|
+
"""Set a custom projection matrix (replaces internal projection matrix)"""
|
|
3936
3683
|
...
|
|
3937
|
-
def rlSetMatrixProjectionStereo(
|
|
3938
|
-
"""
|
|
3939
|
-
|
|
3940
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3684
|
+
def rlSetMatrixProjectionStereo(right: Matrix,left: Matrix,) -> None:
|
|
3685
|
+
"""Set eyes projection matrices for stereo rendering"""
|
|
3941
3686
|
...
|
|
3942
|
-
def rlSetMatrixViewOffsetStereo(
|
|
3943
|
-
"""
|
|
3944
|
-
|
|
3945
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3687
|
+
def rlSetMatrixViewOffsetStereo(right: Matrix,left: Matrix,) -> None:
|
|
3688
|
+
"""Set eyes view offsets matrices for stereo rendering"""
|
|
3946
3689
|
...
|
|
3947
|
-
def rlSetRenderBatchActive(
|
|
3948
|
-
"""
|
|
3949
|
-
|
|
3950
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3690
|
+
def rlSetRenderBatchActive(batch: Any,) -> None:
|
|
3691
|
+
"""Set the active render batch for rlgl (NULL for default internal)"""
|
|
3951
3692
|
...
|
|
3952
|
-
def rlSetShader(
|
|
3953
|
-
"""
|
|
3954
|
-
|
|
3955
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3693
|
+
def rlSetShader(id: int,locs: Any,) -> None:
|
|
3694
|
+
"""Set shader currently active (id and locations)"""
|
|
3956
3695
|
...
|
|
3957
|
-
def rlSetTexture(
|
|
3958
|
-
"""
|
|
3959
|
-
|
|
3960
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3696
|
+
def rlSetTexture(id: int,) -> None:
|
|
3697
|
+
"""Set current texture for render batch and check buffers limits"""
|
|
3961
3698
|
...
|
|
3962
|
-
def rlSetUniform(
|
|
3963
|
-
"""
|
|
3964
|
-
|
|
3965
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3699
|
+
def rlSetUniform(locIndex: int,value: Any,uniformType: int,count: int,) -> None:
|
|
3700
|
+
"""Set shader value uniform"""
|
|
3966
3701
|
...
|
|
3967
|
-
def rlSetUniformMatrix(
|
|
3968
|
-
"""
|
|
3969
|
-
|
|
3970
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3702
|
+
def rlSetUniformMatrix(locIndex: int,mat: Matrix,) -> None:
|
|
3703
|
+
"""Set shader value matrix"""
|
|
3971
3704
|
...
|
|
3972
|
-
def rlSetUniformSampler(
|
|
3973
|
-
"""
|
|
3974
|
-
|
|
3975
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3705
|
+
def rlSetUniformSampler(locIndex: int,textureId: int,) -> None:
|
|
3706
|
+
"""Set shader value sampler"""
|
|
3976
3707
|
...
|
|
3977
|
-
def rlSetVertexAttribute(
|
|
3978
|
-
"""
|
|
3979
|
-
|
|
3980
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3708
|
+
def rlSetVertexAttribute(index: int,compSize: int,type: int,normalized: bool,stride: int,pointer: Any,) -> None:
|
|
3709
|
+
""""""
|
|
3981
3710
|
...
|
|
3982
|
-
def rlSetVertexAttributeDefault(
|
|
3983
|
-
"""
|
|
3984
|
-
|
|
3985
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3711
|
+
def rlSetVertexAttributeDefault(locIndex: int,value: Any,attribType: int,count: int,) -> None:
|
|
3712
|
+
"""Set vertex attribute default value"""
|
|
3986
3713
|
...
|
|
3987
|
-
def rlSetVertexAttributeDivisor(
|
|
3988
|
-
"""
|
|
3989
|
-
|
|
3990
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3714
|
+
def rlSetVertexAttributeDivisor(index: int,divisor: int,) -> None:
|
|
3715
|
+
""""""
|
|
3991
3716
|
...
|
|
3992
|
-
def rlTexCoord2f(
|
|
3993
|
-
"""
|
|
3994
|
-
|
|
3995
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3717
|
+
def rlTexCoord2f(x: float,y: float,) -> None:
|
|
3718
|
+
"""Define one vertex (texture coordinate) - 2 float"""
|
|
3996
3719
|
...
|
|
3997
|
-
def rlTextureParameters(
|
|
3998
|
-
"""
|
|
3999
|
-
|
|
4000
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3720
|
+
def rlTextureParameters(id: int,param: int,value: int,) -> None:
|
|
3721
|
+
"""Set texture parameters (filter, wrap)"""
|
|
4001
3722
|
...
|
|
4002
|
-
def rlTranslatef(
|
|
4003
|
-
"""
|
|
4004
|
-
|
|
4005
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3723
|
+
def rlTranslatef(x: float,y: float,z: float,) -> None:
|
|
3724
|
+
"""Multiply the current matrix by a translation matrix"""
|
|
4006
3725
|
...
|
|
4007
|
-
def rlUnloadFramebuffer(
|
|
4008
|
-
"""
|
|
4009
|
-
|
|
4010
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3726
|
+
def rlUnloadFramebuffer(id: int,) -> None:
|
|
3727
|
+
"""Delete framebuffer from GPU"""
|
|
4011
3728
|
...
|
|
4012
|
-
def rlUnloadRenderBatch(
|
|
4013
|
-
"""
|
|
4014
|
-
|
|
4015
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3729
|
+
def rlUnloadRenderBatch(batch: rlRenderBatch,) -> None:
|
|
3730
|
+
"""Unload render batch system"""
|
|
4016
3731
|
...
|
|
4017
|
-
def rlUnloadShaderBuffer(
|
|
4018
|
-
"""
|
|
4019
|
-
|
|
4020
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3732
|
+
def rlUnloadShaderBuffer(ssboId: int,) -> None:
|
|
3733
|
+
"""Unload shader storage buffer object (SSBO)"""
|
|
4021
3734
|
...
|
|
4022
|
-
def rlUnloadShaderProgram(
|
|
4023
|
-
"""
|
|
4024
|
-
|
|
4025
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3735
|
+
def rlUnloadShaderProgram(id: int,) -> None:
|
|
3736
|
+
"""Unload shader program"""
|
|
4026
3737
|
...
|
|
4027
|
-
def rlUnloadTexture(
|
|
4028
|
-
"""
|
|
4029
|
-
|
|
4030
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3738
|
+
def rlUnloadTexture(id: int,) -> None:
|
|
3739
|
+
"""Unload texture from GPU memory"""
|
|
4031
3740
|
...
|
|
4032
|
-
def rlUnloadVertexArray(
|
|
4033
|
-
"""
|
|
4034
|
-
|
|
4035
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3741
|
+
def rlUnloadVertexArray(vaoId: int,) -> None:
|
|
3742
|
+
""""""
|
|
4036
3743
|
...
|
|
4037
|
-
def rlUnloadVertexBuffer(
|
|
4038
|
-
"""
|
|
4039
|
-
|
|
4040
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3744
|
+
def rlUnloadVertexBuffer(vboId: int,) -> None:
|
|
3745
|
+
""""""
|
|
4041
3746
|
...
|
|
4042
|
-
def rlUpdateShaderBuffer(
|
|
4043
|
-
"""
|
|
4044
|
-
|
|
4045
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3747
|
+
def rlUpdateShaderBuffer(id: int,data: Any,dataSize: int,offset: int,) -> None:
|
|
3748
|
+
"""Update SSBO buffer data"""
|
|
4046
3749
|
...
|
|
4047
|
-
def rlUpdateTexture(
|
|
4048
|
-
"""
|
|
4049
|
-
|
|
4050
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3750
|
+
def rlUpdateTexture(id: int,offsetX: int,offsetY: int,width: int,height: int,format: int,data: Any,) -> None:
|
|
3751
|
+
"""Update GPU texture with new data"""
|
|
4051
3752
|
...
|
|
4052
|
-
def rlUpdateVertexBuffer(
|
|
4053
|
-
"""
|
|
4054
|
-
|
|
4055
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3753
|
+
def rlUpdateVertexBuffer(bufferId: int,data: Any,dataSize: int,offset: int,) -> None:
|
|
3754
|
+
"""Update GPU buffer with new data"""
|
|
4056
3755
|
...
|
|
4057
|
-
def rlUpdateVertexBufferElements(
|
|
4058
|
-
"""
|
|
4059
|
-
|
|
4060
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3756
|
+
def rlUpdateVertexBufferElements(id: int,data: Any,dataSize: int,offset: int,) -> None:
|
|
3757
|
+
"""Update vertex buffer elements with new data"""
|
|
4061
3758
|
...
|
|
4062
|
-
def rlVertex2f(
|
|
4063
|
-
"""
|
|
4064
|
-
|
|
4065
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3759
|
+
def rlVertex2f(x: float,y: float,) -> None:
|
|
3760
|
+
"""Define one vertex (position) - 2 float"""
|
|
4066
3761
|
...
|
|
4067
|
-
def rlVertex2i(
|
|
4068
|
-
"""
|
|
4069
|
-
|
|
4070
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3762
|
+
def rlVertex2i(x: int,y: int,) -> None:
|
|
3763
|
+
"""Define one vertex (position) - 2 int"""
|
|
4071
3764
|
...
|
|
4072
|
-
def rlVertex3f(
|
|
4073
|
-
"""
|
|
4074
|
-
|
|
4075
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3765
|
+
def rlVertex3f(x: float,y: float,z: float,) -> None:
|
|
3766
|
+
"""Define one vertex (position) - 3 float"""
|
|
4076
3767
|
...
|
|
4077
|
-
def rlViewport(
|
|
4078
|
-
"""
|
|
4079
|
-
|
|
4080
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3768
|
+
def rlViewport(x: int,y: int,width: int,height: int,) -> None:
|
|
3769
|
+
"""Set the viewport area"""
|
|
4081
3770
|
...
|
|
4082
3771
|
def rlglClose() -> None:
|
|
4083
|
-
"""
|
|
4084
|
-
|
|
4085
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3772
|
+
"""De-initialize rlgl (buffers, shaders, textures)"""
|
|
4086
3773
|
...
|
|
4087
|
-
def rlglInit(
|
|
4088
|
-
"""
|
|
4089
|
-
|
|
4090
|
-
CFFI C function from raylib._raylib_cffi.lib"""
|
|
3774
|
+
def rlglInit(width: int,height: int,) -> None:
|
|
3775
|
+
"""Initialize rlgl (buffers, shaders, textures, states)"""
|
|
4091
3776
|
...
|
|
4092
3777
|
AudioStream: struct
|
|
4093
3778
|
AutomationEvent: struct
|
|
@@ -4106,6 +3791,14 @@ CubemapLayout: int
|
|
|
4106
3791
|
FilePathList: struct
|
|
4107
3792
|
Font: struct
|
|
4108
3793
|
FontType: int
|
|
3794
|
+
GLFWallocator: struct
|
|
3795
|
+
GLFWcursor: struct
|
|
3796
|
+
GLFWgamepadstate: struct
|
|
3797
|
+
GLFWgammaramp: struct
|
|
3798
|
+
GLFWimage: struct
|
|
3799
|
+
GLFWmonitor: struct
|
|
3800
|
+
GLFWvidmode: struct
|
|
3801
|
+
GLFWwindow: struct
|
|
4109
3802
|
GamepadAxis: int
|
|
4110
3803
|
GamepadButton: int
|
|
4111
3804
|
Gesture: int
|