raylib-bindings 0.5.8pre1-x86_64-darwin → 0.6.0-x86_64-darwin

Sign up to get free protection for your applications and to get access to all the features.
data/lib/config.rb CHANGED
@@ -1,103 +1,103 @@
1
- # Yet another raylib wrapper for Ruby
2
- #
3
- # * https://github.com/vaiorabbit/raylib-bindings
4
- #
5
- # [NOTICE] Autogenerated. Do not edit.
6
-
7
- require 'ffi'
8
-
9
- module Raylib
10
- extend FFI::Library
11
-
12
- # Define/Macro
13
-
14
- SUPPORT_MODULE_RSHAPES = 1
15
- SUPPORT_MODULE_RTEXTURES = 1
16
- SUPPORT_MODULE_RTEXT = 1 # WARNING: It requires SUPPORT_MODULE_RTEXTURES to load sprite font textures
17
- SUPPORT_MODULE_RMODELS = 1
18
- SUPPORT_MODULE_RAUDIO = 1
19
- SUPPORT_CAMERA_SYSTEM = 1
20
- SUPPORT_GESTURES_SYSTEM = 1
21
- SUPPORT_RPRAND_GENERATOR = 1
22
- SUPPORT_MOUSE_GESTURES = 1
23
- SUPPORT_SSH_KEYBOARD_RPI = 1
24
- SUPPORT_WINMM_HIGHRES_TIMER = 1
25
- SUPPORT_PARTIALBUSY_WAIT_LOOP = 1
26
- SUPPORT_SCREEN_CAPTURE = 1
27
- SUPPORT_GIF_RECORDING = 1
28
- SUPPORT_COMPRESSION_API = 1
29
- SUPPORT_AUTOMATION_EVENTS = 1
30
- MAX_FILEPATH_CAPACITY = 8192 # Maximum file paths capacity
31
- MAX_FILEPATH_LENGTH = 4096 # Maximum length for filepaths (Linux PATH_MAX default value)
32
- MAX_KEYBOARD_KEYS = 512 # Maximum number of keyboard keys supported
33
- MAX_MOUSE_BUTTONS = 8 # Maximum number of mouse buttons supported
34
- MAX_GAMEPADS = 4 # Maximum number of gamepads supported
35
- MAX_GAMEPAD_AXIS = 8 # Maximum number of axis supported (per gamepad)
36
- MAX_GAMEPAD_BUTTONS = 32 # Maximum number of buttons supported (per gamepad)
37
- MAX_TOUCH_POINTS = 8 # Maximum number of touch points supported
38
- MAX_KEY_PRESSED_QUEUE = 16 # Maximum number of keys in the key input queue
39
- MAX_CHAR_PRESSED_QUEUE = 16 # Maximum number of characters in the char input queue
40
- MAX_DECOMPRESSION_SIZE = 64 # Max size allocated for decompression in MB
41
- MAX_AUTOMATION_EVENTS = 16384 # Maximum number of automation events to record
42
- RL_DEFAULT_BATCH_BUFFERS = 1 # Default number of batch buffers (multi-buffering)
43
- RL_DEFAULT_BATCH_DRAWCALLS = 256 # Default number of batch draw calls (by state changes: mode, texture)
44
- RL_DEFAULT_BATCH_MAX_TEXTURE_UNITS = 4 # Maximum number of textures units that can be activated on batch drawing (SetShaderValueTexture())
45
- RL_MAX_MATRIX_STACK_SIZE = 32 # Maximum size of internal Matrix stack
46
- RL_MAX_SHADER_LOCATIONS = 32 # Maximum number of shader locations supported
47
- RL_CULL_DISTANCE_NEAR = 0.01 # Default projection matrix near cull distance
48
- RL_CULL_DISTANCE_FAR = 1000.0 # Default projection matrix far cull distance
49
- RL_DEFAULT_SHADER_ATTRIB_NAME_POSITION = "vertexPosition" # Bound by default to shader location: 0
50
- RL_DEFAULT_SHADER_ATTRIB_NAME_TEXCOORD = "vertexTexCoord" # Bound by default to shader location: 1
51
- RL_DEFAULT_SHADER_ATTRIB_NAME_NORMAL = "vertexNormal" # Bound by default to shader location: 2
52
- RL_DEFAULT_SHADER_ATTRIB_NAME_COLOR = "vertexColor" # Bound by default to shader location: 3
53
- RL_DEFAULT_SHADER_ATTRIB_NAME_TANGENT = "vertexTangent" # Bound by default to shader location: 4
54
- RL_DEFAULT_SHADER_ATTRIB_NAME_TEXCOORD2 = "vertexTexCoord2" # Bound by default to shader location: 5
55
- RL_DEFAULT_SHADER_UNIFORM_NAME_MVP = "mvp" # model-view-projection matrix
56
- RL_DEFAULT_SHADER_UNIFORM_NAME_VIEW = "matView" # view matrix
57
- RL_DEFAULT_SHADER_UNIFORM_NAME_PROJECTION = "matProjection" # projection matrix
58
- RL_DEFAULT_SHADER_UNIFORM_NAME_MODEL = "matModel" # model matrix
59
- RL_DEFAULT_SHADER_UNIFORM_NAME_NORMAL = "matNormal" # normal matrix (transpose(inverse(matModelView))
60
- RL_DEFAULT_SHADER_UNIFORM_NAME_COLOR = "colDiffuse" # color diffuse (base tint color, multiplied by texture color)
61
- RL_DEFAULT_SHADER_SAMPLER2D_NAME_TEXTURE0 = "texture0" # texture0 (texture slot active 0)
62
- RL_DEFAULT_SHADER_SAMPLER2D_NAME_TEXTURE1 = "texture1" # texture1 (texture slot active 1)
63
- RL_DEFAULT_SHADER_SAMPLER2D_NAME_TEXTURE2 = "texture2" # texture2 (texture slot active 2)
64
- SUPPORT_QUADS_DRAW_MODE = 1
65
- SPLINE_SEGMENT_DIVISIONS = 24 # Spline segments subdivisions
66
- SUPPORT_FILEFORMAT_PNG = 1
67
- SUPPORT_FILEFORMAT_GIF = 1
68
- SUPPORT_FILEFORMAT_QOI = 1
69
- SUPPORT_FILEFORMAT_DDS = 1
70
- SUPPORT_IMAGE_EXPORT = 1
71
- SUPPORT_IMAGE_GENERATION = 1
72
- SUPPORT_IMAGE_MANIPULATION = 1
73
- SUPPORT_DEFAULT_FONT = 1
74
- SUPPORT_FILEFORMAT_FNT = 1
75
- SUPPORT_FILEFORMAT_TTF = 1
76
- SUPPORT_TEXT_MANIPULATION = 1
77
- SUPPORT_FONT_ATLAS_WHITE_REC = 1
78
- MAX_TEXT_BUFFER_LENGTH = 1024 # Size of internal static buffers used on some functions:
79
- MAX_TEXTSPLIT_COUNT = 128 # Maximum number of substrings to split: TextSplit()
80
- SUPPORT_FILEFORMAT_OBJ = 1
81
- SUPPORT_FILEFORMAT_MTL = 1
82
- SUPPORT_FILEFORMAT_IQM = 1
83
- SUPPORT_FILEFORMAT_GLTF = 1
84
- SUPPORT_FILEFORMAT_VOX = 1
85
- SUPPORT_FILEFORMAT_M3D = 1
86
- SUPPORT_MESH_GENERATION = 1
87
- MAX_MATERIAL_MAPS = 12 # Maximum number of shader maps supported
88
- MAX_MESH_VERTEX_BUFFERS = 7 # Maximum vertex buffers (VBO) per mesh
89
- SUPPORT_FILEFORMAT_WAV = 1
90
- SUPPORT_FILEFORMAT_OGG = 1
91
- SUPPORT_FILEFORMAT_MP3 = 1
92
- SUPPORT_FILEFORMAT_QOA = 1
93
- SUPPORT_FILEFORMAT_XM = 1
94
- SUPPORT_FILEFORMAT_MOD = 1
95
- AUDIO_DEVICE_FORMAT = "ma_format_f32" # Device output format (miniaudio: float-32bit)
96
- AUDIO_DEVICE_CHANNELS = 2 # Device output channels: stereo
97
- AUDIO_DEVICE_SAMPLE_RATE = 0 # Device sample rate (device default)
98
- MAX_AUDIO_BUFFER_POOL_CHANNELS = 16 # Maximum number of audio pool channels
99
- SUPPORT_STANDARD_FILEIO = 1
100
- SUPPORT_TRACELOG = 1
101
- MAX_TRACELOG_MSG_LENGTH = 256 # Max length of one trace-log message
102
-
103
- end
1
+ # Yet another raylib wrapper for Ruby
2
+ #
3
+ # * https://github.com/vaiorabbit/raylib-bindings
4
+ #
5
+ # [NOTICE] Autogenerated. Do not edit.
6
+
7
+ require 'ffi'
8
+
9
+ module Raylib
10
+ extend FFI::Library
11
+
12
+ # Define/Macro
13
+
14
+ SUPPORT_MODULE_RSHAPES = 1
15
+ SUPPORT_MODULE_RTEXTURES = 1
16
+ SUPPORT_MODULE_RTEXT = 1 # WARNING: It requires SUPPORT_MODULE_RTEXTURES to load sprite font textures
17
+ SUPPORT_MODULE_RMODELS = 1
18
+ SUPPORT_MODULE_RAUDIO = 1
19
+ SUPPORT_CAMERA_SYSTEM = 1
20
+ SUPPORT_GESTURES_SYSTEM = 1
21
+ SUPPORT_RPRAND_GENERATOR = 1
22
+ SUPPORT_MOUSE_GESTURES = 1
23
+ SUPPORT_SSH_KEYBOARD_RPI = 1
24
+ SUPPORT_WINMM_HIGHRES_TIMER = 1
25
+ SUPPORT_PARTIALBUSY_WAIT_LOOP = 1
26
+ SUPPORT_SCREEN_CAPTURE = 1
27
+ SUPPORT_GIF_RECORDING = 1
28
+ SUPPORT_COMPRESSION_API = 1
29
+ SUPPORT_AUTOMATION_EVENTS = 1
30
+ MAX_FILEPATH_CAPACITY = 8192 # Maximum file paths capacity
31
+ MAX_FILEPATH_LENGTH = 4096 # Maximum length for filepaths (Linux PATH_MAX default value)
32
+ MAX_KEYBOARD_KEYS = 512 # Maximum number of keyboard keys supported
33
+ MAX_MOUSE_BUTTONS = 8 # Maximum number of mouse buttons supported
34
+ MAX_GAMEPADS = 4 # Maximum number of gamepads supported
35
+ MAX_GAMEPAD_AXIS = 8 # Maximum number of axis supported (per gamepad)
36
+ MAX_GAMEPAD_BUTTONS = 32 # Maximum number of buttons supported (per gamepad)
37
+ MAX_TOUCH_POINTS = 8 # Maximum number of touch points supported
38
+ MAX_KEY_PRESSED_QUEUE = 16 # Maximum number of keys in the key input queue
39
+ MAX_CHAR_PRESSED_QUEUE = 16 # Maximum number of characters in the char input queue
40
+ MAX_DECOMPRESSION_SIZE = 64 # Max size allocated for decompression in MB
41
+ MAX_AUTOMATION_EVENTS = 16384 # Maximum number of automation events to record
42
+ RL_DEFAULT_BATCH_BUFFERS = 1 # Default number of batch buffers (multi-buffering)
43
+ RL_DEFAULT_BATCH_DRAWCALLS = 256 # Default number of batch draw calls (by state changes: mode, texture)
44
+ RL_DEFAULT_BATCH_MAX_TEXTURE_UNITS = 4 # Maximum number of textures units that can be activated on batch drawing (SetShaderValueTexture())
45
+ RL_MAX_MATRIX_STACK_SIZE = 32 # Maximum size of internal Matrix stack
46
+ RL_MAX_SHADER_LOCATIONS = 32 # Maximum number of shader locations supported
47
+ RL_CULL_DISTANCE_NEAR = 0.01 # Default projection matrix near cull distance
48
+ RL_CULL_DISTANCE_FAR = 1000.0 # Default projection matrix far cull distance
49
+ RL_DEFAULT_SHADER_ATTRIB_NAME_POSITION = "vertexPosition" # Bound by default to shader location: 0
50
+ RL_DEFAULT_SHADER_ATTRIB_NAME_TEXCOORD = "vertexTexCoord" # Bound by default to shader location: 1
51
+ RL_DEFAULT_SHADER_ATTRIB_NAME_NORMAL = "vertexNormal" # Bound by default to shader location: 2
52
+ RL_DEFAULT_SHADER_ATTRIB_NAME_COLOR = "vertexColor" # Bound by default to shader location: 3
53
+ RL_DEFAULT_SHADER_ATTRIB_NAME_TANGENT = "vertexTangent" # Bound by default to shader location: 4
54
+ RL_DEFAULT_SHADER_ATTRIB_NAME_TEXCOORD2 = "vertexTexCoord2" # Bound by default to shader location: 5
55
+ RL_DEFAULT_SHADER_UNIFORM_NAME_MVP = "mvp" # model-view-projection matrix
56
+ RL_DEFAULT_SHADER_UNIFORM_NAME_VIEW = "matView" # view matrix
57
+ RL_DEFAULT_SHADER_UNIFORM_NAME_PROJECTION = "matProjection" # projection matrix
58
+ RL_DEFAULT_SHADER_UNIFORM_NAME_MODEL = "matModel" # model matrix
59
+ RL_DEFAULT_SHADER_UNIFORM_NAME_NORMAL = "matNormal" # normal matrix (transpose(inverse(matModelView))
60
+ RL_DEFAULT_SHADER_UNIFORM_NAME_COLOR = "colDiffuse" # color diffuse (base tint color, multiplied by texture color)
61
+ RL_DEFAULT_SHADER_SAMPLER2D_NAME_TEXTURE0 = "texture0" # texture0 (texture slot active 0)
62
+ RL_DEFAULT_SHADER_SAMPLER2D_NAME_TEXTURE1 = "texture1" # texture1 (texture slot active 1)
63
+ RL_DEFAULT_SHADER_SAMPLER2D_NAME_TEXTURE2 = "texture2" # texture2 (texture slot active 2)
64
+ SUPPORT_QUADS_DRAW_MODE = 1
65
+ SPLINE_SEGMENT_DIVISIONS = 24 # Spline segments subdivisions
66
+ SUPPORT_FILEFORMAT_PNG = 1
67
+ SUPPORT_FILEFORMAT_GIF = 1
68
+ SUPPORT_FILEFORMAT_QOI = 1
69
+ SUPPORT_FILEFORMAT_DDS = 1
70
+ SUPPORT_IMAGE_EXPORT = 1
71
+ SUPPORT_IMAGE_GENERATION = 1
72
+ SUPPORT_IMAGE_MANIPULATION = 1
73
+ SUPPORT_DEFAULT_FONT = 1
74
+ SUPPORT_FILEFORMAT_FNT = 1
75
+ SUPPORT_FILEFORMAT_TTF = 1
76
+ SUPPORT_TEXT_MANIPULATION = 1
77
+ SUPPORT_FONT_ATLAS_WHITE_REC = 1
78
+ MAX_TEXT_BUFFER_LENGTH = 1024 # Size of internal static buffers used on some functions:
79
+ MAX_TEXTSPLIT_COUNT = 128 # Maximum number of substrings to split: TextSplit()
80
+ SUPPORT_FILEFORMAT_OBJ = 1
81
+ SUPPORT_FILEFORMAT_MTL = 1
82
+ SUPPORT_FILEFORMAT_IQM = 1
83
+ SUPPORT_FILEFORMAT_GLTF = 1
84
+ SUPPORT_FILEFORMAT_VOX = 1
85
+ SUPPORT_FILEFORMAT_M3D = 1
86
+ SUPPORT_MESH_GENERATION = 1
87
+ MAX_MATERIAL_MAPS = 12 # Maximum number of shader maps supported
88
+ MAX_MESH_VERTEX_BUFFERS = 7 # Maximum vertex buffers (VBO) per mesh
89
+ SUPPORT_FILEFORMAT_WAV = 1
90
+ SUPPORT_FILEFORMAT_OGG = 1
91
+ SUPPORT_FILEFORMAT_MP3 = 1
92
+ SUPPORT_FILEFORMAT_QOA = 1
93
+ SUPPORT_FILEFORMAT_XM = 1
94
+ SUPPORT_FILEFORMAT_MOD = 1
95
+ AUDIO_DEVICE_FORMAT = "ma_format_f32" # Device output format (miniaudio: float-32bit)
96
+ AUDIO_DEVICE_CHANNELS = 2 # Device output channels: stereo
97
+ AUDIO_DEVICE_SAMPLE_RATE = 0 # Device sample rate (device default)
98
+ MAX_AUDIO_BUFFER_POOL_CHANNELS = 16 # Maximum number of audio pool channels
99
+ SUPPORT_STANDARD_FILEIO = 1
100
+ SUPPORT_TRACELOG = 1
101
+ MAX_TRACELOG_MSG_LENGTH = 256 # Max length of one trace-log message
102
+
103
+ end
Binary file