raylib-bindings 0.7.10 → 0.7.11
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.
- checksums.yaml +4 -4
- data/ChangeLog +20 -0
- data/README.md +3 -3
- data/lib/libraylib.aarch64.so +0 -0
- data/lib/libraylib.arm64.dylib +0 -0
- data/lib/libraylib.dll +0 -0
- data/lib/libraylib.x86_64.dylib +0 -0
- data/lib/libraylib.x86_64.so +0 -0
- data/lib/physac.aarch64.so +0 -0
- data/lib/physac.dll +0 -0
- data/lib/raygui.aarch64.so +0 -0
- data/lib/raygui.arm64.dylib +0 -0
- data/lib/raygui.dll +0 -0
- data/lib/raygui.x86_64.dylib +0 -0
- data/lib/raygui.x86_64.so +0 -0
- data/lib/raygui_main.rb +25 -12
- data/lib/raylib_main.rb +13 -13
- data/lib/rlgl.rb +77 -73
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2b6dff0d26101360b5d2b4b03f6023d078c781116e2b479ff9598d8fd87d46fe
|
4
|
+
data.tar.gz: 363a1dce5c1bfc58842e1fdd42fe0aadd8b1aa925e388978beca9b71d5de85f9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c661e4eae9a2d7555edb09cd06ea9b3c985d9ffaeeed4c9dccfe31732b10b0f7c9fa89e83dde8c8d21c3f38b1f66951f7e6daf554a75cb5bea6579373af5fb88
|
7
|
+
data.tar.gz: '09a4c9bc6e93cbf156a7bb693405b2bdd605e0ebd26c7ae9664218547639ca9f3b3741f08b186e33324a61328edb73d9af6c56d8e5bec73522e90b04da1d10df'
|
data/ChangeLog
CHANGED
@@ -1,3 +1,23 @@
|
|
1
|
+
2025-03-29 vaiorabbit <http://twitter.com/vaiorabbit>
|
2
|
+
|
3
|
+
* Updated with latest raylib ( https://github.com/raysan5/raylib/commit/9a049d1d27e3fe92c2591bc190b7f497b5f0283e) and raygui ( https://github.com/raysan5/raygui/commit/ea928f56091078aad9af847a1607c22f06c5992f )
|
4
|
+
|
5
|
+
2025-02-23 vaiorabbit <http://twitter.com/vaiorabbit>
|
6
|
+
|
7
|
+
* Updated with latest raylib ( https://github.com/raysan5/raylib/commit/99d2119dd6795205352cab41ca1ed7efd5d35c4e) and raygui ( https://github.com/raysan5/raygui/commit/e4a59f0afa6a379007a74b0c565c2787525eda36 )
|
8
|
+
|
9
|
+
2025-02-02 vaiorabbit <http://twitter.com/vaiorabbit>
|
10
|
+
|
11
|
+
* Updated with latest raylib ( https://github.com/raysan5/raylib/commit/4f5a20a634918ca0fff893ad0ac586a515186c81) and raygui ( https://github.com/raysan5/raygui/commit/d36080ea7025b189374e85205bde5c8558b6561f )
|
12
|
+
|
13
|
+
2025-01-18 vaiorabbit <http://twitter.com/vaiorabbit>
|
14
|
+
|
15
|
+
* Updated with latest raylib ( https://github.com/raysan5/raylib/commit/0275d13aa84f8a464b5246abbef9205b94c73c5e) and raygui ( https://github.com/raysan5/raygui/commit/76b36b597edb70ffaf96f046076adc20d67e7827 )
|
16
|
+
|
17
|
+
2025-01-11 vaiorabbit <http://twitter.com/vaiorabbit>
|
18
|
+
|
19
|
+
* Updated with latest raylib ( https://github.com/raysan5/raylib/commit/62d8969a56909a4721114860cbe1350b5dcb20eb )
|
20
|
+
|
1
21
|
2025-01-01 vaiorabbit <http://twitter.com/vaiorabbit>
|
2
22
|
|
3
23
|
* Updated with latest raylib ( https://github.com/raysan5/raylib/commit/fa0eada61a1131a7413df9139ead6d018b169f22) and raygui ( https://github.com/raysan5/raygui/commit/1f813711063f0ff01bd3a89d50ebc17c5412e83c )
|
data/README.md
CHANGED
@@ -3,15 +3,15 @@
|
|
3
3
|
# Yet another raylib wrapper for Ruby #
|
4
4
|
|
5
5
|
* Created : 2021-10-17
|
6
|
-
* Last modified : 2025-
|
6
|
+
* Last modified : 2025-03-29
|
7
7
|
|
8
8
|
Provides Ruby bindings for raylib-related libraries including:
|
9
9
|
|
10
|
-
* [raylib](https://github.com/raysan5/raylib) version [5.6-dev]( https://github.com/raysan5/raylib/commit/
|
10
|
+
* [raylib](https://github.com/raysan5/raylib) version [5.6-dev]( https://github.com/raysan5/raylib/commit/9a049d1d27e3fe92c2591bc190b7f497b5f0283e )
|
11
11
|
* raylib
|
12
12
|
* raymath
|
13
13
|
* rlgl
|
14
|
-
* [raygui](https://github.com/raysan5/raygui) version [
|
14
|
+
* [raygui](https://github.com/raysan5/raygui) version [5.0-dev]( https://github.com/raysan5/raygui/commit/ea928f56091078aad9af847a1607c22f06c5992f )
|
15
15
|
* [Physac](https://github.com/raysan5/physac) version [1.1]( https://github.com/raysan5/physac/commit/4a8e17f263fb8e1150b3fbafc96f880c7d7a4833 )
|
16
16
|
|
17
17
|
<img src="https://raw.githubusercontent.com/vaiorabbit/raylib-bindings/main/doc/bitmap_font_rb.png" width="125"> <img src="https://raw.githubusercontent.com/vaiorabbit/raylib-bindings/main/doc/game_of_life_simple_rb.png" width="125"> <img src="https://raw.githubusercontent.com/vaiorabbit/raylib-bindings/main/doc/lissajous_curve_rb.png" width="125"> <img src="https://raw.githubusercontent.com/vaiorabbit/raylib-bindings/main/doc/procedural_texture_rb.png" width="125"> <img src="https://raw.githubusercontent.com/vaiorabbit/raylib-bindings/main/doc/reversi_board_rb.png" width="125"> <img src="https://raw.githubusercontent.com/vaiorabbit/raylib-bindings/main/doc/utf8_font_rb.png" width="125">
|
data/lib/libraylib.aarch64.so
CHANGED
Binary file
|
data/lib/libraylib.arm64.dylib
CHANGED
Binary file
|
data/lib/libraylib.dll
CHANGED
Binary file
|
data/lib/libraylib.x86_64.dylib
CHANGED
Binary file
|
data/lib/libraylib.x86_64.so
CHANGED
Binary file
|
data/lib/physac.aarch64.so
CHANGED
Binary file
|
data/lib/physac.dll
CHANGED
Binary file
|
data/lib/raygui.aarch64.so
CHANGED
Binary file
|
data/lib/raygui.arm64.dylib
CHANGED
Binary file
|
data/lib/raygui.dll
CHANGED
Binary file
|
data/lib/raygui.x86_64.dylib
CHANGED
Binary file
|
data/lib/raygui.x86_64.so
CHANGED
Binary file
|
data/lib/raygui_main.rb
CHANGED
@@ -14,7 +14,7 @@ module Raylib
|
|
14
14
|
RAYGUI_VERSION_MAJOR = 4
|
15
15
|
RAYGUI_VERSION_MINOR = 5
|
16
16
|
RAYGUI_VERSION_PATCH = 0
|
17
|
-
RAYGUI_VERSION = "
|
17
|
+
RAYGUI_VERSION = "5.0-dev"
|
18
18
|
SCROLLBAR_LEFT_SIDE = 0
|
19
19
|
SCROLLBAR_RIGHT_SIDE = 1
|
20
20
|
|
@@ -58,7 +58,7 @@ module Raylib
|
|
58
58
|
DROPDOWNBOX = 8
|
59
59
|
TEXTBOX = 9 # Used also for: TEXTBOXMULTI
|
60
60
|
VALUEBOX = 10
|
61
|
-
|
61
|
+
CONTROL11 = 11
|
62
62
|
LISTVIEW = 12
|
63
63
|
COLORPICKER = 13
|
64
64
|
SCROLLBAR = 14
|
@@ -134,18 +134,19 @@ module Raylib
|
|
134
134
|
# TextBox/TextBoxMulti/ValueBox/Spinner
|
135
135
|
TEXT_READONLY = 16 # TextBox in read-only mode: 0-text editable, 1-text no-editable
|
136
136
|
|
137
|
-
# enum
|
138
|
-
# Spinner
|
139
|
-
|
140
|
-
|
137
|
+
# enum GuiValueBoxProperty
|
138
|
+
# ValueBox/Spinner
|
139
|
+
SPINNER_BUTTON_WIDTH = 16 # Spinner left/right buttons width
|
140
|
+
SPINNER_BUTTON_SPACING = 17 # Spinner buttons separation
|
141
141
|
|
142
142
|
# enum GuiListViewProperty
|
143
143
|
# ListView
|
144
|
-
LIST_ITEMS_HEIGHT = 16
|
145
|
-
LIST_ITEMS_SPACING = 17
|
146
|
-
SCROLLBAR_WIDTH = 18
|
147
|
-
SCROLLBAR_SIDE = 19
|
148
|
-
|
144
|
+
LIST_ITEMS_HEIGHT = 16 # ListView items height
|
145
|
+
LIST_ITEMS_SPACING = 17 # ListView items separation
|
146
|
+
SCROLLBAR_WIDTH = 18 # ListView scrollbar size (usually width)
|
147
|
+
SCROLLBAR_SIDE = 19 # ListView scrollbar side (0-SCROLLBAR_LEFT_SIDE, 1-SCROLLBAR_RIGHT_SIDE)
|
148
|
+
LIST_ITEMS_BORDER_NORMAL = 20 # ListView items border enabled in normal state
|
149
|
+
LIST_ITEMS_BORDER_WIDTH = 21 # ListView items border width
|
149
150
|
|
150
151
|
# enum GuiColorPickerProperty
|
151
152
|
# ColorPicker
|
@@ -432,7 +433,7 @@ module Raylib
|
|
432
433
|
typedef :int, :GuiComboBoxProperty
|
433
434
|
typedef :int, :GuiDropdownBoxProperty
|
434
435
|
typedef :int, :GuiTextBoxProperty
|
435
|
-
typedef :int, :
|
436
|
+
typedef :int, :GuiValueBoxProperty
|
436
437
|
typedef :int, :GuiListViewProperty
|
437
438
|
typedef :int, :GuiColorPickerProperty
|
438
439
|
typedef :int, :GuiIconName
|
@@ -759,6 +760,18 @@ module Raylib
|
|
759
760
|
# @return [int]
|
760
761
|
[:GuiSlider, :GuiSlider, [Rectangle.by_value, :pointer, :pointer, :pointer, :float, :float], :int],
|
761
762
|
|
763
|
+
# @!method GuiSliderPro(bounds, textLeft, textRight, value, minValue, maxValue, sliderWidth)
|
764
|
+
# GuiSliderPro : Slider control with extended parameters
|
765
|
+
# @param bounds [Rectangle]
|
766
|
+
# @param textLeft [const char *]
|
767
|
+
# @param textRight [const char *]
|
768
|
+
# @param value [float *]
|
769
|
+
# @param minValue [float]
|
770
|
+
# @param maxValue [float]
|
771
|
+
# @param sliderWidth [int]
|
772
|
+
# @return [int]
|
773
|
+
[:GuiSliderPro, :GuiSliderPro, [Rectangle.by_value, :pointer, :pointer, :pointer, :float, :float, :int], :int],
|
774
|
+
|
762
775
|
# @!method GuiSliderBar(bounds, textLeft, textRight, value, minValue, maxValue)
|
763
776
|
# GuiSliderBar : Slider Bar control
|
764
777
|
# @param bounds [Rectangle]
|
data/lib/raylib_main.rb
CHANGED
@@ -410,7 +410,7 @@ module Raylib
|
|
410
410
|
typedef :int, :CameraMode
|
411
411
|
typedef :int, :CameraProjection
|
412
412
|
typedef :int, :NPatchLayout
|
413
|
-
callback :TraceLogCallback, [:int, :pointer, :
|
413
|
+
callback :TraceLogCallback, [:int, :pointer, :pointer], :void
|
414
414
|
callback :LoadFileDataCallback, [:pointer, :pointer], :pointer
|
415
415
|
callback :SaveFileDataCallback, [:pointer, :pointer, :int], :bool
|
416
416
|
callback :LoadFileTextCallback, [:pointer], :pointer
|
@@ -1231,7 +1231,7 @@ module Raylib
|
|
1231
1231
|
[:MinimizeWindow, :MinimizeWindow, [], :void],
|
1232
1232
|
|
1233
1233
|
# @!method RestoreWindow()
|
1234
|
-
# RestoreWindow :
|
1234
|
+
# RestoreWindow : Restore window from being minimized/maximized
|
1235
1235
|
# @return [void]
|
1236
1236
|
[:RestoreWindow, :RestoreWindow, [], :void],
|
1237
1237
|
|
@@ -1612,7 +1612,7 @@ module Raylib
|
|
1612
1612
|
[:SetShaderValueMatrix, :SetShaderValueMatrix, [Shader.by_value, :int, Matrix.by_value], :void],
|
1613
1613
|
|
1614
1614
|
# @!method SetShaderValueTexture(shader, locIndex, texture)
|
1615
|
-
# SetShaderValueTexture : Set shader uniform value
|
1615
|
+
# SetShaderValueTexture : Set shader uniform value and bind the texture (sampler2d)
|
1616
1616
|
# @param shader [Shader]
|
1617
1617
|
# @param locIndex [int]
|
1618
1618
|
# @param texture [Texture2D]
|
@@ -4201,10 +4201,10 @@ module Raylib
|
|
4201
4201
|
|
4202
4202
|
# @!method TextJoin(textList, count, delimiter)
|
4203
4203
|
# TextJoin : Join text strings with delimiter
|
4204
|
-
# @param textList [
|
4204
|
+
# @param textList [char **]
|
4205
4205
|
# @param count [int]
|
4206
4206
|
# @param delimiter [const char *]
|
4207
|
-
# @return [
|
4207
|
+
# @return [char *]
|
4208
4208
|
[:TextJoin, :TextJoin, [:pointer, :int, :pointer], :pointer],
|
4209
4209
|
|
4210
4210
|
# @!method TextSplit(text, delimiter, count)
|
@@ -4212,7 +4212,7 @@ module Raylib
|
|
4212
4212
|
# @param text [const char *]
|
4213
4213
|
# @param delimiter [char]
|
4214
4214
|
# @param count [int *]
|
4215
|
-
# @return [
|
4215
|
+
# @return [char **]
|
4216
4216
|
[:TextSplit, :TextSplit, [:pointer, :char, :pointer], :pointer],
|
4217
4217
|
|
4218
4218
|
# @!method TextAppend(text, append, position)
|
@@ -4233,31 +4233,31 @@ module Raylib
|
|
4233
4233
|
# @!method TextToUpper(text)
|
4234
4234
|
# TextToUpper : Get upper case version of provided string
|
4235
4235
|
# @param text [const char *]
|
4236
|
-
# @return [
|
4236
|
+
# @return [char *]
|
4237
4237
|
[:TextToUpper, :TextToUpper, [:pointer], :pointer],
|
4238
4238
|
|
4239
4239
|
# @!method TextToLower(text)
|
4240
4240
|
# TextToLower : Get lower case version of provided string
|
4241
4241
|
# @param text [const char *]
|
4242
|
-
# @return [
|
4242
|
+
# @return [char *]
|
4243
4243
|
[:TextToLower, :TextToLower, [:pointer], :pointer],
|
4244
4244
|
|
4245
4245
|
# @!method TextToPascal(text)
|
4246
4246
|
# TextToPascal : Get Pascal case notation version of provided string
|
4247
4247
|
# @param text [const char *]
|
4248
|
-
# @return [
|
4248
|
+
# @return [char *]
|
4249
4249
|
[:TextToPascal, :TextToPascal, [:pointer], :pointer],
|
4250
4250
|
|
4251
4251
|
# @!method TextToSnake(text)
|
4252
4252
|
# TextToSnake : Get Snake case notation version of provided string
|
4253
4253
|
# @param text [const char *]
|
4254
|
-
# @return [
|
4254
|
+
# @return [char *]
|
4255
4255
|
[:TextToSnake, :TextToSnake, [:pointer], :pointer],
|
4256
4256
|
|
4257
4257
|
# @!method TextToCamel(text)
|
4258
4258
|
# TextToCamel : Get Camel case notation version of provided string
|
4259
4259
|
# @param text [const char *]
|
4260
|
-
# @return [
|
4260
|
+
# @return [char *]
|
4261
4261
|
[:TextToCamel, :TextToCamel, [:pointer], :pointer],
|
4262
4262
|
|
4263
4263
|
# @!method TextToInteger(text)
|
@@ -5298,7 +5298,7 @@ module Raylib
|
|
5298
5298
|
[:SetAudioStreamCallback, :SetAudioStreamCallback, [AudioStream.by_value, :AudioCallback], :void],
|
5299
5299
|
|
5300
5300
|
# @!method AttachAudioStreamProcessor(stream, processor)
|
5301
|
-
# AttachAudioStreamProcessor : Attach audio stream processor to stream, receives
|
5301
|
+
# AttachAudioStreamProcessor : Attach audio stream processor to stream, receives frames x 2 samples as 'float' (stereo)
|
5302
5302
|
# @param stream [AudioStream]
|
5303
5303
|
# @param processor [AudioCallback]
|
5304
5304
|
# @return [void]
|
@@ -5312,7 +5312,7 @@ module Raylib
|
|
5312
5312
|
[:DetachAudioStreamProcessor, :DetachAudioStreamProcessor, [AudioStream.by_value, :AudioCallback], :void],
|
5313
5313
|
|
5314
5314
|
# @!method AttachAudioMixedProcessor(processor)
|
5315
|
-
# AttachAudioMixedProcessor : Attach audio stream processor to the entire audio pipeline, receives
|
5315
|
+
# AttachAudioMixedProcessor : Attach audio stream processor to the entire audio pipeline, receives frames x 2 samples as 'float' (stereo)
|
5316
5316
|
# @param processor [AudioCallback]
|
5317
5317
|
# @return [void]
|
5318
5318
|
[:AttachAudioMixedProcessor, :AttachAudioMixedProcessor, [:AudioCallback], :void],
|
data/lib/rlgl.rb
CHANGED
@@ -13,73 +13,72 @@ module Raylib
|
|
13
13
|
|
14
14
|
RLGL_VERSION = "5.0"
|
15
15
|
RL_DEFAULT_BATCH_BUFFER_ELEMENTS = 8192
|
16
|
-
RL_TEXTURE_WRAP_S = 0x2802
|
17
|
-
RL_TEXTURE_WRAP_T = 0x2803
|
18
|
-
RL_TEXTURE_MAG_FILTER = 0x2800
|
19
|
-
RL_TEXTURE_MIN_FILTER = 0x2801
|
20
|
-
RL_TEXTURE_FILTER_NEAREST = 0x2600
|
21
|
-
RL_TEXTURE_FILTER_LINEAR = 0x2601
|
22
|
-
RL_TEXTURE_FILTER_MIP_NEAREST = 0x2700
|
23
|
-
RL_TEXTURE_FILTER_NEAREST_MIP_LINEAR = 0x2702
|
24
|
-
RL_TEXTURE_FILTER_LINEAR_MIP_NEAREST = 0x2701
|
25
|
-
RL_TEXTURE_FILTER_MIP_LINEAR = 0x2703
|
26
|
-
RL_TEXTURE_FILTER_ANISOTROPIC = 0x3000
|
27
|
-
RL_TEXTURE_MIPMAP_BIAS_RATIO = 0x4000
|
28
|
-
RL_TEXTURE_WRAP_REPEAT = 0x2901
|
29
|
-
RL_TEXTURE_WRAP_CLAMP = 0x812F
|
30
|
-
RL_TEXTURE_WRAP_MIRROR_REPEAT = 0x8370
|
31
|
-
RL_TEXTURE_WRAP_MIRROR_CLAMP = 0x8742
|
32
|
-
RL_MODELVIEW = 0x1700
|
33
|
-
RL_PROJECTION = 0x1701
|
34
|
-
RL_TEXTURE = 0x1702
|
35
|
-
RL_LINES = 0x0001
|
36
|
-
RL_TRIANGLES = 0x0004
|
37
|
-
RL_QUADS = 0x0007
|
38
|
-
RL_UNSIGNED_BYTE = 0x1401
|
39
|
-
RL_FLOAT = 0x1406
|
40
|
-
RL_STREAM_DRAW = 0x88E0
|
41
|
-
RL_STREAM_READ = 0x88E1
|
42
|
-
RL_STREAM_COPY = 0x88E2
|
43
|
-
RL_STATIC_DRAW = 0x88E4
|
44
|
-
RL_STATIC_READ = 0x88E5
|
45
|
-
RL_STATIC_COPY = 0x88E6
|
46
|
-
RL_DYNAMIC_DRAW = 0x88E8
|
47
|
-
RL_DYNAMIC_READ = 0x88E9
|
48
|
-
RL_DYNAMIC_COPY = 0x88EA
|
49
|
-
RL_FRAGMENT_SHADER = 0x8B30
|
50
|
-
RL_VERTEX_SHADER = 0x8B31
|
51
|
-
RL_COMPUTE_SHADER = 0x91B9
|
52
|
-
RL_ZERO = 0
|
53
|
-
RL_ONE = 1
|
54
|
-
RL_SRC_COLOR = 0x0300
|
55
|
-
RL_ONE_MINUS_SRC_COLOR = 0x0301
|
56
|
-
RL_SRC_ALPHA = 0x0302
|
57
|
-
RL_ONE_MINUS_SRC_ALPHA = 0x0303
|
58
|
-
RL_DST_ALPHA = 0x0304
|
59
|
-
RL_ONE_MINUS_DST_ALPHA = 0x0305
|
60
|
-
RL_DST_COLOR = 0x0306
|
61
|
-
RL_ONE_MINUS_DST_COLOR = 0x0307
|
62
|
-
RL_SRC_ALPHA_SATURATE = 0x0308
|
63
|
-
RL_CONSTANT_COLOR = 0x8001
|
64
|
-
RL_ONE_MINUS_CONSTANT_COLOR = 0x8002
|
65
|
-
RL_CONSTANT_ALPHA = 0x8003
|
66
|
-
RL_ONE_MINUS_CONSTANT_ALPHA = 0x8004
|
67
|
-
RL_FUNC_ADD = 0x8006
|
68
|
-
RL_MIN = 0x8007
|
69
|
-
RL_MAX = 0x8008
|
70
|
-
RL_FUNC_SUBTRACT = 0x800A
|
71
|
-
RL_FUNC_REVERSE_SUBTRACT = 0x800B
|
72
|
-
RL_BLEND_EQUATION = 0x8009
|
73
|
-
RL_BLEND_EQUATION_RGB = 0x8009
|
74
|
-
RL_BLEND_EQUATION_ALPHA = 0x883D
|
75
|
-
RL_BLEND_DST_RGB = 0x80C8
|
76
|
-
RL_BLEND_SRC_RGB = 0x80C9
|
77
|
-
RL_BLEND_DST_ALPHA = 0x80CA
|
78
|
-
RL_BLEND_SRC_ALPHA = 0x80CB
|
79
|
-
RL_BLEND_COLOR = 0x8005
|
80
|
-
RL_READ_FRAMEBUFFER = 0x8CA8
|
81
|
-
RL_DRAW_FRAMEBUFFER = 0x8CA9
|
82
|
-
RL_DEFAULT_SHADER_ATTRIB_LOCATION_INSTANCE_TX = 9
|
16
|
+
RL_TEXTURE_WRAP_S = 0x2802 # GL_TEXTURE_WRAP_S
|
17
|
+
RL_TEXTURE_WRAP_T = 0x2803 # GL_TEXTURE_WRAP_T
|
18
|
+
RL_TEXTURE_MAG_FILTER = 0x2800 # GL_TEXTURE_MAG_FILTER
|
19
|
+
RL_TEXTURE_MIN_FILTER = 0x2801 # GL_TEXTURE_MIN_FILTER
|
20
|
+
RL_TEXTURE_FILTER_NEAREST = 0x2600 # GL_NEAREST
|
21
|
+
RL_TEXTURE_FILTER_LINEAR = 0x2601 # GL_LINEAR
|
22
|
+
RL_TEXTURE_FILTER_MIP_NEAREST = 0x2700 # GL_NEAREST_MIPMAP_NEAREST
|
23
|
+
RL_TEXTURE_FILTER_NEAREST_MIP_LINEAR = 0x2702 # GL_NEAREST_MIPMAP_LINEAR
|
24
|
+
RL_TEXTURE_FILTER_LINEAR_MIP_NEAREST = 0x2701 # GL_LINEAR_MIPMAP_NEAREST
|
25
|
+
RL_TEXTURE_FILTER_MIP_LINEAR = 0x2703 # GL_LINEAR_MIPMAP_LINEAR
|
26
|
+
RL_TEXTURE_FILTER_ANISOTROPIC = 0x3000 # Anisotropic filter (custom identifier)
|
27
|
+
RL_TEXTURE_MIPMAP_BIAS_RATIO = 0x4000 # Texture mipmap bias, percentage ratio (custom identifier)
|
28
|
+
RL_TEXTURE_WRAP_REPEAT = 0x2901 # GL_REPEAT
|
29
|
+
RL_TEXTURE_WRAP_CLAMP = 0x812F # GL_CLAMP_TO_EDGE
|
30
|
+
RL_TEXTURE_WRAP_MIRROR_REPEAT = 0x8370 # GL_MIRRORED_REPEAT
|
31
|
+
RL_TEXTURE_WRAP_MIRROR_CLAMP = 0x8742 # GL_MIRROR_CLAMP_EXT
|
32
|
+
RL_MODELVIEW = 0x1700 # GL_MODELVIEW
|
33
|
+
RL_PROJECTION = 0x1701 # GL_PROJECTION
|
34
|
+
RL_TEXTURE = 0x1702 # GL_TEXTURE
|
35
|
+
RL_LINES = 0x0001 # GL_LINES
|
36
|
+
RL_TRIANGLES = 0x0004 # GL_TRIANGLES
|
37
|
+
RL_QUADS = 0x0007 # GL_QUADS
|
38
|
+
RL_UNSIGNED_BYTE = 0x1401 # GL_UNSIGNED_BYTE
|
39
|
+
RL_FLOAT = 0x1406 # GL_FLOAT
|
40
|
+
RL_STREAM_DRAW = 0x88E0 # GL_STREAM_DRAW
|
41
|
+
RL_STREAM_READ = 0x88E1 # GL_STREAM_READ
|
42
|
+
RL_STREAM_COPY = 0x88E2 # GL_STREAM_COPY
|
43
|
+
RL_STATIC_DRAW = 0x88E4 # GL_STATIC_DRAW
|
44
|
+
RL_STATIC_READ = 0x88E5 # GL_STATIC_READ
|
45
|
+
RL_STATIC_COPY = 0x88E6 # GL_STATIC_COPY
|
46
|
+
RL_DYNAMIC_DRAW = 0x88E8 # GL_DYNAMIC_DRAW
|
47
|
+
RL_DYNAMIC_READ = 0x88E9 # GL_DYNAMIC_READ
|
48
|
+
RL_DYNAMIC_COPY = 0x88EA # GL_DYNAMIC_COPY
|
49
|
+
RL_FRAGMENT_SHADER = 0x8B30 # GL_FRAGMENT_SHADER
|
50
|
+
RL_VERTEX_SHADER = 0x8B31 # GL_VERTEX_SHADER
|
51
|
+
RL_COMPUTE_SHADER = 0x91B9 # GL_COMPUTE_SHADER
|
52
|
+
RL_ZERO = 0 # GL_ZERO
|
53
|
+
RL_ONE = 1 # GL_ONE
|
54
|
+
RL_SRC_COLOR = 0x0300 # GL_SRC_COLOR
|
55
|
+
RL_ONE_MINUS_SRC_COLOR = 0x0301 # GL_ONE_MINUS_SRC_COLOR
|
56
|
+
RL_SRC_ALPHA = 0x0302 # GL_SRC_ALPHA
|
57
|
+
RL_ONE_MINUS_SRC_ALPHA = 0x0303 # GL_ONE_MINUS_SRC_ALPHA
|
58
|
+
RL_DST_ALPHA = 0x0304 # GL_DST_ALPHA
|
59
|
+
RL_ONE_MINUS_DST_ALPHA = 0x0305 # GL_ONE_MINUS_DST_ALPHA
|
60
|
+
RL_DST_COLOR = 0x0306 # GL_DST_COLOR
|
61
|
+
RL_ONE_MINUS_DST_COLOR = 0x0307 # GL_ONE_MINUS_DST_COLOR
|
62
|
+
RL_SRC_ALPHA_SATURATE = 0x0308 # GL_SRC_ALPHA_SATURATE
|
63
|
+
RL_CONSTANT_COLOR = 0x8001 # GL_CONSTANT_COLOR
|
64
|
+
RL_ONE_MINUS_CONSTANT_COLOR = 0x8002 # GL_ONE_MINUS_CONSTANT_COLOR
|
65
|
+
RL_CONSTANT_ALPHA = 0x8003 # GL_CONSTANT_ALPHA
|
66
|
+
RL_ONE_MINUS_CONSTANT_ALPHA = 0x8004 # GL_ONE_MINUS_CONSTANT_ALPHA
|
67
|
+
RL_FUNC_ADD = 0x8006 # GL_FUNC_ADD
|
68
|
+
RL_MIN = 0x8007 # GL_MIN
|
69
|
+
RL_MAX = 0x8008 # GL_MAX
|
70
|
+
RL_FUNC_SUBTRACT = 0x800A # GL_FUNC_SUBTRACT
|
71
|
+
RL_FUNC_REVERSE_SUBTRACT = 0x800B # GL_FUNC_REVERSE_SUBTRACT
|
72
|
+
RL_BLEND_EQUATION = 0x8009 # GL_BLEND_EQUATION
|
73
|
+
RL_BLEND_EQUATION_RGB = 0x8009 # GL_BLEND_EQUATION_RGB // (Same as BLEND_EQUATION)
|
74
|
+
RL_BLEND_EQUATION_ALPHA = 0x883D # GL_BLEND_EQUATION_ALPHA
|
75
|
+
RL_BLEND_DST_RGB = 0x80C8 # GL_BLEND_DST_RGB
|
76
|
+
RL_BLEND_SRC_RGB = 0x80C9 # GL_BLEND_SRC_RGB
|
77
|
+
RL_BLEND_DST_ALPHA = 0x80CA # GL_BLEND_DST_ALPHA
|
78
|
+
RL_BLEND_SRC_ALPHA = 0x80CB # GL_BLEND_SRC_ALPHA
|
79
|
+
RL_BLEND_COLOR = 0x8005 # GL_BLEND_COLOR
|
80
|
+
RL_READ_FRAMEBUFFER = 0x8CA8 # GL_READ_FRAMEBUFFER
|
81
|
+
RL_DRAW_FRAMEBUFFER = 0x8CA9 # GL_DRAW_FRAMEBUFFER
|
83
82
|
|
84
83
|
# Enum
|
85
84
|
|
@@ -717,18 +716,23 @@ module Raylib
|
|
717
716
|
# @return [void]
|
718
717
|
[:rlScissor, :rlScissor, [:int, :int, :int, :int], :void],
|
719
718
|
|
720
|
-
# @!method rlEnableWireMode()
|
721
|
-
# rlEnableWireMode : Enable wire mode
|
722
|
-
# @return [void]
|
723
|
-
[:rlEnableWireMode, :rlEnableWireMode, [], :void],
|
724
|
-
|
725
719
|
# @!method rlEnablePointMode()
|
726
720
|
# rlEnablePointMode : Enable point mode
|
727
721
|
# @return [void]
|
728
722
|
[:rlEnablePointMode, :rlEnablePointMode, [], :void],
|
729
723
|
|
724
|
+
# @!method rlDisablePointMode()
|
725
|
+
# rlDisablePointMode : Disable point mode
|
726
|
+
# @return [void]
|
727
|
+
[:rlDisablePointMode, :rlDisablePointMode, [], :void],
|
728
|
+
|
729
|
+
# @!method rlEnableWireMode()
|
730
|
+
# rlEnableWireMode : Enable wire mode
|
731
|
+
# @return [void]
|
732
|
+
[:rlEnableWireMode, :rlEnableWireMode, [], :void],
|
733
|
+
|
730
734
|
# @!method rlDisableWireMode()
|
731
|
-
# rlDisableWireMode : Disable wire
|
735
|
+
# rlDisableWireMode : Disable wire mode
|
732
736
|
# @return [void]
|
733
737
|
[:rlDisableWireMode, :rlDisableWireMode, [], :void],
|
734
738
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: raylib-bindings
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- vaiorabbit
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-
|
10
|
+
date: 2025-03-29 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: ffi
|
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
requirements: []
|
84
|
-
rubygems_version: 3.6.
|
84
|
+
rubygems_version: 3.6.5
|
85
85
|
specification_version: 4
|
86
86
|
summary: Ruby bindings for raylib, raygui and Physac
|
87
87
|
test_files: []
|