diff --git a/create_enums.py b/create_enums.py index adef029..36905a1 100644 --- a/create_enums.py +++ b/create_enums.py @@ -24,6 +24,7 @@ def process(filename): for e in js['enums']: if e['name'] and e['values']: print ("class "+e['name']+"("+"IntEnum):") + print(f' """{e['description']}."""') for value in e['values']: print(" "+value['name']+" = "+str(value['value'])) print("") diff --git a/create_stub_pyray.py b/create_stub_pyray.py index 3db8fc6..6d597fd 100644 --- a/create_stub_pyray.py +++ b/create_stub_pyray.py @@ -32,7 +32,8 @@ for filename in (Path("raylib.json"), Path("raymath.json"), Path("rlgl.json"), P known_structs[st["name"]] = st for e in js['enums']: if e['name'] and e['values']: - print ("class "+e['name']+"(int):") + print("class "+e['name']+"(int):") + print(f' """{e['description']}."""') for value in e['values']: print(" "+value['name']+" = "+str(value['value'])) print("") @@ -144,7 +145,7 @@ for struct in ffi.list_types()[0]: print("weird empty struct, skipping " + struct, file=sys.stderr) continue print(f"class {struct}:") - print(f' """ struct """') + print(f' """{known_structs[struct]['description']}."""') sig = "" for arg in ffi.typeof(struct).fields: ptype = ctype_to_python_type(arg[1].type.cname) diff --git a/docs/.buildinfo b/docs/.buildinfo index 4214e1f..48257a1 100644 --- a/docs/.buildinfo +++ b/docs/.buildinfo @@ -1,4 +1,4 @@ # Sphinx build info version 1 # This file records the configuration used when building these files. When it is not found, a full rebuild will be done. -config: 6b88b88b20947586d6498748ffd23a92 +config: f2032a6434b52f7c68551d0ad70d555b tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/docs/BUILDING.html b/docs/BUILDING.html index 059266a..b3a1d99 100644 --- a/docs/BUILDING.html +++ b/docs/BUILDING.html @@ -7,7 +7,7 @@
pip3 install raylib==5.5.0.2 --break-system-packages
from pyray import *
+from pyray import *
init_window(800, 450, "Hello")
while not window_should_close():
begin_drawing()
@@ -202,7 +202,7 @@ so may not work on other boards.
Raspberry Pi
-
+Using on Rasperry Pi
@@ -237,7 +237,7 @@ python3 -m pip install raylib_drm
Problems?
-If it doesn’t work, try to build manually.. If that works then submit an issue
+
If it doesn’t work, try to build manually.. If that works then submit an issue
to let us know what you did.
If you need help you can try asking on our discord. There is also a large Raylib discord
for issues that are not Python-specific.
@@ -268,11 +268,11 @@ is recommended.
# "raylib"
# ]
# ///
-import asyncio
-import platform
-from pyray import *
+import asyncio
+import platform
+from pyray import *
-async def main(): # You MUST have an async main function
+async def main(): # You MUST have an async main function
init_window(500, 500, "Hello")
platform.window.window_resize() # You MAY want to add this line
while not window_should_close():
diff --git a/docs/RPI.html b/docs/RPI.html
index e4a778e..b54e020 100644
--- a/docs/RPI.html
+++ b/docs/RPI.html
@@ -7,7 +7,7 @@
Raspberry Pi — Raylib Python documentation
-
+
diff --git a/docs/_static/basic.css b/docs/_static/basic.css
index 7ebbd6d..4738b2e 100644
--- a/docs/_static/basic.css
+++ b/docs/_static/basic.css
@@ -741,14 +741,6 @@ abbr, acronym {
cursor: help;
}
-.translated {
- background-color: rgba(207, 255, 207, 0.2)
-}
-
-.untranslated {
- background-color: rgba(255, 207, 207, 0.2)
-}
-
/* -- code displays --------------------------------------------------------- */
pre {
diff --git a/docs/_static/js/versions.js b/docs/_static/js/versions.js
index 818bc99..4958195 100644
--- a/docs/_static/js/versions.js
+++ b/docs/_static/js/versions.js
@@ -1,6 +1,6 @@
const themeFlyoutDisplay = "hidden";
-const themeVersionSelector = "True";
-const themeLanguageSelector = "True";
+const themeVersionSelector = true;
+const themeLanguageSelector = true;
if (themeFlyoutDisplay === "attached") {
function renderLanguages(config) {
@@ -8,10 +8,14 @@ if (themeFlyoutDisplay === "attached") {
return "";
}
+ // Insert the current language to the options on the selector
+ let languages = config.projects.translations.concat(config.projects.current);
+ languages = languages.sort((a, b) => a.language.name.localeCompare(b.language.name));
+
const languagesHTML = `
- Languages
- ${config.projects.translations
+ ${languages
.map(
(translation) => `
-
diff --git a/docs/_static/pygments.css b/docs/_static/pygments.css
index 0d49244..5f2b0a2 100644
--- a/docs/_static/pygments.css
+++ b/docs/_static/pygments.css
@@ -6,26 +6,26 @@ span.linenos.special { color: #000000; background-color: #ffffc0; padding-left:
.highlight .hll { background-color: #ffffcc }
.highlight { background: #eeffcc; }
.highlight .c { color: #408090; font-style: italic } /* Comment */
-.highlight .err { border: 1px solid #FF0000 } /* Error */
+.highlight .err { border: 1px solid #F00 } /* Error */
.highlight .k { color: #007020; font-weight: bold } /* Keyword */
-.highlight .o { color: #666666 } /* Operator */
+.highlight .o { color: #666 } /* Operator */
.highlight .ch { color: #408090; font-style: italic } /* Comment.Hashbang */
.highlight .cm { color: #408090; font-style: italic } /* Comment.Multiline */
.highlight .cp { color: #007020 } /* Comment.Preproc */
.highlight .cpf { color: #408090; font-style: italic } /* Comment.PreprocFile */
.highlight .c1 { color: #408090; font-style: italic } /* Comment.Single */
-.highlight .cs { color: #408090; background-color: #fff0f0 } /* Comment.Special */
+.highlight .cs { color: #408090; background-color: #FFF0F0 } /* Comment.Special */
.highlight .gd { color: #A00000 } /* Generic.Deleted */
.highlight .ge { font-style: italic } /* Generic.Emph */
.highlight .ges { font-weight: bold; font-style: italic } /* Generic.EmphStrong */
-.highlight .gr { color: #FF0000 } /* Generic.Error */
+.highlight .gr { color: #F00 } /* Generic.Error */
.highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */
.highlight .gi { color: #00A000 } /* Generic.Inserted */
-.highlight .go { color: #333333 } /* Generic.Output */
-.highlight .gp { color: #c65d09; font-weight: bold } /* Generic.Prompt */
+.highlight .go { color: #333 } /* Generic.Output */
+.highlight .gp { color: #C65D09; font-weight: bold } /* Generic.Prompt */
.highlight .gs { font-weight: bold } /* Generic.Strong */
.highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
-.highlight .gt { color: #0044DD } /* Generic.Traceback */
+.highlight .gt { color: #04D } /* Generic.Traceback */
.highlight .kc { color: #007020; font-weight: bold } /* Keyword.Constant */
.highlight .kd { color: #007020; font-weight: bold } /* Keyword.Declaration */
.highlight .kn { color: #007020; font-weight: bold } /* Keyword.Namespace */
@@ -33,43 +33,43 @@ span.linenos.special { color: #000000; background-color: #ffffc0; padding-left:
.highlight .kr { color: #007020; font-weight: bold } /* Keyword.Reserved */
.highlight .kt { color: #902000 } /* Keyword.Type */
.highlight .m { color: #208050 } /* Literal.Number */
-.highlight .s { color: #4070a0 } /* Literal.String */
-.highlight .na { color: #4070a0 } /* Name.Attribute */
+.highlight .s { color: #4070A0 } /* Literal.String */
+.highlight .na { color: #4070A0 } /* Name.Attribute */
.highlight .nb { color: #007020 } /* Name.Builtin */
-.highlight .nc { color: #0e84b5; font-weight: bold } /* Name.Class */
-.highlight .no { color: #60add5 } /* Name.Constant */
-.highlight .nd { color: #555555; font-weight: bold } /* Name.Decorator */
-.highlight .ni { color: #d55537; font-weight: bold } /* Name.Entity */
+.highlight .nc { color: #0E84B5; font-weight: bold } /* Name.Class */
+.highlight .no { color: #60ADD5 } /* Name.Constant */
+.highlight .nd { color: #555; font-weight: bold } /* Name.Decorator */
+.highlight .ni { color: #D55537; font-weight: bold } /* Name.Entity */
.highlight .ne { color: #007020 } /* Name.Exception */
-.highlight .nf { color: #06287e } /* Name.Function */
+.highlight .nf { color: #06287E } /* Name.Function */
.highlight .nl { color: #002070; font-weight: bold } /* Name.Label */
-.highlight .nn { color: #0e84b5; font-weight: bold } /* Name.Namespace */
+.highlight .nn { color: #0E84B5; font-weight: bold } /* Name.Namespace */
.highlight .nt { color: #062873; font-weight: bold } /* Name.Tag */
-.highlight .nv { color: #bb60d5 } /* Name.Variable */
+.highlight .nv { color: #BB60D5 } /* Name.Variable */
.highlight .ow { color: #007020; font-weight: bold } /* Operator.Word */
-.highlight .w { color: #bbbbbb } /* Text.Whitespace */
+.highlight .w { color: #BBB } /* Text.Whitespace */
.highlight .mb { color: #208050 } /* Literal.Number.Bin */
.highlight .mf { color: #208050 } /* Literal.Number.Float */
.highlight .mh { color: #208050 } /* Literal.Number.Hex */
.highlight .mi { color: #208050 } /* Literal.Number.Integer */
.highlight .mo { color: #208050 } /* Literal.Number.Oct */
-.highlight .sa { color: #4070a0 } /* Literal.String.Affix */
-.highlight .sb { color: #4070a0 } /* Literal.String.Backtick */
-.highlight .sc { color: #4070a0 } /* Literal.String.Char */
-.highlight .dl { color: #4070a0 } /* Literal.String.Delimiter */
-.highlight .sd { color: #4070a0; font-style: italic } /* Literal.String.Doc */
-.highlight .s2 { color: #4070a0 } /* Literal.String.Double */
-.highlight .se { color: #4070a0; font-weight: bold } /* Literal.String.Escape */
-.highlight .sh { color: #4070a0 } /* Literal.String.Heredoc */
-.highlight .si { color: #70a0d0; font-style: italic } /* Literal.String.Interpol */
-.highlight .sx { color: #c65d09 } /* Literal.String.Other */
+.highlight .sa { color: #4070A0 } /* Literal.String.Affix */
+.highlight .sb { color: #4070A0 } /* Literal.String.Backtick */
+.highlight .sc { color: #4070A0 } /* Literal.String.Char */
+.highlight .dl { color: #4070A0 } /* Literal.String.Delimiter */
+.highlight .sd { color: #4070A0; font-style: italic } /* Literal.String.Doc */
+.highlight .s2 { color: #4070A0 } /* Literal.String.Double */
+.highlight .se { color: #4070A0; font-weight: bold } /* Literal.String.Escape */
+.highlight .sh { color: #4070A0 } /* Literal.String.Heredoc */
+.highlight .si { color: #70A0D0; font-style: italic } /* Literal.String.Interpol */
+.highlight .sx { color: #C65D09 } /* Literal.String.Other */
.highlight .sr { color: #235388 } /* Literal.String.Regex */
-.highlight .s1 { color: #4070a0 } /* Literal.String.Single */
+.highlight .s1 { color: #4070A0 } /* Literal.String.Single */
.highlight .ss { color: #517918 } /* Literal.String.Symbol */
.highlight .bp { color: #007020 } /* Name.Builtin.Pseudo */
-.highlight .fm { color: #06287e } /* Name.Function.Magic */
-.highlight .vc { color: #bb60d5 } /* Name.Variable.Class */
-.highlight .vg { color: #bb60d5 } /* Name.Variable.Global */
-.highlight .vi { color: #bb60d5 } /* Name.Variable.Instance */
-.highlight .vm { color: #bb60d5 } /* Name.Variable.Magic */
+.highlight .fm { color: #06287E } /* Name.Function.Magic */
+.highlight .vc { color: #BB60D5 } /* Name.Variable.Class */
+.highlight .vg { color: #BB60D5 } /* Name.Variable.Global */
+.highlight .vi { color: #BB60D5 } /* Name.Variable.Instance */
+.highlight .vm { color: #BB60D5 } /* Name.Variable.Magic */
.highlight .il { color: #208050 } /* Literal.Number.Integer.Long */
\ No newline at end of file
diff --git a/docs/_static/searchtools.js b/docs/_static/searchtools.js
index 2c774d1..91f4be5 100644
--- a/docs/_static/searchtools.js
+++ b/docs/_static/searchtools.js
@@ -513,9 +513,11 @@ const Search = {
// perform the search on the required terms
searchTerms.forEach((word) => {
const files = [];
+ // find documents, if any, containing the query word in their text/title term indices
+ // use Object.hasOwnProperty to avoid mismatching against prototype properties
const arr = [
- { files: terms[word], score: Scorer.term },
- { files: titleTerms[word], score: Scorer.title },
+ { files: terms.hasOwnProperty(word) ? terms[word] : undefined, score: Scorer.term },
+ { files: titleTerms.hasOwnProperty(word) ? titleTerms[word] : undefined, score: Scorer.title },
];
// add support for partial matches
if (word.length > 2) {
@@ -547,8 +549,9 @@ const Search = {
// set score for the word in each file
recordFiles.forEach((file) => {
- if (!scoreMap.has(file)) scoreMap.set(file, {});
- scoreMap.get(file)[word] = record.score;
+ if (!scoreMap.has(file)) scoreMap.set(file, new Map());
+ const fileScores = scoreMap.get(file);
+ fileScores.set(word, record.score);
});
});
@@ -587,7 +590,7 @@ const Search = {
break;
// select one (max) score for the file.
- const score = Math.max(...wordList.map((w) => scoreMap.get(file)[w]));
+ const score = Math.max(...wordList.map((w) => scoreMap.get(file).get(w)));
// add result to the result list
results.push([
docNames[file],
diff --git a/docs/dynamic.html b/docs/dynamic.html
index e445367..7329fb5 100644
--- a/docs/dynamic.html
+++ b/docs/dynamic.html
@@ -7,7 +7,7 @@
Dynamic Bindings — Raylib Python documentation
-
+
@@ -104,11 +104,11 @@ Therefore I personally recommend the static ones.
But the dynamic bindings have the advantage that you don’t need to compile anything to install. You just need a Raylib DLL.
The API is exactly the same as the static one documented here. (Therefore you can’t have both modules installed at once.) The only difference is you can’t do:
-from raylib import *
+from raylib import *
Instead you have to do:
-from raylib import rl
+from raylib import rl
Then you access the functions with rl.
prefix.
diff --git a/docs/genindex.html b/docs/genindex.html
index 092eba2..0d52290 100644
--- a/docs/genindex.html
+++ b/docs/genindex.html
@@ -6,7 +6,7 @@
Index — Raylib Python documentation
-
+
diff --git a/docs/index.html b/docs/index.html
index 65c1ea3..f065a86 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -7,7 +7,7 @@
Raylib Python — Raylib Python documentation
-
+
diff --git a/docs/py-modindex.html b/docs/py-modindex.html
index 60fbd1d..7da9054 100644
--- a/docs/py-modindex.html
+++ b/docs/py-modindex.html
@@ -6,7 +6,7 @@
Python Module Index — Raylib Python documentation
-
+
diff --git a/docs/pyray.html b/docs/pyray.html
index 8634075..206f487 100644
--- a/docs/pyray.html
+++ b/docs/pyray.html
@@ -7,7 +7,7 @@
Python API — Raylib Python documentation
-
+
@@ -2493,7 +2493,7 @@
Examples
Example program:
-import pyray as pr
+import pyray as pr
pr.init_window(800, 450, "Hello Pyray")
pr.set_target_fps(60)
@@ -2516,7 +2516,7 @@
Tip
New in 3.7.0.post9:
You can also now import the functions with no prefix:
-from pyray import *
+from pyray import *
init_window(800, 450, "Raylib texture test")
...
@@ -2529,73 +2529,73 @@
API reference
-
-class pyray.AudioStream(buffer: Any | None = None, processor: Any | None = None, sampleRate: int | None = None, sampleSize: int | None = None, channels: int | None = None)
-struct
+class pyray.AudioStream(buffer: Any | None = None, processor: Any | None = None, sampleRate: int | None = None, sampleSize: int | None = None, channels: int | None = None)
+AudioStream, custom audio stream.
-
-class pyray.AutomationEvent(frame: int | None = None, type: int | None = None, params: list | None = None)
-struct
+class pyray.AutomationEvent(frame: int | None = None, type: int | None = None, params: list | None = None)
+Automation event.
-
-class pyray.AutomationEventList(capacity: int | None = None, count: int | None = None, events: Any | None = None)
-struct
+class pyray.AutomationEventList(capacity: int | None = None, count: int | None = None, events: Any | None = None)
+Automation event list.
@@ -2627,19 +2627,8 @@
-
-class pyray.BlendMode
-int([x]) -> integer
-int(x, base=10) -> integer
-Convert a number or string to an integer, or return 0 if no arguments
-are given. If x is a number, return x.__int__(). For floating point
-numbers, this truncates towards zero.
-If x is not a number or if base is given, then x must be a string,
-bytes, or bytearray instance representing an integer literal in the
-given base. The literal can be preceded by ‘+’ or ‘-’ and be surrounded
-by whitespace. The base defaults to 10. Valid bases are 0 and 2-36.
-Base 0 means to interpret the base from the string as an integer literal.
->>> int(‘0b100’, base=0)
-4
+class pyray.BlendMode
+Color blending modes (pre-defined).
-
BLEND_ADDITIVE = 1
@@ -2684,108 +2673,97 @@ Base 0 means to interpret the base from the string as an integer literal.
-
-class pyray.BoneInfo(name: list | None = None, parent: int | None = None)
-struct
+class pyray.BoneInfo(name: list | None = None, parent: int | None = None)
+Bone, skeletal animation bone.
-
-class pyray.BoundingBox(min: Vector3 | list | tuple | None = None, max: Vector3 | list | tuple | None = None)
-struct
+class pyray.BoundingBox(min: Vector3 | list | tuple | None = None, max: Vector3 | list | tuple | None = None)
+BoundingBox.
-
-class pyray.Camera2D(offset: Vector2 | list | tuple | None = None, target: Vector2 | list | tuple | None = None, rotation: float | None = None, zoom: float | None = None)
-struct
+class pyray.Camera2D(offset: Vector2 | list | tuple | None = None, target: Vector2 | list | tuple | None = None, rotation: float | None = None, zoom: float | None = None)
+Camera2D, defines position/orientation in 2d space.
-
-class pyray.Camera3D(position: Vector3 | list | tuple | None = None, target: Vector3 | list | tuple | None = None, up: Vector3 | list | tuple | None = None, fovy: float | None = None, projection: int | None = None)
-struct
+class pyray.Camera3D(position: Vector3 | list | tuple | None = None, target: Vector3 | list | tuple | None = None, up: Vector3 | list | tuple | None = None, fovy: float | None = None, projection: int | None = None)
+Camera, defines position/orientation in 3d space.
-
-class pyray.CameraMode
-int([x]) -> integer
-int(x, base=10) -> integer
-Convert a number or string to an integer, or return 0 if no arguments
-are given. If x is a number, return x.__int__(). For floating point
-numbers, this truncates towards zero.
-If x is not a number or if base is given, then x must be a string,
-bytes, or bytearray instance representing an integer literal in the
-given base. The literal can be preceded by ‘+’ or ‘-’ and be surrounded
-by whitespace. The base defaults to 10. Valid bases are 0 and 2-36.
-Base 0 means to interpret the base from the string as an integer literal.
->>> int(‘0b100’, base=0)
-4
+class pyray.CameraMode
+Camera system modes.
-
CAMERA_CUSTOM = 0
@@ -2815,19 +2793,8 @@ Base 0 means to interpret the base from the string as an integer literal.
-
-class pyray.CameraProjection
-int([x]) -> integer
-int(x, base=10) -> integer
-Convert a number or string to an integer, or return 0 if no arguments
-are given. If x is a number, return x.__int__(). For floating point
-numbers, this truncates towards zero.
-If x is not a number or if base is given, then x must be a string,
-bytes, or bytearray instance representing an integer literal in the
-given base. The literal can be preceded by ‘+’ or ‘-’ and be surrounded
-by whitespace. The base defaults to 10. Valid bases are 0 and 2-36.
-Base 0 means to interpret the base from the string as an integer literal.
->>> int(‘0b100’, base=0)
-4
+class pyray.CameraProjection
+Camera projection.
-
CAMERA_ORTHOGRAPHIC = 1
@@ -2842,45 +2809,34 @@ Base 0 means to interpret the base from the string as an integer literal.
-
-class pyray.Color(r: int | None = None, g: int | None = None, b: int | None = None, a: int | None = None)
-struct
+class pyray.Color(r: int | None = None, g: int | None = None, b: int | None = None, a: int | None = None)
+Color, 4 components, R8G8B8A8 (32bit).
-
-class pyray.ConfigFlags
-int([x]) -> integer
-int(x, base=10) -> integer
-Convert a number or string to an integer, or return 0 if no arguments
-are given. If x is a number, return x.__int__(). For floating point
-numbers, this truncates towards zero.
-If x is not a number or if base is given, then x must be a string,
-bytes, or bytearray instance representing an integer literal in the
-given base. The literal can be preceded by ‘+’ or ‘-’ and be surrounded
-by whitespace. The base defaults to 10. Valid bases are 0 and 2-36.
-Base 0 means to interpret the base from the string as an integer literal.
->>> int(‘0b100’, base=0)
-4
+class pyray.ConfigFlags
+System/Window config flags.
-
FLAG_BORDERLESS_WINDOWED_MODE = 32768
@@ -2965,19 +2921,8 @@ Base 0 means to interpret the base from the string as an integer literal.
-
-class pyray.CubemapLayout
-int([x]) -> integer
-int(x, base=10) -> integer
-Convert a number or string to an integer, or return 0 if no arguments
-are given. If x is a number, return x.__int__(). For floating point
-numbers, this truncates towards zero.
-If x is not a number or if base is given, then x must be a string,
-bytes, or bytearray instance representing an integer literal in the
-given base. The literal can be preceded by ‘+’ or ‘-’ and be surrounded
-by whitespace. The base defaults to 10. Valid bases are 0 and 2-36.
-Base 0 means to interpret the base from the string as an integer literal.
->>> int(‘0b100’, base=0)
-4
+class pyray.CubemapLayout
+Cubemap layouts.
-
CUBEMAP_LAYOUT_AUTO_DETECT = 0
@@ -3032,76 +2977,65 @@ Base 0 means to interpret the base from the string as an integer literal.
-
-class pyray.FilePathList(capacity: int | None = None, count: int | None = None, paths: list[str] | None = None)
-struct
+class pyray.FilePathList(capacity: int | None = None, count: int | None = None, paths: list[str] | None = None)
+File path list.
-
-class pyray.Font(baseSize: int | None = None, glyphCount: int | None = None, glyphPadding: int | None = None, texture: Texture | list | tuple | None = None, recs: Any | None = None, glyphs: Any | None = None)
-struct
+class pyray.Font(baseSize: int | None = None, glyphCount: int | None = None, glyphPadding: int | None = None, texture: Texture | list | tuple | None = None, recs: Any | None = None, glyphs: Any | None = None)
+Font, font texture and GlyphInfo array data.
-
-class pyray.FontType
-int([x]) -> integer
-int(x, base=10) -> integer
-Convert a number or string to an integer, or return 0 if no arguments
-are given. If x is a number, return x.__int__(). For floating point
-numbers, this truncates towards zero.
-If x is not a number or if base is given, then x must be a string,
-bytes, or bytearray instance representing an integer literal in the
-given base. The literal can be preceded by ‘+’ or ‘-’ and be surrounded
-by whitespace. The base defaults to 10. Valid bases are 0 and 2-36.
-Base 0 means to interpret the base from the string as an integer literal.
->>> int(‘0b100’, base=0)
-4
+class pyray.FontType
+Font type, defines generation method.
-
FONT_BITMAP = 1
@@ -3136,19 +3070,8 @@ Base 0 means to interpret the base from the string as an integer literal.
-
-class pyray.GamepadAxis
-int([x]) -> integer
-int(x, base=10) -> integer
-Convert a number or string to an integer, or return 0 if no arguments
-are given. If x is a number, return x.__int__(). For floating point
-numbers, this truncates towards zero.
-If x is not a number or if base is given, then x must be a string,
-bytes, or bytearray instance representing an integer literal in the
-given base. The literal can be preceded by ‘+’ or ‘-’ and be surrounded
-by whitespace. The base defaults to 10. Valid bases are 0 and 2-36.
-Base 0 means to interpret the base from the string as an integer literal.
->>> int(‘0b100’, base=0)
-4
+class pyray.GamepadAxis
+Gamepad axis.
-
GAMEPAD_AXIS_LEFT_TRIGGER = 4
@@ -3183,19 +3106,8 @@ Base 0 means to interpret the base from the string as an integer literal.
-
-class pyray.GamepadButton
-int([x]) -> integer
-int(x, base=10) -> integer
-Convert a number or string to an integer, or return 0 if no arguments
-are given. If x is a number, return x.__int__(). For floating point
-numbers, this truncates towards zero.
-If x is not a number or if base is given, then x must be a string,
-bytes, or bytearray instance representing an integer literal in the
-given base. The literal can be preceded by ‘+’ or ‘-’ and be surrounded
-by whitespace. The base defaults to 10. Valid bases are 0 and 2-36.
-Base 0 means to interpret the base from the string as an integer literal.
->>> int(‘0b100’, base=0)
-4
+class pyray.GamepadButton
+Gamepad buttons.
-
GAMEPAD_BUTTON_LEFT_FACE_DOWN = 3
@@ -3290,19 +3202,8 @@ Base 0 means to interpret the base from the string as an integer literal.
-
-class pyray.Gesture
-int([x]) -> integer
-int(x, base=10) -> integer
-Convert a number or string to an integer, or return 0 if no arguments
-are given. If x is a number, return x.__int__(). For floating point
-numbers, this truncates towards zero.
-If x is not a number or if base is given, then x must be a string,
-bytes, or bytearray instance representing an integer literal in the
-given base. The literal can be preceded by ‘+’ or ‘-’ and be surrounded
-by whitespace. The base defaults to 10. Valid bases are 0 and 2-36.
-Base 0 means to interpret the base from the string as an integer literal.
->>> int(‘0b100’, base=0)
-4
+class pyray.Gesture
+Gesture.
-
GESTURE_DOUBLETAP = 2
@@ -3362,50 +3263,39 @@ Base 0 means to interpret the base from the string as an integer literal.
-
-class pyray.GlyphInfo(value: int | None = None, offsetX: int | None = None, offsetY: int | None = None, advanceX: int | None = None, image: Image | list | tuple | None = None)
-struct
+class pyray.GlyphInfo(value: int | None = None, offsetX: int | None = None, offsetY: int | None = None, advanceX: int | None = None, image: Image | list | tuple | None = None)
+GlyphInfo, font characters glyphs info.
-
-class pyray.GuiCheckBoxProperty
-int([x]) -> integer
-int(x, base=10) -> integer
-Convert a number or string to an integer, or return 0 if no arguments
-are given. If x is a number, return x.__int__(). For floating point
-numbers, this truncates towards zero.
-If x is not a number or if base is given, then x must be a string,
-bytes, or bytearray instance representing an integer literal in the
-given base. The literal can be preceded by ‘+’ or ‘-’ and be surrounded
-by whitespace. The base defaults to 10. Valid bases are 0 and 2-36.
-Base 0 means to interpret the base from the string as an integer literal.
->>> int(‘0b100’, base=0)
-4
+class pyray.GuiCheckBoxProperty
+CheckBox.
-
CHECK_PADDING = 16
@@ -3415,19 +3305,8 @@ Base 0 means to interpret the base from the string as an integer literal.
-
-class pyray.GuiColorPickerProperty
-int([x]) -> integer
-int(x, base=10) -> integer
-Convert a number or string to an integer, or return 0 if no arguments
-are given. If x is a number, return x.__int__(). For floating point
-numbers, this truncates towards zero.
-If x is not a number or if base is given, then x must be a string,
-bytes, or bytearray instance representing an integer literal in the
-given base. The literal can be preceded by ‘+’ or ‘-’ and be surrounded
-by whitespace. The base defaults to 10. Valid bases are 0 and 2-36.
-Base 0 means to interpret the base from the string as an integer literal.
->>> int(‘0b100’, base=0)
-4
+class pyray.GuiColorPickerProperty
+ColorPicker.
-
COLOR_SELECTOR_SIZE = 16
@@ -3457,19 +3336,8 @@ Base 0 means to interpret the base from the string as an integer literal.
-
-class pyray.GuiComboBoxProperty
-int([x]) -> integer
-int(x, base=10) -> integer
-Convert a number or string to an integer, or return 0 if no arguments
-are given. If x is a number, return x.__int__(). For floating point
-numbers, this truncates towards zero.
-If x is not a number or if base is given, then x must be a string,
-bytes, or bytearray instance representing an integer literal in the
-given base. The literal can be preceded by ‘+’ or ‘-’ and be surrounded
-by whitespace. The base defaults to 10. Valid bases are 0 and 2-36.
-Base 0 means to interpret the base from the string as an integer literal.
->>> int(‘0b100’, base=0)
-4
+class pyray.GuiComboBoxProperty
+ComboBox.
-
COMBO_BUTTON_SPACING = 17
@@ -3484,19 +3352,8 @@ Base 0 means to interpret the base from the string as an integer literal.
-
-class pyray.GuiControl
-int([x]) -> integer
-int(x, base=10) -> integer
-Convert a number or string to an integer, or return 0 if no arguments
-are given. If x is a number, return x.__int__(). For floating point
-numbers, this truncates towards zero.
-If x is not a number or if base is given, then x must be a string,
-bytes, or bytearray instance representing an integer literal in the
-given base. The literal can be preceded by ‘+’ or ‘-’ and be surrounded
-by whitespace. The base defaults to 10. Valid bases are 0 and 2-36.
-Base 0 means to interpret the base from the string as an integer literal.
->>> int(‘0b100’, base=0)
-4
+class pyray.GuiControl
+Gui controls.
-
BUTTON = 2
@@ -3581,19 +3438,8 @@ Base 0 means to interpret the base from the string as an integer literal.
-
-class pyray.GuiControlProperty
-int([x]) -> integer
-int(x, base=10) -> integer
-Convert a number or string to an integer, or return 0 if no arguments
-are given. If x is a number, return x.__int__(). For floating point
-numbers, this truncates towards zero.
-If x is not a number or if base is given, then x must be a string,
-bytes, or bytearray instance representing an integer literal in the
-given base. The literal can be preceded by ‘+’ or ‘-’ and be surrounded
-by whitespace. The base defaults to 10. Valid bases are 0 and 2-36.
-Base 0 means to interpret the base from the string as an integer literal.
->>> int(‘0b100’, base=0)
-4
+class pyray.GuiControlProperty
+Gui base properties for every control.
-
BASE_COLOR_DISABLED = 10
@@ -3673,19 +3519,8 @@ Base 0 means to interpret the base from the string as an integer literal.
-
-class pyray.GuiDefaultProperty
-int([x]) -> integer
-int(x, base=10) -> integer
-Convert a number or string to an integer, or return 0 if no arguments
-are given. If x is a number, return x.__int__(). For floating point
-numbers, this truncates towards zero.
-If x is not a number or if base is given, then x must be a string,
-bytes, or bytearray instance representing an integer literal in the
-given base. The literal can be preceded by ‘+’ or ‘-’ and be surrounded
-by whitespace. The base defaults to 10. Valid bases are 0 and 2-36.
-Base 0 means to interpret the base from the string as an integer literal.
->>> int(‘0b100’, base=0)
-4
+class pyray.GuiDefaultProperty
+DEFAULT extended properties.
-
BACKGROUND_COLOR = 19
@@ -3725,19 +3560,8 @@ Base 0 means to interpret the base from the string as an integer literal.
-
-class pyray.GuiDropdownBoxProperty
-int([x]) -> integer
-int(x, base=10) -> integer
-Convert a number or string to an integer, or return 0 if no arguments
-are given. If x is a number, return x.__int__(). For floating point
-numbers, this truncates towards zero.
-If x is not a number or if base is given, then x must be a string,
-bytes, or bytearray instance representing an integer literal in the
-given base. The literal can be preceded by ‘+’ or ‘-’ and be surrounded
-by whitespace. The base defaults to 10. Valid bases are 0 and 2-36.
-Base 0 means to interpret the base from the string as an integer literal.
->>> int(‘0b100’, base=0)
-4
+class pyray.GuiDropdownBoxProperty
+DropdownBox.
-
ARROW_PADDING = 16
@@ -3762,19 +3586,8 @@ Base 0 means to interpret the base from the string as an integer literal.
-
-class pyray.GuiIconName
-int([x]) -> integer
-int(x, base=10) -> integer
-Convert a number or string to an integer, or return 0 if no arguments
-are given. If x is a number, return x.__int__(). For floating point
-numbers, this truncates towards zero.
-If x is not a number or if base is given, then x must be a string,
-bytes, or bytearray instance representing an integer literal in the
-given base. The literal can be preceded by ‘+’ or ‘-’ and be surrounded
-by whitespace. The base defaults to 10. Valid bases are 0 and 2-36.
-Base 0 means to interpret the base from the string as an integer literal.
->>> int(‘0b100’, base=0)
-4
+class pyray.GuiIconName
+.
-
ICON_1UP = 148
@@ -5059,19 +4872,8 @@ Base 0 means to interpret the base from the string as an integer literal.
-
-class pyray.GuiListViewProperty
-int([x]) -> integer
-int(x, base=10) -> integer
-Convert a number or string to an integer, or return 0 if no arguments
-are given. If x is a number, return x.__int__(). For floating point
-numbers, this truncates towards zero.
-If x is not a number or if base is given, then x must be a string,
-bytes, or bytearray instance representing an integer literal in the
-given base. The literal can be preceded by ‘+’ or ‘-’ and be surrounded
-by whitespace. The base defaults to 10. Valid bases are 0 and 2-36.
-Base 0 means to interpret the base from the string as an integer literal.
->>> int(‘0b100’, base=0)
-4
+class pyray.GuiListViewProperty
+ListView.
-
LIST_ITEMS_BORDER_WIDTH = 20
@@ -5101,19 +4903,8 @@ Base 0 means to interpret the base from the string as an integer literal.
-
-class pyray.GuiProgressBarProperty
-int([x]) -> integer
-int(x, base=10) -> integer
-Convert a number or string to an integer, or return 0 if no arguments
-are given. If x is a number, return x.__int__(). For floating point
-numbers, this truncates towards zero.
-If x is not a number or if base is given, then x must be a string,
-bytes, or bytearray instance representing an integer literal in the
-given base. The literal can be preceded by ‘+’ or ‘-’ and be surrounded
-by whitespace. The base defaults to 10. Valid bases are 0 and 2-36.
-Base 0 means to interpret the base from the string as an integer literal.
->>> int(‘0b100’, base=0)
-4
+class pyray.GuiProgressBarProperty
+ProgressBar.
-
PROGRESS_PADDING = 16
@@ -5123,19 +4914,8 @@ Base 0 means to interpret the base from the string as an integer literal.
-
-class pyray.GuiScrollBarProperty
-int([x]) -> integer
-int(x, base=10) -> integer
-Convert a number or string to an integer, or return 0 if no arguments
-are given. If x is a number, return x.__int__(). For floating point
-numbers, this truncates towards zero.
-If x is not a number or if base is given, then x must be a string,
-bytes, or bytearray instance representing an integer literal in the
-given base. The literal can be preceded by ‘+’ or ‘-’ and be surrounded
-by whitespace. The base defaults to 10. Valid bases are 0 and 2-36.
-Base 0 means to interpret the base from the string as an integer literal.
->>> int(‘0b100’, base=0)
-4
+class pyray.GuiScrollBarProperty
+ScrollBar.
-
ARROWS_SIZE = 16
@@ -5170,19 +4950,8 @@ Base 0 means to interpret the base from the string as an integer literal.
-
-class pyray.GuiSliderProperty
-int([x]) -> integer
-int(x, base=10) -> integer
-Convert a number or string to an integer, or return 0 if no arguments
-are given. If x is a number, return x.__int__(). For floating point
-numbers, this truncates towards zero.
-If x is not a number or if base is given, then x must be a string,
-bytes, or bytearray instance representing an integer literal in the
-given base. The literal can be preceded by ‘+’ or ‘-’ and be surrounded
-by whitespace. The base defaults to 10. Valid bases are 0 and 2-36.
-Base 0 means to interpret the base from the string as an integer literal.
->>> int(‘0b100’, base=0)
-4
+class pyray.GuiSliderProperty
+Slider/SliderBar.
-
SLIDER_PADDING = 17
@@ -5197,19 +4966,8 @@ Base 0 means to interpret the base from the string as an integer literal.
-
-class pyray.GuiSpinnerProperty
-int([x]) -> integer
-int(x, base=10) -> integer
-Convert a number or string to an integer, or return 0 if no arguments
-are given. If x is a number, return x.__int__(). For floating point
-numbers, this truncates towards zero.
-If x is not a number or if base is given, then x must be a string,
-bytes, or bytearray instance representing an integer literal in the
-given base. The literal can be preceded by ‘+’ or ‘-’ and be surrounded
-by whitespace. The base defaults to 10. Valid bases are 0 and 2-36.
-Base 0 means to interpret the base from the string as an integer literal.
->>> int(‘0b100’, base=0)
-4
+class pyray.GuiSpinnerProperty
+Spinner.
-
SPIN_BUTTON_SPACING = 17
@@ -5224,19 +4982,8 @@ Base 0 means to interpret the base from the string as an integer literal.
-
-class pyray.GuiState
-int([x]) -> integer
-int(x, base=10) -> integer
-Convert a number or string to an integer, or return 0 if no arguments
-are given. If x is a number, return x.__int__(). For floating point
-numbers, this truncates towards zero.
-If x is not a number or if base is given, then x must be a string,
-bytes, or bytearray instance representing an integer literal in the
-given base. The literal can be preceded by ‘+’ or ‘-’ and be surrounded
-by whitespace. The base defaults to 10. Valid bases are 0 and 2-36.
-Base 0 means to interpret the base from the string as an integer literal.
->>> int(‘0b100’, base=0)
-4
+class pyray.GuiState
+Gui control state.
-
STATE_DISABLED = 3
@@ -5261,40 +5008,29 @@ Base 0 means to interpret the base from the string as an integer literal.
-
-class pyray.GuiStyleProp(controlId: int | None = None, propertyId: int | None = None, propertyValue: int | None = None)
-struct
+class pyray.GuiStyleProp(controlId: int | None = None, propertyId: int | None = None, propertyValue: int | None = None)
+NOTE: Used when exporting style as code for convenience.
-
-class pyray.GuiTextAlignment
-int([x]) -> integer
-int(x, base=10) -> integer
-Convert a number or string to an integer, or return 0 if no arguments
-are given. If x is a number, return x.__int__(). For floating point
-numbers, this truncates towards zero.
-If x is not a number or if base is given, then x must be a string,
-bytes, or bytearray instance representing an integer literal in the
-given base. The literal can be preceded by ‘+’ or ‘-’ and be surrounded
-by whitespace. The base defaults to 10. Valid bases are 0 and 2-36.
-Base 0 means to interpret the base from the string as an integer literal.
->>> int(‘0b100’, base=0)
-4
+class pyray.GuiTextAlignment
+Gui control text alignment.
-
TEXT_ALIGN_CENTER = 1
@@ -5314,19 +5050,8 @@ Base 0 means to interpret the base from the string as an integer literal.
-
-class pyray.GuiTextAlignmentVertical
-int([x]) -> integer
-int(x, base=10) -> integer
-Convert a number or string to an integer, or return 0 if no arguments
-are given. If x is a number, return x.__int__(). For floating point
-numbers, this truncates towards zero.
-If x is not a number or if base is given, then x must be a string,
-bytes, or bytearray instance representing an integer literal in the
-given base. The literal can be preceded by ‘+’ or ‘-’ and be surrounded
-by whitespace. The base defaults to 10. Valid bases are 0 and 2-36.
-Base 0 means to interpret the base from the string as an integer literal.
->>> int(‘0b100’, base=0)
-4
+class pyray.GuiTextAlignmentVertical
+Gui control text alignment vertical.
-
TEXT_ALIGN_BOTTOM = 2
@@ -5346,19 +5071,8 @@ Base 0 means to interpret the base from the string as an integer literal.
-
-class pyray.GuiTextBoxProperty
-int([x]) -> integer
-int(x, base=10) -> integer
-Convert a number or string to an integer, or return 0 if no arguments
-are given. If x is a number, return x.__int__(). For floating point
-numbers, this truncates towards zero.
-If x is not a number or if base is given, then x must be a string,
-bytes, or bytearray instance representing an integer literal in the
-given base. The literal can be preceded by ‘+’ or ‘-’ and be surrounded
-by whitespace. The base defaults to 10. Valid bases are 0 and 2-36.
-Base 0 means to interpret the base from the string as an integer literal.
->>> int(‘0b100’, base=0)
-4
+class pyray.GuiTextBoxProperty
+TextBox/TextBoxMulti/ValueBox/Spinner.
-
TEXT_READONLY = 16
@@ -5368,19 +5082,8 @@ Base 0 means to interpret the base from the string as an integer literal.
-
-class pyray.GuiTextWrapMode
-int([x]) -> integer
-int(x, base=10) -> integer
-Convert a number or string to an integer, or return 0 if no arguments
-are given. If x is a number, return x.__int__(). For floating point
-numbers, this truncates towards zero.
-If x is not a number or if base is given, then x must be a string,
-bytes, or bytearray instance representing an integer literal in the
-given base. The literal can be preceded by ‘+’ or ‘-’ and be surrounded
-by whitespace. The base defaults to 10. Valid bases are 0 and 2-36.
-Base 0 means to interpret the base from the string as an integer literal.
->>> int(‘0b100’, base=0)
-4
+class pyray.GuiTextWrapMode
+Gui control text wrap mode.
-
TEXT_WRAP_CHAR = 1
@@ -5400,19 +5103,8 @@ Base 0 means to interpret the base from the string as an integer literal.
-
-class pyray.GuiToggleProperty
-int([x]) -> integer
-int(x, base=10) -> integer
-Convert a number or string to an integer, or return 0 if no arguments
-are given. If x is a number, return x.__int__(). For floating point
-numbers, this truncates towards zero.
-If x is not a number or if base is given, then x must be a string,
-bytes, or bytearray instance representing an integer literal in the
-given base. The literal can be preceded by ‘+’ or ‘-’ and be surrounded
-by whitespace. The base defaults to 10. Valid bases are 0 and 2-36.
-Base 0 means to interpret the base from the string as an integer literal.
->>> int(‘0b100’, base=0)
-4
+class pyray.GuiToggleProperty
+Toggle/ToggleGroup.
-
GROUP_PADDING = 16
@@ -5422,50 +5114,39 @@ Base 0 means to interpret the base from the string as an integer literal.
-
-class pyray.Image(data: Any | None = None, width: int | None = None, height: int | None = None, mipmaps: int | None = None, format: int | None = None)
-struct
+class pyray.Image(data: Any | None = None, width: int | None = None, height: int | None = None, mipmaps: int | None = None, format: int | None = None)
+Image, pixel data stored in CPU memory (RAM).
-
-class pyray.KeyboardKey
-int([x]) -> integer
-int(x, base=10) -> integer
-Convert a number or string to an integer, or return 0 if no arguments
-are given. If x is a number, return x.__int__(). For floating point
-numbers, this truncates towards zero.
-If x is not a number or if base is given, then x must be a string,
-bytes, or bytearray instance representing an integer literal in the
-given base. The literal can be preceded by ‘+’ or ‘-’ and be surrounded
-by whitespace. The base defaults to 10. Valid bases are 0 and 2-36.
-Base 0 means to interpret the base from the string as an integer literal.
->>> int(‘0b100’, base=0)
-4
+class pyray.KeyboardKey
+Keyboard keys (US keyboard layout).
-
KEY_A = 65
@@ -6040,61 +5721,50 @@ Base 0 means to interpret the base from the string as an integer literal.
-
-class pyray.Material(shader: Shader | list | tuple | None = None, maps: Any | None = None, params: list | None = None)
-struct
+class pyray.Material(shader: Shader | list | tuple | None = None, maps: Any | None = None, params: list | None = None)
+Material, includes shader and maps.
-
-class pyray.MaterialMap(texture: Texture | list | tuple | None = None, color: Color | list | tuple | None = None, value: float | None = None)
-struct
+class pyray.MaterialMap(texture: Texture | list | tuple | None = None, color: Color | list | tuple | None = None, value: float | None = None)
+MaterialMap.
-
-class pyray.MaterialMapIndex
-int([x]) -> integer
-int(x, base=10) -> integer
-Convert a number or string to an integer, or return 0 if no arguments
-are given. If x is a number, return x.__int__(). For floating point
-numbers, this truncates towards zero.
-If x is not a number or if base is given, then x must be a string,
-bytes, or bytearray instance representing an integer literal in the
-given base. The literal can be preceded by ‘+’ or ‘-’ and be surrounded
-by whitespace. The base defaults to 10. Valid bases are 0 and 2-36.
-Base 0 means to interpret the base from the string as an integer literal.
->>> int(‘0b100’, base=0)
-4
+class pyray.MaterialMapIndex
+Material map index.
-
MATERIAL_MAP_ALBEDO = 0
@@ -6154,304 +5824,293 @@ Base 0 means to interpret the base from the string as an integer literal.
-
-class pyray.Matrix(m0: float | None = None, m4: float | None = None, m8: float | None = None, m12: float | None = None, m1: float | None = None, m5: float | None = None, m9: float | None = None, m13: float | None = None, m2: float | None = None, m6: float | None = None, m10: float | None = None, m14: float | None = None, m3: float | None = None, m7: float | None = None, m11: float | None = None, m15: float | None = None)
-struct
+class pyray.Matrix(m0: float | None = None, m4: float | None = None, m8: float | None = None, m12: float | None = None, m1: float | None = None, m5: float | None = None, m9: float | None = None, m13: float | None = None, m2: float | None = None, m6: float | None = None, m10: float | None = None, m14: float | None = None, m3: float | None = None, m7: float | None = None, m11: float | None = None, m15: float | None = None)
+Matrix, 4x4 components, column major, OpenGL style, right-handed.
-
-class pyray.Matrix2x2(m00: float | None = None, m01: float | None = None, m10: float | None = None, m11: float | None = None)
-struct
+class pyray.Matrix2x2(m00: float | None = None, m01: float | None = None, m10: float | None = None, m11: float | None = None)
+Matrix2x2 type (used for polygon shape rotation matrix).
-
-class pyray.Mesh(vertexCount: int | None = None, triangleCount: int | None = None, vertices: Any | None = None, texcoords: Any | None = None, texcoords2: Any | None = None, normals: Any | None = None, tangents: Any | None = None, colors: str | None = None, indices: Any | None = None, animVertices: Any | None = None, animNormals: Any | None = None, boneIds: str | None = None, boneWeights: Any | None = None, boneMatrices: Any | None = None, boneCount: int | None = None, vaoId: int | None = None, vboId: Any | None = None)
-struct
+class pyray.Mesh(vertexCount: int | None = None, triangleCount: int | None = None, vertices: Any | None = None, texcoords: Any | None = None, texcoords2: Any | None = None, normals: Any | None = None, tangents: Any | None = None, colors: str | None = None, indices: Any | None = None, animVertices: Any | None = None, animNormals: Any | None = None, boneIds: str | None = None, boneWeights: Any | None = None, boneMatrices: Any | None = None, boneCount: int | None = None, vaoId: int | None = None, vboId: Any | None = None)
+Mesh, vertex data and vao/vbo.
-
-class pyray.Model(transform: Matrix | list | tuple | None = None, meshCount: int | None = None, materialCount: int | None = None, meshes: Any | None = None, materials: Any | None = None, meshMaterial: Any | None = None, boneCount: int | None = None, bones: Any | None = None, bindPose: Any | None = None)
-struct
+class pyray.Model(transform: Matrix | list | tuple | None = None, meshCount: int | None = None, materialCount: int | None = None, meshes: Any | None = None, materials: Any | None = None, meshMaterial: Any | None = None, boneCount: int | None = None, bones: Any | None = None, bindPose: Any | None = None)
+Model, meshes, materials and animation data.
-
-class pyray.ModelAnimation(boneCount: int | None = None, frameCount: int | None = None, bones: Any | None = None, framePoses: Any | None = None, name: list | None = None)
-struct
+class pyray.ModelAnimation(boneCount: int | None = None, frameCount: int | None = None, bones: Any | None = None, framePoses: Any | None = None, name: list | None = None)
+ModelAnimation.
-
-class pyray.MouseButton
-int([x]) -> integer
-int(x, base=10) -> integer
-Convert a number or string to an integer, or return 0 if no arguments
-are given. If x is a number, return x.__int__(). For floating point
-numbers, this truncates towards zero.
-If x is not a number or if base is given, then x must be a string,
-bytes, or bytearray instance representing an integer literal in the
-given base. The literal can be preceded by ‘+’ or ‘-’ and be surrounded
-by whitespace. The base defaults to 10. Valid bases are 0 and 2-36.
-Base 0 means to interpret the base from the string as an integer literal.
->>> int(‘0b100’, base=0)
-4
+class pyray.MouseButton
+Mouse buttons.
-
MOUSE_BUTTON_BACK = 6
@@ -6491,19 +6150,8 @@ Base 0 means to interpret the base from the string as an integer literal.
-
-class pyray.MouseCursor
-int([x]) -> integer
-int(x, base=10) -> integer
-Convert a number or string to an integer, or return 0 if no arguments
-are given. If x is a number, return x.__int__(). For floating point
-numbers, this truncates towards zero.
-If x is not a number or if base is given, then x must be a string,
-bytes, or bytearray instance representing an integer literal in the
-given base. The literal can be preceded by ‘+’ or ‘-’ and be surrounded
-by whitespace. The base defaults to 10. Valid bases are 0 and 2-36.
-Base 0 means to interpret the base from the string as an integer literal.
->>> int(‘0b100’, base=0)
-4
+class pyray.MouseCursor
+Mouse cursor.
-
MOUSE_CURSOR_ARROW = 1
@@ -6563,86 +6211,75 @@ Base 0 means to interpret the base from the string as an integer literal.
-
-class pyray.Music(stream: AudioStream | list | tuple | None = None, frameCount: int | None = None, looping: bool | None = None, ctxType: int | None = None, ctxData: Any | None = None)
-struct
+class pyray.Music(stream: AudioStream | list | tuple | None = None, frameCount: int | None = None, looping: bool | None = None, ctxType: int | None = None, ctxData: Any | None = None)
+Music, audio stream, anything longer than ~10 seconds should be streamed.
-
-stream: AudioStream
+stream: AudioStream = None
-
-class pyray.NPatchInfo(source: Rectangle | list | tuple | None = None, left: int | None = None, top: int | None = None, right: int | None = None, bottom: int | None = None, layout: int | None = None)
-struct
+class pyray.NPatchInfo(source: Rectangle | list | tuple | None = None, left: int | None = None, top: int | None = None, right: int | None = None, bottom: int | None = None, layout: int | None = None)
+NPatchInfo, n-patch layout info.
-
-class pyray.NPatchLayout
-int([x]) -> integer
-int(x, base=10) -> integer
-Convert a number or string to an integer, or return 0 if no arguments
-are given. If x is a number, return x.__int__(). For floating point
-numbers, this truncates towards zero.
-If x is not a number or if base is given, then x must be a string,
-bytes, or bytearray instance representing an integer literal in the
-given base. The literal can be preceded by ‘+’ or ‘-’ and be surrounded
-by whitespace. The base defaults to 10. Valid bases are 0 and 2-36.
-Base 0 means to interpret the base from the string as an integer literal.
->>> int(‘0b100’, base=0)
-4
+class pyray.NPatchLayout
+N-patch layout.
-
NPATCH_NINE_PATCH = 0
@@ -6677,228 +6314,217 @@ Base 0 means to interpret the base from the string as an integer literal.
-
-class pyray.PhysicsBodyData(id: int | None = None, enabled: bool | None = None, position: Vector2 | list | tuple | None = None, velocity: Vector2 | list | tuple | None = None, force: Vector2 | list | tuple | None = None, angularVelocity: float | None = None, torque: float | None = None, orient: float | None = None, inertia: float | None = None, inverseInertia: float | None = None, mass: float | None = None, inverseMass: float | None = None, staticFriction: float | None = None, dynamicFriction: float | None = None, restitution: float | None = None, useGravity: bool | None = None, isGrounded: bool | None = None, freezeOrient: bool | None = None, shape: PhysicsShape | list | tuple | None = None)
-struct
+class pyray.PhysicsBodyData(id: int | None = None, enabled: bool | None = None, position: Vector2 | list | tuple | None = None, velocity: Vector2 | list | tuple | None = None, force: Vector2 | list | tuple | None = None, angularVelocity: float | None = None, torque: float | None = None, orient: float | None = None, inertia: float | None = None, inverseInertia: float | None = None, mass: float | None = None, inverseMass: float | None = None, staticFriction: float | None = None, dynamicFriction: float | None = None, restitution: float | None = None, useGravity: bool | None = None, isGrounded: bool | None = None, freezeOrient: bool | None = None, shape: PhysicsShape | list | tuple | None = None)
+.
-
-shape: PhysicsShape
+shape: PhysicsShape = None
-
-class pyray.PhysicsManifoldData(id: int | None = None, bodyA: Any | None = None, bodyB: Any | None = None, penetration: float | None = None, normal: Vector2 | list | tuple | None = None, contacts: list | None = None, contactsCount: int | None = None, restitution: float | None = None, dynamicFriction: float | None = None, staticFriction: float | None = None)
-struct
+class pyray.PhysicsManifoldData(id: int | None = None, bodyA: Any | None = None, bodyB: Any | None = None, penetration: float | None = None, normal: Vector2 | list | tuple | None = None, contacts: list | None = None, contactsCount: int | None = None, restitution: float | None = None, dynamicFriction: float | None = None, staticFriction: float | None = None)
+.
-
-class pyray.PhysicsShape(type: PhysicsShapeType | None = None, body: Any | None = None, vertexData: PhysicsVertexData | list | tuple | None = None, radius: float | None = None, transform: Matrix2x2 | list | tuple | None = None)
-struct
+class pyray.PhysicsShape(type: PhysicsShapeType | None = None, body: Any | None = None, vertexData: PhysicsVertexData | list | tuple | None = None, radius: float | None = None, transform: Matrix2x2 | list | tuple | None = None)
+.
-
-vertexData: PhysicsVertexData
+vertexData: PhysicsVertexData = None
-
-class pyray.PhysicsVertexData(vertexCount: int | None = None, positions: list | None = None, normals: list | None = None)
-struct
+class pyray.PhysicsVertexData(vertexCount: int | None = None, positions: list | None = None, normals: list | None = None)
+.
-
-class pyray.PixelFormat
-int([x]) -> integer
-int(x, base=10) -> integer
-Convert a number or string to an integer, or return 0 if no arguments
-are given. If x is a number, return x.__int__(). For floating point
-numbers, this truncates towards zero.
-If x is not a number or if base is given, then x must be a string,
-bytes, or bytearray instance representing an integer literal in the
-given base. The literal can be preceded by ‘+’ or ‘-’ and be surrounded
-by whitespace. The base defaults to 10. Valid bases are 0 and 2-36.
-Base 0 means to interpret the base from the string as an integer literal.
->>> int(‘0b100’, base=0)
-4
+class pyray.PixelFormat
+Pixel formats.
-
PIXELFORMAT_COMPRESSED_ASTC_4x4_RGBA = 23
@@ -7033,89 +6659,89 @@ Base 0 means to interpret the base from the string as an integer literal.
-
-class pyray.Ray(position: Vector3 | list | tuple | None = None, direction: Vector3 | list | tuple | None = None)
-struct
+class pyray.Ray(position: Vector3 | list | tuple | None = None, direction: Vector3 | list | tuple | None = None)
+Ray, ray for raycasting.
-
-class pyray.RayCollision(hit: bool | None = None, distance: float | None = None, point: Vector3 | list | tuple | None = None, normal: Vector3 | list | tuple | None = None)
-struct
+class pyray.RayCollision(hit: bool | None = None, distance: float | None = None, point: Vector3 | list | tuple | None = None, normal: Vector3 | list | tuple | None = None)
+RayCollision, ray hit information.
-
-class pyray.Rectangle(x: float | None = None, y: float | None = None, width: float | None = None, height: float | None = None)
-struct
+class pyray.Rectangle(x: float | None = None, y: float | None = None, width: float | None = None, height: float | None = None)
+Rectangle, 4 components.
-
-class pyray.RenderTexture(id: int | None = None, texture: Texture | list | tuple | None = None, depth: Texture | list | tuple | None = None)
-struct
+class pyray.RenderTexture(id: int | None = None, texture: Texture | list | tuple | None = None, depth: Texture | list | tuple | None = None)
+RenderTexture, fbo for texture rendering.
@@ -7127,35 +6753,24 @@ Base 0 means to interpret the base from the string as an integer literal.
-
-class pyray.Shader(id: int | None = None, locs: Any | None = None)
-struct
+class pyray.Shader(id: int | None = None, locs: Any | None = None)
+Shader.
-
-class pyray.ShaderAttributeDataType
-int([x]) -> integer
-int(x, base=10) -> integer
-Convert a number or string to an integer, or return 0 if no arguments
-are given. If x is a number, return x.__int__(). For floating point
-numbers, this truncates towards zero.
-If x is not a number or if base is given, then x must be a string,
-bytes, or bytearray instance representing an integer literal in the
-given base. The literal can be preceded by ‘+’ or ‘-’ and be surrounded
-by whitespace. The base defaults to 10. Valid bases are 0 and 2-36.
-Base 0 means to interpret the base from the string as an integer literal.
->>> int(‘0b100’, base=0)
-4
+class pyray.ShaderAttributeDataType
+Shader attribute data types.
-
SHADER_ATTRIB_FLOAT = 0
@@ -7180,19 +6795,8 @@ Base 0 means to interpret the base from the string as an integer literal.
-
-class pyray.ShaderLocationIndex
-int([x]) -> integer
-int(x, base=10) -> integer
-Convert a number or string to an integer, or return 0 if no arguments
-are given. If x is a number, return x.__int__(). For floating point
-numbers, this truncates towards zero.
-If x is not a number or if base is given, then x must be a string,
-bytes, or bytearray instance representing an integer literal in the
-given base. The literal can be preceded by ‘+’ or ‘-’ and be surrounded
-by whitespace. The base defaults to 10. Valid bases are 0 and 2-36.
-Base 0 means to interpret the base from the string as an integer literal.
->>> int(‘0b100’, base=0)
-4
+class pyray.ShaderLocationIndex
+Shader location index.
-
SHADER_LOC_BONE_MATRICES = 28
@@ -7342,19 +6946,8 @@ Base 0 means to interpret the base from the string as an integer literal.
-
-class pyray.ShaderUniformDataType
-int([x]) -> integer
-int(x, base=10) -> integer
-Convert a number or string to an integer, or return 0 if no arguments
-are given. If x is a number, return x.__int__(). For floating point
-numbers, this truncates towards zero.
-If x is not a number or if base is given, then x must be a string,
-bytes, or bytearray instance representing an integer literal in the
-given base. The literal can be preceded by ‘+’ or ‘-’ and be surrounded
-by whitespace. The base defaults to 10. Valid bases are 0 and 2-36.
-Base 0 means to interpret the base from the string as an integer literal.
->>> int(‘0b100’, base=0)
-4
+class pyray.ShaderUniformDataType
+Shader uniform data type.
-
SHADER_UNIFORM_FLOAT = 0
@@ -7404,97 +6997,86 @@ Base 0 means to interpret the base from the string as an integer literal.
-
-class pyray.Sound(stream: AudioStream | list | tuple | None = None, frameCount: int | None = None)
-struct
+class pyray.Sound(stream: AudioStream | list | tuple | None = None, frameCount: int | None = None)
+Sound.
-
-stream: AudioStream
+stream: AudioStream = None
-
-class pyray.Texture(id: int | None = None, width: int | None = None, height: int | None = None, mipmaps: int | None = None, format: int | None = None)
-struct
+class pyray.Texture(id: int | None = None, width: int | None = None, height: int | None = None, mipmaps: int | None = None, format: int | None = None)
+Texture, tex data stored in GPU memory (VRAM).
-
-class pyray.Texture2D(id: int | None = None, width: int | None = None, height: int | None = None, mipmaps: int | None = None, format: int | None = None)
-struct
+class pyray.Texture2D(id: int | None = None, width: int | None = None, height: int | None = None, mipmaps: int | None = None, format: int | None = None)
+It should be redesigned to be provided by user.
-
-class pyray.TextureFilter
-int([x]) -> integer
-int(x, base=10) -> integer
-Convert a number or string to an integer, or return 0 if no arguments
-are given. If x is a number, return x.__int__(). For floating point
-numbers, this truncates towards zero.
-If x is not a number or if base is given, then x must be a string,
-bytes, or bytearray instance representing an integer literal in the
-given base. The literal can be preceded by ‘+’ or ‘-’ and be surrounded
-by whitespace. The base defaults to 10. Valid bases are 0 and 2-36.
-Base 0 means to interpret the base from the string as an integer literal.
->>> int(‘0b100’, base=0)
-4
+class pyray.TextureFilter
+Texture parameters: filter mode.
-
TEXTURE_FILTER_ANISOTROPIC_16X = 5
@@ -7529,19 +7111,8 @@ Base 0 means to interpret the base from the string as an integer literal.
-
-class pyray.TextureWrap
-int([x]) -> integer
-int(x, base=10) -> integer
-Convert a number or string to an integer, or return 0 if no arguments
-are given. If x is a number, return x.__int__(). For floating point
-numbers, this truncates towards zero.
-If x is not a number or if base is given, then x must be a string,
-bytes, or bytearray instance representing an integer literal in the
-given base. The literal can be preceded by ‘+’ or ‘-’ and be surrounded
-by whitespace. The base defaults to 10. Valid bases are 0 and 2-36.
-Base 0 means to interpret the base from the string as an integer literal.
->>> int(‘0b100’, base=0)
-4
+class pyray.TextureWrap
+Texture parameters: wrap mode.
-
TEXTURE_WRAP_CLAMP = 1
@@ -7566,19 +7137,8 @@ Base 0 means to interpret the base from the string as an integer literal.
-
-class pyray.TraceLogLevel
-int([x]) -> integer
-int(x, base=10) -> integer
-Convert a number or string to an integer, or return 0 if no arguments
-are given. If x is a number, return x.__int__(). For floating point
-numbers, this truncates towards zero.
-If x is not a number or if base is given, then x must be a string,
-bytes, or bytearray instance representing an integer literal in the
-given base. The literal can be preceded by ‘+’ or ‘-’ and be surrounded
-by whitespace. The base defaults to 10. Valid bases are 0 and 2-36.
-Base 0 means to interpret the base from the string as an integer literal.
->>> int(‘0b100’, base=0)
-4
+class pyray.TraceLogLevel
+Trace log level.
-
LOG_ALL = 0
@@ -7623,21 +7183,21 @@ Base 0 means to interpret the base from the string as an integer literal.
-
-class pyray.Transform(translation: Vector3 | list | tuple | None = None, rotation: Vector4 | list | tuple | None = None, scale: Vector3 | list | tuple | None = None)
-struct
+class pyray.Transform(translation: Vector3 | list | tuple | None = None, rotation: Vector4 | list | tuple | None = None, scale: Vector3 | list | tuple | None = None)
+Transform, vertex transformation data.
@@ -7649,160 +7209,160 @@ Base 0 means to interpret the base from the string as an integer literal.
-
-class pyray.Vector2(x: float | None = None, y: float | None = None)
-struct
+class pyray.Vector2(x: float | None = None, y: float | None = None)
+Vector2, 2 components.
-
-class pyray.Vector3(x: float | None = None, y: float | None = None, z: float | None = None)
-struct
+class pyray.Vector3(x: float | None = None, y: float | None = None, z: float | None = None)
+Vector3, 3 components.
-
-class pyray.Vector4(x: float | None = None, y: float | None = None, z: float | None = None, w: float | None = None)
-struct
+class pyray.Vector4(x: float | None = None, y: float | None = None, z: float | None = None, w: float | None = None)
+Vector4, 4 components.
-
-class pyray.VrDeviceInfo(hResolution: int | None = None, vResolution: int | None = None, hScreenSize: float | None = None, vScreenSize: float | None = None, eyeToScreenDistance: float | None = None, lensSeparationDistance: float | None = None, interpupillaryDistance: float | None = None, lensDistortionValues: list | None = None, chromaAbCorrection: list | None = None)
-struct
+class pyray.VrDeviceInfo(hResolution: int | None = None, vResolution: int | None = None, hScreenSize: float | None = None, vScreenSize: float | None = None, eyeToScreenDistance: float | None = None, lensSeparationDistance: float | None = None, interpupillaryDistance: float | None = None, lensDistortionValues: list | None = None, chromaAbCorrection: list | None = None)
+VrDeviceInfo, Head-Mounted-Display device parameters.
-
-class pyray.VrStereoConfig(projection: list | None = None, viewOffset: list | None = None, leftLensCenter: list | None = None, rightLensCenter: list | None = None, leftScreenCenter: list | None = None, rightScreenCenter: list | None = None, scale: list | None = None, scaleIn: list | None = None)
-struct
+class pyray.VrStereoConfig(projection: list | None = None, viewOffset: list | None = None, leftLensCenter: list | None = None, rightLensCenter: list | None = None, leftScreenCenter: list | None = None, rightScreenCenter: list | None = None, scale: list | None = None, scaleIn: list | None = None)
+VrStereoConfig, VR stereo rendering configuration for simulator.
@@ -7814,31 +7374,31 @@ Base 0 means to interpret the base from the string as an integer literal.
-
-class pyray.Wave(frameCount: int | None = None, sampleRate: int | None = None, sampleSize: int | None = None, channels: int | None = None, data: Any | None = None)
-struct
+class pyray.Wave(frameCount: int | None = None, sampleRate: int | None = None, sampleSize: int | None = None, channels: int | None = None, data: Any | None = None)
+Wave, audio wave data.
@@ -8892,22 +8452,22 @@ Base 0 means to interpret the base from the string as an integer literal.
-
-class pyray.float16(v: list | None = None)
-struct
+class pyray.float16(v: list | None = None)
+.
-
-class pyray.float3(v: list | None = None)
-struct
+class pyray.float3(v: list | None = None)
+NOTE: Helper types to be used instead of array return types for *ToFloat functions.
@@ -11870,19 +11430,8 @@ Base 0 means to interpret the base from the string as an integer literal.
-
-class pyray.rlBlendMode
-int([x]) -> integer
-int(x, base=10) -> integer
-Convert a number or string to an integer, or return 0 if no arguments
-are given. If x is a number, return x.__int__(). For floating point
-numbers, this truncates towards zero.
-If x is not a number or if base is given, then x must be a string,
-bytes, or bytearray instance representing an integer literal in the
-given base. The literal can be preceded by ‘+’ or ‘-’ and be surrounded
-by whitespace. The base defaults to 10. Valid bases are 0 and 2-36.
-Base 0 means to interpret the base from the string as an integer literal.
->>> int(‘0b100’, base=0)
-4
+class pyray.rlBlendMode
+Color blending modes (pre-defined).
-
RL_BLEND_ADDITIVE = 1
@@ -11927,19 +11476,8 @@ Base 0 means to interpret the base from the string as an integer literal.
-
-class pyray.rlCullMode
-int([x]) -> integer
-int(x, base=10) -> integer
-Convert a number or string to an integer, or return 0 if no arguments
-are given. If x is a number, return x.__int__(). For floating point
-numbers, this truncates towards zero.
-If x is not a number or if base is given, then x must be a string,
-bytes, or bytearray instance representing an integer literal in the
-given base. The literal can be preceded by ‘+’ or ‘-’ and be surrounded
-by whitespace. The base defaults to 10. Valid bases are 0 and 2-36.
-Base 0 means to interpret the base from the string as an integer literal.
->>> int(‘0b100’, base=0)
-4
+class pyray.rlCullMode
+Face culling mode.
-
RL_CULL_FACE_BACK = 1
@@ -11954,45 +11492,34 @@ Base 0 means to interpret the base from the string as an integer literal.
-
-class pyray.rlDrawCall(mode: int | None = None, vertexCount: int | None = None, vertexAlignment: int | None = None, textureId: int | None = None)
-struct
+class pyray.rlDrawCall(mode: int | None = None, vertexCount: int | None = None, vertexAlignment: int | None = None, textureId: int | None = None)
+of those state-change happens (this is done in core module).
-
-class pyray.rlFramebufferAttachTextureType
-int([x]) -> integer
-int(x, base=10) -> integer
-Convert a number or string to an integer, or return 0 if no arguments
-are given. If x is a number, return x.__int__(). For floating point
-numbers, this truncates towards zero.
-If x is not a number or if base is given, then x must be a string,
-bytes, or bytearray instance representing an integer literal in the
-given base. The literal can be preceded by ‘+’ or ‘-’ and be surrounded
-by whitespace. The base defaults to 10. Valid bases are 0 and 2-36.
-Base 0 means to interpret the base from the string as an integer literal.
->>> int(‘0b100’, base=0)
-4
+class pyray.rlFramebufferAttachTextureType
+Framebuffer texture attachment type.
-
RL_ATTACHMENT_CUBEMAP_NEGATIVE_X = 1
@@ -12037,19 +11564,8 @@ Base 0 means to interpret the base from the string as an integer literal.
-
-class pyray.rlFramebufferAttachType
-int([x]) -> integer
-int(x, base=10) -> integer
-Convert a number or string to an integer, or return 0 if no arguments
-are given. If x is a number, return x.__int__(). For floating point
-numbers, this truncates towards zero.
-If x is not a number or if base is given, then x must be a string,
-bytes, or bytearray instance representing an integer literal in the
-given base. The literal can be preceded by ‘+’ or ‘-’ and be surrounded
-by whitespace. The base defaults to 10. Valid bases are 0 and 2-36.
-Base 0 means to interpret the base from the string as an integer literal.
->>> int(‘0b100’, base=0)
-4
+class pyray.rlFramebufferAttachType
+Framebuffer attachment type.
-
RL_ATTACHMENT_COLOR_CHANNEL0 = 0
@@ -12104,19 +11620,8 @@ Base 0 means to interpret the base from the string as an integer literal.
-
-class pyray.rlGlVersion
-int([x]) -> integer
-int(x, base=10) -> integer
-Convert a number or string to an integer, or return 0 if no arguments
-are given. If x is a number, return x.__int__(). For floating point
-numbers, this truncates towards zero.
-If x is not a number or if base is given, then x must be a string,
-bytes, or bytearray instance representing an integer literal in the
-given base. The literal can be preceded by ‘+’ or ‘-’ and be surrounded
-by whitespace. The base defaults to 10. Valid bases are 0 and 2-36.
-Base 0 means to interpret the base from the string as an integer literal.
->>> int(‘0b100’, base=0)
-4
+class pyray.rlGlVersion
+OpenGL version.
-
RL_OPENGL_11 = 1
@@ -12151,19 +11656,8 @@ Base 0 means to interpret the base from the string as an integer literal.
-
-class pyray.rlPixelFormat
-int([x]) -> integer
-int(x, base=10) -> integer
-Convert a number or string to an integer, or return 0 if no arguments
-are given. If x is a number, return x.__int__(). For floating point
-numbers, this truncates towards zero.
-If x is not a number or if base is given, then x must be a string,
-bytes, or bytearray instance representing an integer literal in the
-given base. The literal can be preceded by ‘+’ or ‘-’ and be surrounded
-by whitespace. The base defaults to 10. Valid bases are 0 and 2-36.
-Base 0 means to interpret the base from the string as an integer literal.
->>> int(‘0b100’, base=0)
-4
+class pyray.rlPixelFormat
+Texture pixel formats.
-
RL_PIXELFORMAT_COMPRESSED_ASTC_4x4_RGBA = 23
@@ -12288,55 +11782,44 @@ Base 0 means to interpret the base from the string as an integer literal.
-
-class pyray.rlRenderBatch(bufferCount: int | None = None, currentBuffer: int | None = None, vertexBuffer: Any | None = None, draws: Any | None = None, drawCounter: int | None = None, currentDepth: float | None = None)
-struct
+class pyray.rlRenderBatch(bufferCount: int | None = None, currentBuffer: int | None = None, vertexBuffer: Any | None = None, draws: Any | None = None, drawCounter: int | None = None, currentDepth: float | None = None)
+rlRenderBatch type.
-
-class pyray.rlShaderAttributeDataType
-int([x]) -> integer
-int(x, base=10) -> integer
-Convert a number or string to an integer, or return 0 if no arguments
-are given. If x is a number, return x.__int__(). For floating point
-numbers, this truncates towards zero.
-If x is not a number or if base is given, then x must be a string,
-bytes, or bytearray instance representing an integer literal in the
-given base. The literal can be preceded by ‘+’ or ‘-’ and be surrounded
-by whitespace. The base defaults to 10. Valid bases are 0 and 2-36.
-Base 0 means to interpret the base from the string as an integer literal.
->>> int(‘0b100’, base=0)
-4
+class pyray.rlShaderAttributeDataType
+Shader attribute data types.
-
RL_SHADER_ATTRIB_FLOAT = 0
@@ -12361,19 +11844,8 @@ Base 0 means to interpret the base from the string as an integer literal.
-
-class pyray.rlShaderLocationIndex
-int([x]) -> integer
-int(x, base=10) -> integer
-Convert a number or string to an integer, or return 0 if no arguments
-are given. If x is a number, return x.__int__(). For floating point
-numbers, this truncates towards zero.
-If x is not a number or if base is given, then x must be a string,
-bytes, or bytearray instance representing an integer literal in the
-given base. The literal can be preceded by ‘+’ or ‘-’ and be surrounded
-by whitespace. The base defaults to 10. Valid bases are 0 and 2-36.
-Base 0 means to interpret the base from the string as an integer literal.
->>> int(‘0b100’, base=0)
-4
+class pyray.rlShaderLocationIndex
+Shader location point type.
-
RL_SHADER_LOC_COLOR_AMBIENT = 14
@@ -12508,19 +11980,8 @@ Base 0 means to interpret the base from the string as an integer literal.
-
-class pyray.rlShaderUniformDataType
-int([x]) -> integer
-int(x, base=10) -> integer
-Convert a number or string to an integer, or return 0 if no arguments
-are given. If x is a number, return x.__int__(). For floating point
-numbers, this truncates towards zero.
-If x is not a number or if base is given, then x must be a string,
-bytes, or bytearray instance representing an integer literal in the
-given base. The literal can be preceded by ‘+’ or ‘-’ and be surrounded
-by whitespace. The base defaults to 10. Valid bases are 0 and 2-36.
-Base 0 means to interpret the base from the string as an integer literal.
->>> int(‘0b100’, base=0)
-4
+class pyray.rlShaderUniformDataType
+Shader uniform data type.
-
RL_SHADER_UNIFORM_FLOAT = 0
@@ -12590,19 +12051,8 @@ Base 0 means to interpret the base from the string as an integer literal.
-
-class pyray.rlTextureFilter
-int([x]) -> integer
-int(x, base=10) -> integer
-Convert a number or string to an integer, or return 0 if no arguments
-are given. If x is a number, return x.__int__(). For floating point
-numbers, this truncates towards zero.
-If x is not a number or if base is given, then x must be a string,
-bytes, or bytearray instance representing an integer literal in the
-given base. The literal can be preceded by ‘+’ or ‘-’ and be surrounded
-by whitespace. The base defaults to 10. Valid bases are 0 and 2-36.
-Base 0 means to interpret the base from the string as an integer literal.
->>> int(‘0b100’, base=0)
-4
+class pyray.rlTextureFilter
+Texture parameters: filter mode.
-
RL_TEXTURE_FILTER_ANISOTROPIC_16X = 5
@@ -12637,19 +12087,8 @@ Base 0 means to interpret the base from the string as an integer literal.
-
-class pyray.rlTraceLogLevel
-int([x]) -> integer
-int(x, base=10) -> integer
-Convert a number or string to an integer, or return 0 if no arguments
-are given. If x is a number, return x.__int__(). For floating point
-numbers, this truncates towards zero.
-If x is not a number or if base is given, then x must be a string,
-bytes, or bytearray instance representing an integer literal in the
-given base. The literal can be preceded by ‘+’ or ‘-’ and be surrounded
-by whitespace. The base defaults to 10. Valid bases are 0 and 2-36.
-Base 0 means to interpret the base from the string as an integer literal.
->>> int(‘0b100’, base=0)
-4
+class pyray.rlTraceLogLevel
+Trace log level.
-
RL_LOG_ALL = 0
@@ -12694,46 +12133,46 @@ Base 0 means to interpret the base from the string as an integer literal.
-
-class pyray.rlVertexBuffer(elementCount: int | None = None, vertices: Any | None = None, texcoords: Any | None = None, normals: Any | None = None, colors: str | None = None, indices: Any | None = None, vaoId: int | None = None, vboId: list | None = None)
-struct
+class pyray.rlVertexBuffer(elementCount: int | None = None, vertices: Any | None = None, texcoords: Any | None = None, normals: Any | None = None, colors: str | None = None, indices: Any | None = None, vaoId: int | None = None, vboId: list | None = None)
+Dynamic vertex buffers (position + texcoords + colors + indices arrays).
diff --git a/docs/raylib.html b/docs/raylib.html
index 4faea7a..d615592 100644
--- a/docs/raylib.html
+++ b/docs/raylib.html
@@ -7,7 +7,7 @@
C API — Raylib Python documentation
-
+
@@ -2451,7 +2451,7 @@
So the example programs
are very, very similar to the C originals.
Example program:
-from raylib import *
+from raylib import *
InitWindow(800, 450, b"Hello Raylib")
SetTargetFPS(60)
@@ -2471,7 +2471,7 @@ are very, very similar to the C originals.
If you want to be more portable (i.e. same code will work with dynamic bindings) you can prefix the functions like this:
-from raylib import ffi, rl, colors
+from raylib import ffi, rl, colors
rl.InitWindow(800, 450, b"Hello Raylib")
rl.SetTargetFPS(60)
@@ -2524,7 +2524,7 @@ are very, very similar to the C originals.
-
-class raylib.AudioStream
+class raylib.AudioStream
-
buffer: Any
@@ -2554,7 +2554,7 @@ are very, very similar to the C originals.
-
-class raylib.AutomationEvent
+class raylib.AutomationEvent