-
Notifications
You must be signed in to change notification settings - Fork 1
/
rlgl.txt
1543 lines (1531 loc) · 50.6 KB
/
rlgl.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
Defines found: 87
Define 001: RLGL_H
Name: RLGL_H
Type: GUARD
Value:
Description:
Define 002: RLGL_VERSION
Name: RLGL_VERSION
Type: STRING
Value: "4.5"
Description:
Define 003: RLAPI
Name: RLAPI
Type: UNKNOWN
Value: __declspec(dllexport)
Description: We are building the library as a Win32 shared library (.dll)
Define 004: TRACELOG(level, ...)
Name: TRACELOG(level, ...)
Type: MACRO
Value: (void)0
Description:
Define 005: TRACELOGD(...)
Name: TRACELOGD(...)
Type: MACRO
Value: (void)0
Description:
Define 006: RL_MALLOC(sz)
Name: RL_MALLOC(sz)
Type: MACRO
Value: malloc(sz)
Description:
Define 007: RL_CALLOC(n,sz)
Name: RL_CALLOC(n,sz)
Type: MACRO
Value: calloc(n,sz)
Description:
Define 008: RL_REALLOC(n,sz)
Name: RL_REALLOC(n,sz)
Type: MACRO
Value: realloc(n,sz)
Description:
Define 009: RL_FREE(p)
Name: RL_FREE(p)
Type: MACRO
Value: free(p)
Description:
Define 010: GRAPHICS_API_OPENGL_33
Name: GRAPHICS_API_OPENGL_33
Type: GUARD
Value:
Description:
Define 011: GRAPHICS_API_OPENGL_ES2
Name: GRAPHICS_API_OPENGL_ES2
Type: GUARD
Value:
Description:
Define 012: RLGL_RENDER_TEXTURES_HINT
Name: RLGL_RENDER_TEXTURES_HINT
Type: GUARD
Value:
Description:
Define 013: RL_DEFAULT_BATCH_BUFFER_ELEMENTS
Name: RL_DEFAULT_BATCH_BUFFER_ELEMENTS
Type: INT
Value: 8192
Description:
Define 014: RL_DEFAULT_BATCH_BUFFERS
Name: RL_DEFAULT_BATCH_BUFFERS
Type: INT
Value: 1
Description: Default number of batch buffers (multi-buffering)
Define 015: RL_DEFAULT_BATCH_DRAWCALLS
Name: RL_DEFAULT_BATCH_DRAWCALLS
Type: INT
Value: 256
Description: Default number of batch draw calls (by state changes: mode, texture)
Define 016: RL_DEFAULT_BATCH_MAX_TEXTURE_UNITS
Name: RL_DEFAULT_BATCH_MAX_TEXTURE_UNITS
Type: INT
Value: 4
Description: Maximum number of textures units that can be activated on batch drawing (SetShaderValueTexture())
Define 017: RL_MAX_MATRIX_STACK_SIZE
Name: RL_MAX_MATRIX_STACK_SIZE
Type: INT
Value: 32
Description: Maximum size of Matrix stack
Define 018: RL_MAX_SHADER_LOCATIONS
Name: RL_MAX_SHADER_LOCATIONS
Type: INT
Value: 32
Description: Maximum number of shader locations supported
Define 019: RL_CULL_DISTANCE_NEAR
Name: RL_CULL_DISTANCE_NEAR
Type: DOUBLE
Value: 0.01
Description: Default near cull distance
Define 020: RL_CULL_DISTANCE_FAR
Name: RL_CULL_DISTANCE_FAR
Type: DOUBLE
Value: 1000.0
Description: Default far cull distance
Define 021: RL_TEXTURE_WRAP_S
Name: RL_TEXTURE_WRAP_S
Type: INT
Value: 0x2802
Description: GL_TEXTURE_WRAP_S
Define 022: RL_TEXTURE_WRAP_T
Name: RL_TEXTURE_WRAP_T
Type: INT
Value: 0x2803
Description: GL_TEXTURE_WRAP_T
Define 023: RL_TEXTURE_MAG_FILTER
Name: RL_TEXTURE_MAG_FILTER
Type: INT
Value: 0x2800
Description: GL_TEXTURE_MAG_FILTER
Define 024: RL_TEXTURE_MIN_FILTER
Name: RL_TEXTURE_MIN_FILTER
Type: INT
Value: 0x2801
Description: GL_TEXTURE_MIN_FILTER
Define 025: RL_TEXTURE_FILTER_NEAREST
Name: RL_TEXTURE_FILTER_NEAREST
Type: INT
Value: 0x2600
Description: GL_NEAREST
Define 026: RL_TEXTURE_FILTER_LINEAR
Name: RL_TEXTURE_FILTER_LINEAR
Type: INT
Value: 0x2601
Description: GL_LINEAR
Define 027: RL_TEXTURE_FILTER_MIP_NEAREST
Name: RL_TEXTURE_FILTER_MIP_NEAREST
Type: INT
Value: 0x2700
Description: GL_NEAREST_MIPMAP_NEAREST
Define 028: RL_TEXTURE_FILTER_NEAREST_MIP_LINEAR
Name: RL_TEXTURE_FILTER_NEAREST_MIP_LINEAR
Type: INT
Value: 0x2702
Description: GL_NEAREST_MIPMAP_LINEAR
Define 029: RL_TEXTURE_FILTER_LINEAR_MIP_NEAREST
Name: RL_TEXTURE_FILTER_LINEAR_MIP_NEAREST
Type: INT
Value: 0x2701
Description: GL_LINEAR_MIPMAP_NEAREST
Define 030: RL_TEXTURE_FILTER_MIP_LINEAR
Name: RL_TEXTURE_FILTER_MIP_LINEAR
Type: INT
Value: 0x2703
Description: GL_LINEAR_MIPMAP_LINEAR
Define 031: RL_TEXTURE_FILTER_ANISOTROPIC
Name: RL_TEXTURE_FILTER_ANISOTROPIC
Type: INT
Value: 0x3000
Description: Anisotropic filter (custom identifier)
Define 032: RL_TEXTURE_MIPMAP_BIAS_RATIO
Name: RL_TEXTURE_MIPMAP_BIAS_RATIO
Type: INT
Value: 0x4000
Description: Texture mipmap bias, percentage ratio (custom identifier)
Define 033: RL_TEXTURE_WRAP_REPEAT
Name: RL_TEXTURE_WRAP_REPEAT
Type: INT
Value: 0x2901
Description: GL_REPEAT
Define 034: RL_TEXTURE_WRAP_CLAMP
Name: RL_TEXTURE_WRAP_CLAMP
Type: INT
Value: 0x812F
Description: GL_CLAMP_TO_EDGE
Define 035: RL_TEXTURE_WRAP_MIRROR_REPEAT
Name: RL_TEXTURE_WRAP_MIRROR_REPEAT
Type: INT
Value: 0x8370
Description: GL_MIRRORED_REPEAT
Define 036: RL_TEXTURE_WRAP_MIRROR_CLAMP
Name: RL_TEXTURE_WRAP_MIRROR_CLAMP
Type: INT
Value: 0x8742
Description: GL_MIRROR_CLAMP_EXT
Define 037: RL_MODELVIEW
Name: RL_MODELVIEW
Type: INT
Value: 0x1700
Description: GL_MODELVIEW
Define 038: RL_PROJECTION
Name: RL_PROJECTION
Type: INT
Value: 0x1701
Description: GL_PROJECTION
Define 039: RL_TEXTURE
Name: RL_TEXTURE
Type: INT
Value: 0x1702
Description: GL_TEXTURE
Define 040: RL_LINES
Name: RL_LINES
Type: INT
Value: 0x0001
Description: GL_LINES
Define 041: RL_TRIANGLES
Name: RL_TRIANGLES
Type: INT
Value: 0x0004
Description: GL_TRIANGLES
Define 042: RL_QUADS
Name: RL_QUADS
Type: INT
Value: 0x0007
Description: GL_QUADS
Define 043: RL_UNSIGNED_BYTE
Name: RL_UNSIGNED_BYTE
Type: INT
Value: 0x1401
Description: GL_UNSIGNED_BYTE
Define 044: RL_FLOAT
Name: RL_FLOAT
Type: INT
Value: 0x1406
Description: GL_FLOAT
Define 045: RL_STREAM_DRAW
Name: RL_STREAM_DRAW
Type: INT
Value: 0x88E0
Description: GL_STREAM_DRAW
Define 046: RL_STREAM_READ
Name: RL_STREAM_READ
Type: INT
Value: 0x88E1
Description: GL_STREAM_READ
Define 047: RL_STREAM_COPY
Name: RL_STREAM_COPY
Type: INT
Value: 0x88E2
Description: GL_STREAM_COPY
Define 048: RL_STATIC_DRAW
Name: RL_STATIC_DRAW
Type: INT
Value: 0x88E4
Description: GL_STATIC_DRAW
Define 049: RL_STATIC_READ
Name: RL_STATIC_READ
Type: INT
Value: 0x88E5
Description: GL_STATIC_READ
Define 050: RL_STATIC_COPY
Name: RL_STATIC_COPY
Type: INT
Value: 0x88E6
Description: GL_STATIC_COPY
Define 051: RL_DYNAMIC_DRAW
Name: RL_DYNAMIC_DRAW
Type: INT
Value: 0x88E8
Description: GL_DYNAMIC_DRAW
Define 052: RL_DYNAMIC_READ
Name: RL_DYNAMIC_READ
Type: INT
Value: 0x88E9
Description: GL_DYNAMIC_READ
Define 053: RL_DYNAMIC_COPY
Name: RL_DYNAMIC_COPY
Type: INT
Value: 0x88EA
Description: GL_DYNAMIC_COPY
Define 054: RL_FRAGMENT_SHADER
Name: RL_FRAGMENT_SHADER
Type: INT
Value: 0x8B30
Description: GL_FRAGMENT_SHADER
Define 055: RL_VERTEX_SHADER
Name: RL_VERTEX_SHADER
Type: INT
Value: 0x8B31
Description: GL_VERTEX_SHADER
Define 056: RL_COMPUTE_SHADER
Name: RL_COMPUTE_SHADER
Type: INT
Value: 0x91B9
Description: GL_COMPUTE_SHADER
Define 057: RL_ZERO
Name: RL_ZERO
Type: INT
Value: 0
Description: GL_ZERO
Define 058: RL_ONE
Name: RL_ONE
Type: INT
Value: 1
Description: GL_ONE
Define 059: RL_SRC_COLOR
Name: RL_SRC_COLOR
Type: INT
Value: 0x0300
Description: GL_SRC_COLOR
Define 060: RL_ONE_MINUS_SRC_COLOR
Name: RL_ONE_MINUS_SRC_COLOR
Type: INT
Value: 0x0301
Description: GL_ONE_MINUS_SRC_COLOR
Define 061: RL_SRC_ALPHA
Name: RL_SRC_ALPHA
Type: INT
Value: 0x0302
Description: GL_SRC_ALPHA
Define 062: RL_ONE_MINUS_SRC_ALPHA
Name: RL_ONE_MINUS_SRC_ALPHA
Type: INT
Value: 0x0303
Description: GL_ONE_MINUS_SRC_ALPHA
Define 063: RL_DST_ALPHA
Name: RL_DST_ALPHA
Type: INT
Value: 0x0304
Description: GL_DST_ALPHA
Define 064: RL_ONE_MINUS_DST_ALPHA
Name: RL_ONE_MINUS_DST_ALPHA
Type: INT
Value: 0x0305
Description: GL_ONE_MINUS_DST_ALPHA
Define 065: RL_DST_COLOR
Name: RL_DST_COLOR
Type: INT
Value: 0x0306
Description: GL_DST_COLOR
Define 066: RL_ONE_MINUS_DST_COLOR
Name: RL_ONE_MINUS_DST_COLOR
Type: INT
Value: 0x0307
Description: GL_ONE_MINUS_DST_COLOR
Define 067: RL_SRC_ALPHA_SATURATE
Name: RL_SRC_ALPHA_SATURATE
Type: INT
Value: 0x0308
Description: GL_SRC_ALPHA_SATURATE
Define 068: RL_CONSTANT_COLOR
Name: RL_CONSTANT_COLOR
Type: INT
Value: 0x8001
Description: GL_CONSTANT_COLOR
Define 069: RL_ONE_MINUS_CONSTANT_COLOR
Name: RL_ONE_MINUS_CONSTANT_COLOR
Type: INT
Value: 0x8002
Description: GL_ONE_MINUS_CONSTANT_COLOR
Define 070: RL_CONSTANT_ALPHA
Name: RL_CONSTANT_ALPHA
Type: INT
Value: 0x8003
Description: GL_CONSTANT_ALPHA
Define 071: RL_ONE_MINUS_CONSTANT_ALPHA
Name: RL_ONE_MINUS_CONSTANT_ALPHA
Type: INT
Value: 0x8004
Description: GL_ONE_MINUS_CONSTANT_ALPHA
Define 072: RL_FUNC_ADD
Name: RL_FUNC_ADD
Type: INT
Value: 0x8006
Description: GL_FUNC_ADD
Define 073: RL_MIN
Name: RL_MIN
Type: INT
Value: 0x8007
Description: GL_MIN
Define 074: RL_MAX
Name: RL_MAX
Type: INT
Value: 0x8008
Description: GL_MAX
Define 075: RL_FUNC_SUBTRACT
Name: RL_FUNC_SUBTRACT
Type: INT
Value: 0x800A
Description: GL_FUNC_SUBTRACT
Define 076: RL_FUNC_REVERSE_SUBTRACT
Name: RL_FUNC_REVERSE_SUBTRACT
Type: INT
Value: 0x800B
Description: GL_FUNC_REVERSE_SUBTRACT
Define 077: RL_BLEND_EQUATION
Name: RL_BLEND_EQUATION
Type: INT
Value: 0x8009
Description: GL_BLEND_EQUATION
Define 078: RL_BLEND_EQUATION_RGB
Name: RL_BLEND_EQUATION_RGB
Type: INT
Value: 0x8009
Description: GL_BLEND_EQUATION_RGB // (Same as BLEND_EQUATION)
Define 079: RL_BLEND_EQUATION_ALPHA
Name: RL_BLEND_EQUATION_ALPHA
Type: INT
Value: 0x883D
Description: GL_BLEND_EQUATION_ALPHA
Define 080: RL_BLEND_DST_RGB
Name: RL_BLEND_DST_RGB
Type: INT
Value: 0x80C8
Description: GL_BLEND_DST_RGB
Define 081: RL_BLEND_SRC_RGB
Name: RL_BLEND_SRC_RGB
Type: INT
Value: 0x80C9
Description: GL_BLEND_SRC_RGB
Define 082: RL_BLEND_DST_ALPHA
Name: RL_BLEND_DST_ALPHA
Type: INT
Value: 0x80CA
Description: GL_BLEND_DST_ALPHA
Define 083: RL_BLEND_SRC_ALPHA
Name: RL_BLEND_SRC_ALPHA
Type: INT
Value: 0x80CB
Description: GL_BLEND_SRC_ALPHA
Define 084: RL_BLEND_COLOR
Name: RL_BLEND_COLOR
Type: INT
Value: 0x8005
Description: GL_BLEND_COLOR
Define 085: RL_MATRIX_TYPE
Name: RL_MATRIX_TYPE
Type: GUARD
Value:
Description:
Define 086: RL_SHADER_LOC_MAP_DIFFUSE
Name: RL_SHADER_LOC_MAP_DIFFUSE
Type: UNKNOWN
Value: RL_SHADER_LOC_MAP_ALBEDO
Description:
Define 087: RL_SHADER_LOC_MAP_SPECULAR
Name: RL_SHADER_LOC_MAP_SPECULAR
Type: UNKNOWN
Value: RL_SHADER_LOC_MAP_METALNESS
Description:
Structures found: 4
Struct 01: Matrix (16 fields)
Name: Matrix
Description: Matrix, 4x4 components, column major, OpenGL style, right handed
Field[1]: float m0 // Matrix first row (4 components)
Field[2]: float m4 // Matrix first row (4 components)
Field[3]: float m8 // Matrix first row (4 components)
Field[4]: float m12 // Matrix first row (4 components)
Field[5]: float m1 // Matrix second row (4 components)
Field[6]: float m5 // Matrix second row (4 components)
Field[7]: float m9 // Matrix second row (4 components)
Field[8]: float m13 // Matrix second row (4 components)
Field[9]: float m2 // Matrix third row (4 components)
Field[10]: float m6 // Matrix third row (4 components)
Field[11]: float m10 // Matrix third row (4 components)
Field[12]: float m14 // Matrix third row (4 components)
Field[13]: float m3 // Matrix fourth row (4 components)
Field[14]: float m7 // Matrix fourth row (4 components)
Field[15]: float m11 // Matrix fourth row (4 components)
Field[16]: float m15 // Matrix fourth row (4 components)
Struct 02: rlVertexBuffer (12 fields)
Name: rlVertexBuffer
Description: Dynamic vertex buffers (position + texcoords + colors + indices arrays)
Field[1]: int elementCount // Number of elements in the buffer (QUADS)
Field[2]: float * vertices // Vertex position (XYZ - 3 components per vertex) (shader-location = 0)
Field[3]: float * texcoords // Vertex texture coordinates (UV - 2 components per vertex) (shader-location = 1)
Field[4]: unsigned char * colors // Vertex colors (RGBA - 4 components per vertex) (shader-location = 3)
Field[5]: #if defined(GRAPHICS_API_OPENGL_11) || defined(GRAPHICS_API_OPENunsigned int * indices // Vertex indices (in case vertex data comes indexed) (6 indices per quad)
Field[6]: unsigned int * indices // Vertex indices (in case vertex data comes indexed) (6 indices per quad)
Field[7]: #endif indices // Vertex indices (in case vertex data comes indexed) (6 indices per quad)
Field[8]: #if defined(GRAPHICS_API_OPENGL_ES2) indices // Vertex indices (in case vertex data comes indexed) (6 indices per quad)
Field[9]: unsigned short * indices // Vertex indices (in case vertex data comes indexed) (6 indices per quad)
Field[10]: #endif vaoId // OpenGL Vertex Array Object id
Field[11]: unsigned int vaoId // OpenGL Vertex Array Object id
Field[12]: unsigned int[4] vboId // OpenGL Vertex Buffer Objects id (4 types of vertex data)
Struct 03: rlDrawCall (4 fields)
Name: rlDrawCall
Description: of those state-change happens (this is done in core module)
Field[1]: int mode // Drawing mode: LINES, TRIANGLES, QUADS
Field[2]: int vertexCount // Number of vertex of the draw
Field[3]: int vertexAlignment // Number of vertex required for index alignment (LINES, TRIANGLES)
Field[4]: unsigned int textureId // Texture id to be used on the draw -> Use to create new draw call if changes
Struct 04: rlRenderBatch (6 fields)
Name: rlRenderBatch
Description: rlRenderBatch type
Field[1]: int bufferCount // Number of vertex buffers (multi-buffering support)
Field[2]: int currentBuffer // Current buffer tracking in case of multi-buffering
Field[3]: rlVertexBuffer * vertexBuffer // Dynamic buffer(s) for vertex data
Field[4]: rlDrawCall * draws // Draw calls array, depends on textureId
Field[5]: int drawCounter // Draw calls counter
Field[6]: float currentDepth // Current depth value for next draw
Aliases found: 0
Enums found: 11
Enum 01: rlGlVersion (6 values)
Name: rlGlVersion
Description: OpenGL version
Value[RL_OPENGL_11]: 1
Value[RL_OPENGL_21]: 2
Value[RL_OPENGL_33]: 3
Value[RL_OPENGL_43]: 4
Value[RL_OPENGL_ES_20]: 5
Value[RL_OPENGL_ES_30]: 6
Enum 02: rlTraceLogLevel (8 values)
Name: rlTraceLogLevel
Description: Trace log level
Value[RL_LOG_ALL]: 0
Value[RL_LOG_TRACE]: 1
Value[RL_LOG_DEBUG]: 2
Value[RL_LOG_INFO]: 3
Value[RL_LOG_WARNING]: 4
Value[RL_LOG_ERROR]: 5
Value[RL_LOG_FATAL]: 6
Value[RL_LOG_NONE]: 7
Enum 03: rlPixelFormat (24 values)
Name: rlPixelFormat
Description: Texture pixel formats
Value[RL_PIXELFORMAT_UNCOMPRESSED_GRAYSCALE]: 1
Value[RL_PIXELFORMAT_UNCOMPRESSED_GRAY_ALPHA]: 2
Value[RL_PIXELFORMAT_UNCOMPRESSED_R5G6B5]: 3
Value[RL_PIXELFORMAT_UNCOMPRESSED_R8G8B8]: 4
Value[RL_PIXELFORMAT_UNCOMPRESSED_R5G5B5A1]: 5
Value[RL_PIXELFORMAT_UNCOMPRESSED_R4G4B4A4]: 6
Value[RL_PIXELFORMAT_UNCOMPRESSED_R8G8B8A8]: 7
Value[RL_PIXELFORMAT_UNCOMPRESSED_R32]: 8
Value[RL_PIXELFORMAT_UNCOMPRESSED_R32G32B32]: 9
Value[RL_PIXELFORMAT_UNCOMPRESSED_R32G32B32A32]: 10
Value[RL_PIXELFORMAT_UNCOMPRESSED_R16]: 11
Value[RL_PIXELFORMAT_UNCOMPRESSED_R16G16B16]: 12
Value[RL_PIXELFORMAT_UNCOMPRESSED_R16G16B16A16]: 13
Value[RL_PIXELFORMAT_COMPRESSED_DXT1_RGB]: 14
Value[RL_PIXELFORMAT_COMPRESSED_DXT1_RGBA]: 15
Value[RL_PIXELFORMAT_COMPRESSED_DXT3_RGBA]: 16
Value[RL_PIXELFORMAT_COMPRESSED_DXT5_RGBA]: 17
Value[RL_PIXELFORMAT_COMPRESSED_ETC1_RGB]: 18
Value[RL_PIXELFORMAT_COMPRESSED_ETC2_RGB]: 19
Value[RL_PIXELFORMAT_COMPRESSED_ETC2_EAC_RGBA]: 20
Value[RL_PIXELFORMAT_COMPRESSED_PVRT_RGB]: 21
Value[RL_PIXELFORMAT_COMPRESSED_PVRT_RGBA]: 22
Value[RL_PIXELFORMAT_COMPRESSED_ASTC_4x4_RGBA]: 23
Value[RL_PIXELFORMAT_COMPRESSED_ASTC_8x8_RGBA]: 24
Enum 04: rlTextureFilter (6 values)
Name: rlTextureFilter
Description: Texture parameters: filter mode
Value[RL_TEXTURE_FILTER_POINT]: 0
Value[RL_TEXTURE_FILTER_BILINEAR]: 1
Value[RL_TEXTURE_FILTER_TRILINEAR]: 2
Value[RL_TEXTURE_FILTER_ANISOTROPIC_4X]: 3
Value[RL_TEXTURE_FILTER_ANISOTROPIC_8X]: 4
Value[RL_TEXTURE_FILTER_ANISOTROPIC_16X]: 5
Enum 05: rlBlendMode (8 values)
Name: rlBlendMode
Description: Color blending modes (pre-defined)
Value[RL_BLEND_ALPHA]: 0
Value[RL_BLEND_ADDITIVE]: 1
Value[RL_BLEND_MULTIPLIED]: 2
Value[RL_BLEND_ADD_COLORS]: 3
Value[RL_BLEND_SUBTRACT_COLORS]: 4
Value[RL_BLEND_ALPHA_PREMULTIPLY]: 5
Value[RL_BLEND_CUSTOM]: 6
Value[RL_BLEND_CUSTOM_SEPARATE]: 7
Enum 06: rlShaderLocationIndex (26 values)
Name: rlShaderLocationIndex
Description: Shader location point type
Value[RL_SHADER_LOC_VERTEX_POSITION]: 0
Value[RL_SHADER_LOC_VERTEX_TEXCOORD01]: 1
Value[RL_SHADER_LOC_VERTEX_TEXCOORD02]: 2
Value[RL_SHADER_LOC_VERTEX_NORMAL]: 3
Value[RL_SHADER_LOC_VERTEX_TANGENT]: 4
Value[RL_SHADER_LOC_VERTEX_COLOR]: 5
Value[RL_SHADER_LOC_MATRIX_MVP]: 6
Value[RL_SHADER_LOC_MATRIX_VIEW]: 7
Value[RL_SHADER_LOC_MATRIX_PROJECTION]: 8
Value[RL_SHADER_LOC_MATRIX_MODEL]: 9
Value[RL_SHADER_LOC_MATRIX_NORMAL]: 10
Value[RL_SHADER_LOC_VECTOR_VIEW]: 11
Value[RL_SHADER_LOC_COLOR_DIFFUSE]: 12
Value[RL_SHADER_LOC_COLOR_SPECULAR]: 13
Value[RL_SHADER_LOC_COLOR_AMBIENT]: 14
Value[RL_SHADER_LOC_MAP_ALBEDO]: 15
Value[RL_SHADER_LOC_MAP_METALNESS]: 16
Value[RL_SHADER_LOC_MAP_NORMAL]: 17
Value[RL_SHADER_LOC_MAP_ROUGHNESS]: 18
Value[RL_SHADER_LOC_MAP_OCCLUSION]: 19
Value[RL_SHADER_LOC_MAP_EMISSION]: 20
Value[RL_SHADER_LOC_MAP_HEIGHT]: 21
Value[RL_SHADER_LOC_MAP_CUBEMAP]: 22
Value[RL_SHADER_LOC_MAP_IRRADIANCE]: 23
Value[RL_SHADER_LOC_MAP_PREFILTER]: 24
Value[RL_SHADER_LOC_MAP_BRDF]: 25
Enum 07: rlShaderUniformDataType (9 values)
Name: rlShaderUniformDataType
Description: Shader uniform data type
Value[RL_SHADER_UNIFORM_FLOAT]: 0
Value[RL_SHADER_UNIFORM_VEC2]: 1
Value[RL_SHADER_UNIFORM_VEC3]: 2
Value[RL_SHADER_UNIFORM_VEC4]: 3
Value[RL_SHADER_UNIFORM_INT]: 4
Value[RL_SHADER_UNIFORM_IVEC2]: 5
Value[RL_SHADER_UNIFORM_IVEC3]: 6
Value[RL_SHADER_UNIFORM_IVEC4]: 7
Value[RL_SHADER_UNIFORM_SAMPLER2D]: 8
Enum 08: rlShaderAttributeDataType (4 values)
Name: rlShaderAttributeDataType
Description: Shader attribute data types
Value[RL_SHADER_ATTRIB_FLOAT]: 0
Value[RL_SHADER_ATTRIB_VEC2]: 1
Value[RL_SHADER_ATTRIB_VEC3]: 2
Value[RL_SHADER_ATTRIB_VEC4]: 3
Enum 09: rlFramebufferAttachType (10 values)
Name: rlFramebufferAttachType
Description: Framebuffer attachment type
Value[RL_ATTACHMENT_COLOR_CHANNEL0]: 0
Value[RL_ATTACHMENT_COLOR_CHANNEL1]: 1
Value[RL_ATTACHMENT_COLOR_CHANNEL2]: 2
Value[RL_ATTACHMENT_COLOR_CHANNEL3]: 3
Value[RL_ATTACHMENT_COLOR_CHANNEL4]: 4
Value[RL_ATTACHMENT_COLOR_CHANNEL5]: 5
Value[RL_ATTACHMENT_COLOR_CHANNEL6]: 6
Value[RL_ATTACHMENT_COLOR_CHANNEL7]: 7
Value[RL_ATTACHMENT_DEPTH]: 100
Value[RL_ATTACHMENT_STENCIL]: 200
Enum 10: rlFramebufferAttachTextureType (8 values)
Name: rlFramebufferAttachTextureType
Description: Framebuffer texture attachment type
Value[RL_ATTACHMENT_CUBEMAP_POSITIVE_X]: 0
Value[RL_ATTACHMENT_CUBEMAP_NEGATIVE_X]: 1
Value[RL_ATTACHMENT_CUBEMAP_POSITIVE_Y]: 2
Value[RL_ATTACHMENT_CUBEMAP_NEGATIVE_Y]: 3
Value[RL_ATTACHMENT_CUBEMAP_POSITIVE_Z]: 4
Value[RL_ATTACHMENT_CUBEMAP_NEGATIVE_Z]: 5
Value[RL_ATTACHMENT_TEXTURE2D]: 100
Value[RL_ATTACHMENT_RENDERBUFFER]: 200
Enum 11: rlCullMode (2 values)
Name: rlCullMode
Description: Face culling mode
Value[RL_CULL_FACE_FRONT]: 0
Value[RL_CULL_FACE_BACK]: 1
Callbacks found: 0
Functions found: 149
Function 001: rlMatrixMode() (1 input parameters)
Name: rlMatrixMode
Return type: void
Description: Choose the current matrix to be transformed
Param[1]: mode (type: int)
Function 002: rlPushMatrix() (0 input parameters)
Name: rlPushMatrix
Return type: void
Description: Push the current matrix to stack
No input parameters
Function 003: rlPopMatrix() (0 input parameters)
Name: rlPopMatrix
Return type: void
Description: Pop latest inserted matrix from stack
No input parameters
Function 004: rlLoadIdentity() (0 input parameters)
Name: rlLoadIdentity
Return type: void
Description: Reset current matrix to identity matrix
No input parameters
Function 005: rlTranslatef() (3 input parameters)
Name: rlTranslatef
Return type: void
Description: Multiply the current matrix by a translation matrix
Param[1]: x (type: float)
Param[2]: y (type: float)
Param[3]: z (type: float)
Function 006: rlRotatef() (4 input parameters)
Name: rlRotatef
Return type: void
Description: Multiply the current matrix by a rotation matrix
Param[1]: angle (type: float)
Param[2]: x (type: float)
Param[3]: y (type: float)
Param[4]: z (type: float)
Function 007: rlScalef() (3 input parameters)
Name: rlScalef
Return type: void
Description: Multiply the current matrix by a scaling matrix
Param[1]: x (type: float)
Param[2]: y (type: float)
Param[3]: z (type: float)
Function 008: rlMultMatrixf() (1 input parameters)
Name: rlMultMatrixf
Return type: void
Description: Multiply the current matrix by another matrix
Param[1]: matf (type: const float *)
Function 009: rlFrustum() (6 input parameters)
Name: rlFrustum
Return type: void
Description:
Param[1]: left (type: double)
Param[2]: right (type: double)
Param[3]: bottom (type: double)
Param[4]: top (type: double)
Param[5]: znear (type: double)
Param[6]: zfar (type: double)
Function 010: rlOrtho() (6 input parameters)
Name: rlOrtho
Return type: void
Description:
Param[1]: left (type: double)
Param[2]: right (type: double)
Param[3]: bottom (type: double)
Param[4]: top (type: double)
Param[5]: znear (type: double)
Param[6]: zfar (type: double)
Function 011: rlViewport() (4 input parameters)
Name: rlViewport
Return type: void
Description: Set the viewport area
Param[1]: x (type: int)
Param[2]: y (type: int)
Param[3]: width (type: int)
Param[4]: height (type: int)
Function 012: rlBegin() (1 input parameters)
Name: rlBegin
Return type: void
Description: Initialize drawing mode (how to organize vertex)
Param[1]: mode (type: int)
Function 013: rlEnd() (0 input parameters)
Name: rlEnd
Return type: void
Description: Finish vertex providing
No input parameters
Function 014: rlVertex2i() (2 input parameters)
Name: rlVertex2i
Return type: void
Description: Define one vertex (position) - 2 int
Param[1]: x (type: int)
Param[2]: y (type: int)
Function 015: rlVertex2f() (2 input parameters)
Name: rlVertex2f
Return type: void
Description: Define one vertex (position) - 2 float
Param[1]: x (type: float)
Param[2]: y (type: float)
Function 016: rlVertex3f() (3 input parameters)
Name: rlVertex3f
Return type: void
Description: Define one vertex (position) - 3 float
Param[1]: x (type: float)
Param[2]: y (type: float)
Param[3]: z (type: float)
Function 017: rlTexCoord2f() (2 input parameters)
Name: rlTexCoord2f
Return type: void
Description: Define one vertex (texture coordinate) - 2 float
Param[1]: x (type: float)
Param[2]: y (type: float)
Function 018: rlNormal3f() (3 input parameters)
Name: rlNormal3f
Return type: void
Description: Define one vertex (normal) - 3 float
Param[1]: x (type: float)
Param[2]: y (type: float)
Param[3]: z (type: float)
Function 019: rlColor4ub() (4 input parameters)
Name: rlColor4ub
Return type: void
Description: Define one vertex (color) - 4 byte
Param[1]: r (type: unsigned char)
Param[2]: g (type: unsigned char)
Param[3]: b (type: unsigned char)
Param[4]: a (type: unsigned char)
Function 020: rlColor3f() (3 input parameters)
Name: rlColor3f
Return type: void
Description: Define one vertex (color) - 3 float
Param[1]: x (type: float)
Param[2]: y (type: float)
Param[3]: z (type: float)
Function 021: rlColor4f() (4 input parameters)
Name: rlColor4f
Return type: void
Description: Define one vertex (color) - 4 float
Param[1]: x (type: float)
Param[2]: y (type: float)
Param[3]: z (type: float)
Param[4]: w (type: float)
Function 022: rlEnableVertexArray() (1 input parameters)
Name: rlEnableVertexArray
Return type: bool
Description: Enable vertex array (VAO, if supported)
Param[1]: vaoId (type: unsigned int)
Function 023: rlDisableVertexArray() (0 input parameters)
Name: rlDisableVertexArray
Return type: void
Description: Disable vertex array (VAO, if supported)
No input parameters
Function 024: rlEnableVertexBuffer() (1 input parameters)
Name: rlEnableVertexBuffer
Return type: void
Description: Enable vertex buffer (VBO)
Param[1]: id (type: unsigned int)
Function 025: rlDisableVertexBuffer() (0 input parameters)
Name: rlDisableVertexBuffer
Return type: void
Description: Disable vertex buffer (VBO)
No input parameters
Function 026: rlEnableVertexBufferElement() (1 input parameters)
Name: rlEnableVertexBufferElement
Return type: void
Description: Enable vertex buffer element (VBO element)
Param[1]: id (type: unsigned int)
Function 027: rlDisableVertexBufferElement() (0 input parameters)
Name: rlDisableVertexBufferElement
Return type: void
Description: Disable vertex buffer element (VBO element)
No input parameters
Function 028: rlEnableVertexAttribute() (1 input parameters)
Name: rlEnableVertexAttribute
Return type: void
Description: Enable vertex attribute index
Param[1]: index (type: unsigned int)
Function 029: rlDisableVertexAttribute() (1 input parameters)
Name: rlDisableVertexAttribute
Return type: void
Description: Disable vertex attribute index
Param[1]: index (type: unsigned int)
Function 030: rlEnableStatePointer() (2 input parameters)
Name: rlEnableStatePointer
Return type: void
Description: Enable attribute state pointer
Param[1]: vertexAttribType (type: int)
Param[2]: buffer (type: void *)
Function 031: rlDisableStatePointer() (1 input parameters)
Name: rlDisableStatePointer
Return type: void
Description: Disable attribute state pointer
Param[1]: vertexAttribType (type: int)
Function 032: rlActiveTextureSlot() (1 input parameters)
Name: rlActiveTextureSlot
Return type: void
Description: Select and active a texture slot
Param[1]: slot (type: int)
Function 033: rlEnableTexture() (1 input parameters)
Name: rlEnableTexture
Return type: void
Description: Enable texture
Param[1]: id (type: unsigned int)
Function 034: rlDisableTexture() (0 input parameters)
Name: rlDisableTexture
Return type: void
Description: Disable texture
No input parameters
Function 035: rlEnableTextureCubemap() (1 input parameters)
Name: rlEnableTextureCubemap
Return type: void
Description: Enable texture cubemap
Param[1]: id (type: unsigned int)
Function 036: rlDisableTextureCubemap() (0 input parameters)
Name: rlDisableTextureCubemap
Return type: void
Description: Disable texture cubemap
No input parameters
Function 037: rlTextureParameters() (3 input parameters)
Name: rlTextureParameters
Return type: void
Description: Set texture parameters (filter, wrap)
Param[1]: id (type: unsigned int)
Param[2]: param (type: int)
Param[3]: value (type: int)
Function 038: rlCubemapParameters() (3 input parameters)
Name: rlCubemapParameters
Return type: void
Description: Set cubemap parameters (filter, wrap)
Param[1]: id (type: unsigned int)
Param[2]: param (type: int)
Param[3]: value (type: int)
Function 039: rlEnableShader() (1 input parameters)
Name: rlEnableShader
Return type: void
Description: Enable shader program
Param[1]: id (type: unsigned int)
Function 040: rlDisableShader() (0 input parameters)
Name: rlDisableShader
Return type: void
Description: Disable shader program
No input parameters
Function 041: rlEnableFramebuffer() (1 input parameters)
Name: rlEnableFramebuffer
Return type: void
Description: Enable render texture (fbo)
Param[1]: id (type: unsigned int)
Function 042: rlDisableFramebuffer() (0 input parameters)
Name: rlDisableFramebuffer
Return type: void
Description: Disable render texture (fbo), return to default framebuffer
No input parameters
Function 043: rlActiveDrawBuffers() (1 input parameters)
Name: rlActiveDrawBuffers
Return type: void
Description: Activate multiple draw color buffers
Param[1]: count (type: int)
Function 044: rlBlitFramebuffer() (9 input parameters)
Name: rlBlitFramebuffer
Return type: void
Description: Blit active framebuffer to main framebuffer
Param[1]: srcX (type: int)
Param[2]: srcY (type: int)
Param[3]: srcWidth (type: int)
Param[4]: srcHeight (type: int)
Param[5]: dstX (type: int)
Param[6]: dstY (type: int)
Param[7]: dstWidth (type: int)
Param[8]: dstHeight (type: int)
Param[9]: bufferMask (type: int)
Function 045: rlEnableColorBlend() (0 input parameters)
Name: rlEnableColorBlend
Return type: void
Description: Enable color blending
No input parameters
Function 046: rlDisableColorBlend() (0 input parameters)
Name: rlDisableColorBlend
Return type: void
Description: Disable color blending
No input parameters
Function 047: rlEnableDepthTest() (0 input parameters)
Name: rlEnableDepthTest
Return type: void
Description: Enable depth test
No input parameters
Function 048: rlDisableDepthTest() (0 input parameters)
Name: rlDisableDepthTest
Return type: void
Description: Disable depth test
No input parameters
Function 049: rlEnableDepthMask() (0 input parameters)
Name: rlEnableDepthMask
Return type: void
Description: Enable depth write
No input parameters
Function 050: rlDisableDepthMask() (0 input parameters)
Name: rlDisableDepthMask
Return type: void
Description: Disable depth write
No input parameters
Function 051: rlEnableBackfaceCulling() (0 input parameters)
Name: rlEnableBackfaceCulling
Return type: void
Description: Enable backface culling
No input parameters
Function 052: rlDisableBackfaceCulling() (0 input parameters)
Name: rlDisableBackfaceCulling
Return type: void
Description: Disable backface culling
No input parameters
Function 053: rlSetCullFace() (1 input parameters)
Name: rlSetCullFace
Return type: void
Description: Set face culling mode
Param[1]: mode (type: int)
Function 054: rlEnableScissorTest() (0 input parameters)
Name: rlEnableScissorTest
Return type: void
Description: Enable scissor test
No input parameters
Function 055: rlDisableScissorTest() (0 input parameters)
Name: rlDisableScissorTest
Return type: void
Description: Disable scissor test
No input parameters
Function 056: rlScissor() (4 input parameters)
Name: rlScissor
Return type: void
Description: Scissor test
Param[1]: x (type: int)
Param[2]: y (type: int)
Param[3]: width (type: int)
Param[4]: height (type: int)
Function 057: rlEnableWireMode() (0 input parameters)
Name: rlEnableWireMode
Return type: void
Description: Enable wire mode
No input parameters
Function 058: rlEnablePointMode() (0 input parameters)
Name: rlEnablePointMode
Return type: void
Description: Enable point mode
No input parameters
Function 059: rlDisableWireMode() (0 input parameters)
Name: rlDisableWireMode
Return type: void
Description: Disable wire mode ( and point ) maybe rename
No input parameters
Function 060: rlSetLineWidth() (1 input parameters)
Name: rlSetLineWidth
Return type: void
Description: Set the line drawing width
Param[1]: width (type: float)
Function 061: rlGetLineWidth() (0 input parameters)
Name: rlGetLineWidth