raylib-bindings 0.5.2 → 0.5.4
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 +22 -0
- data/README.md +1 -1
- data/lib/libraylib.aarch64.so +0 -0
- data/lib/libraylib.dll +0 -0
- data/lib/libraylib.dylib +0 -0
- data/lib/libraylib.x86_64.so +0 -0
- data/lib/physac.dll +0 -0
- data/lib/physac.rb +86 -67
- data/lib/raygui.aarch64.so +0 -0
- data/lib/raygui.dll +0 -0
- data/lib/raygui.dylib +0 -0
- data/lib/raygui.rb +367 -314
- data/lib/raygui.x86_64.so +0 -0
- data/lib/raygui_helper.rb +28 -0
- data/lib/raygui_main.rb +871 -0
- data/lib/raylib.rb +2 -1
- data/lib/raylib_main.rb +2677 -2140
- data/lib/raymath.rb +557 -445
- data/lib/rcamera.rb +62 -50
- data/lib/rlgl.rb +678 -532
- metadata +5 -3
data/lib/rlgl.rb
CHANGED
@@ -87,6 +87,7 @@ module Raylib
|
|
87
87
|
RL_OPENGL_33 = 3 # OpenGL 3.3 (GLSL 330)
|
88
88
|
RL_OPENGL_43 = 4 # OpenGL 4.3 (using GLSL 330)
|
89
89
|
RL_OPENGL_ES_20 = 5 # OpenGL ES 2.0 (GLSL 100)
|
90
|
+
RL_OPENGL_ES_30 = 6 # OpenGL ES 3.0 (GLSL 300 es)
|
90
91
|
|
91
92
|
# enum rlTraceLogLevel
|
92
93
|
# Trace log level
|
@@ -312,826 +313,971 @@ module Raylib
|
|
312
313
|
def self.setup_rlgl_symbols
|
313
314
|
entries = [
|
314
315
|
|
315
|
-
# rlMatrixMode
|
316
|
-
#
|
317
|
-
#
|
316
|
+
# @!method rlMatrixMode(mode)
|
317
|
+
# rlMatrixMode : Choose the current matrix to be transformed
|
318
|
+
# @param mode [int]
|
319
|
+
# @return [void]
|
318
320
|
[:rlMatrixMode, :rlMatrixMode, [:int], :void],
|
319
321
|
|
320
|
-
# rlPushMatrix
|
321
|
-
#
|
322
|
+
# @!method rlPushMatrix()
|
323
|
+
# rlPushMatrix : Push the current matrix to stack
|
324
|
+
# @return [void]
|
322
325
|
[:rlPushMatrix, :rlPushMatrix, [], :void],
|
323
326
|
|
324
|
-
# rlPopMatrix
|
325
|
-
#
|
327
|
+
# @!method rlPopMatrix()
|
328
|
+
# rlPopMatrix : Pop latest inserted matrix from stack
|
329
|
+
# @return [void]
|
326
330
|
[:rlPopMatrix, :rlPopMatrix, [], :void],
|
327
331
|
|
328
|
-
# rlLoadIdentity
|
329
|
-
#
|
332
|
+
# @!method rlLoadIdentity()
|
333
|
+
# rlLoadIdentity : Reset current matrix to identity matrix
|
334
|
+
# @return [void]
|
330
335
|
[:rlLoadIdentity, :rlLoadIdentity, [], :void],
|
331
336
|
|
332
|
-
# rlTranslatef
|
333
|
-
#
|
334
|
-
#
|
335
|
-
#
|
336
|
-
#
|
337
|
+
# @!method rlTranslatef(x, y, z)
|
338
|
+
# rlTranslatef : Multiply the current matrix by a translation matrix
|
339
|
+
# @param x [float]
|
340
|
+
# @param y [float]
|
341
|
+
# @param z [float]
|
342
|
+
# @return [void]
|
337
343
|
[:rlTranslatef, :rlTranslatef, [:float, :float, :float], :void],
|
338
344
|
|
339
|
-
# rlRotatef
|
340
|
-
#
|
341
|
-
#
|
342
|
-
#
|
343
|
-
#
|
344
|
-
#
|
345
|
+
# @!method rlRotatef(angle, x, y, z)
|
346
|
+
# rlRotatef : Multiply the current matrix by a rotation matrix
|
347
|
+
# @param angle [float]
|
348
|
+
# @param x [float]
|
349
|
+
# @param y [float]
|
350
|
+
# @param z [float]
|
351
|
+
# @return [void]
|
345
352
|
[:rlRotatef, :rlRotatef, [:float, :float, :float, :float], :void],
|
346
353
|
|
347
|
-
# rlScalef
|
348
|
-
#
|
349
|
-
#
|
350
|
-
#
|
351
|
-
#
|
354
|
+
# @!method rlScalef(x, y, z)
|
355
|
+
# rlScalef : Multiply the current matrix by a scaling matrix
|
356
|
+
# @param x [float]
|
357
|
+
# @param y [float]
|
358
|
+
# @param z [float]
|
359
|
+
# @return [void]
|
352
360
|
[:rlScalef, :rlScalef, [:float, :float, :float], :void],
|
353
361
|
|
354
|
-
# rlMultMatrixf
|
355
|
-
#
|
356
|
-
#
|
362
|
+
# @!method rlMultMatrixf(matf)
|
363
|
+
# rlMultMatrixf : Multiply the current matrix by another matrix
|
364
|
+
# @param matf [const float *]
|
365
|
+
# @return [void]
|
357
366
|
[:rlMultMatrixf, :rlMultMatrixf, [:pointer], :void],
|
358
367
|
|
359
|
-
# rlFrustum
|
360
|
-
#
|
361
|
-
#
|
362
|
-
#
|
363
|
-
#
|
364
|
-
#
|
365
|
-
#
|
366
|
-
#
|
368
|
+
# @!method rlFrustum(left, right, bottom, top, znear, zfar)
|
369
|
+
# rlFrustum
|
370
|
+
# @param left [double]
|
371
|
+
# @param right [double]
|
372
|
+
# @param bottom [double]
|
373
|
+
# @param top [double]
|
374
|
+
# @param znear [double]
|
375
|
+
# @param zfar [double]
|
376
|
+
# @return [void]
|
367
377
|
[:rlFrustum, :rlFrustum, [:double, :double, :double, :double, :double, :double], :void],
|
368
378
|
|
369
|
-
# rlOrtho
|
370
|
-
#
|
371
|
-
#
|
372
|
-
#
|
373
|
-
#
|
374
|
-
#
|
375
|
-
#
|
376
|
-
#
|
379
|
+
# @!method rlOrtho(left, right, bottom, top, znear, zfar)
|
380
|
+
# rlOrtho
|
381
|
+
# @param left [double]
|
382
|
+
# @param right [double]
|
383
|
+
# @param bottom [double]
|
384
|
+
# @param top [double]
|
385
|
+
# @param znear [double]
|
386
|
+
# @param zfar [double]
|
387
|
+
# @return [void]
|
377
388
|
[:rlOrtho, :rlOrtho, [:double, :double, :double, :double, :double, :double], :void],
|
378
389
|
|
379
|
-
# rlViewport
|
380
|
-
#
|
381
|
-
#
|
382
|
-
#
|
383
|
-
#
|
384
|
-
#
|
390
|
+
# @!method rlViewport(x, y, width, height)
|
391
|
+
# rlViewport : Set the viewport area
|
392
|
+
# @param x [int]
|
393
|
+
# @param y [int]
|
394
|
+
# @param width [int]
|
395
|
+
# @param height [int]
|
396
|
+
# @return [void]
|
385
397
|
[:rlViewport, :rlViewport, [:int, :int, :int, :int], :void],
|
386
398
|
|
387
|
-
# rlBegin
|
388
|
-
#
|
389
|
-
#
|
399
|
+
# @!method rlBegin(mode)
|
400
|
+
# rlBegin : Initialize drawing mode (how to organize vertex)
|
401
|
+
# @param mode [int]
|
402
|
+
# @return [void]
|
390
403
|
[:rlBegin, :rlBegin, [:int], :void],
|
391
404
|
|
392
|
-
# rlEnd
|
393
|
-
#
|
405
|
+
# @!method rlEnd()
|
406
|
+
# rlEnd : Finish vertex providing
|
407
|
+
# @return [void]
|
394
408
|
[:rlEnd, :rlEnd, [], :void],
|
395
409
|
|
396
|
-
# rlVertex2i
|
397
|
-
#
|
398
|
-
#
|
399
|
-
#
|
410
|
+
# @!method rlVertex2i(x, y)
|
411
|
+
# rlVertex2i : Define one vertex (position) - 2 int
|
412
|
+
# @param x [int]
|
413
|
+
# @param y [int]
|
414
|
+
# @return [void]
|
400
415
|
[:rlVertex2i, :rlVertex2i, [:int, :int], :void],
|
401
416
|
|
402
|
-
# rlVertex2f
|
403
|
-
#
|
404
|
-
#
|
405
|
-
#
|
417
|
+
# @!method rlVertex2f(x, y)
|
418
|
+
# rlVertex2f : Define one vertex (position) - 2 float
|
419
|
+
# @param x [float]
|
420
|
+
# @param y [float]
|
421
|
+
# @return [void]
|
406
422
|
[:rlVertex2f, :rlVertex2f, [:float, :float], :void],
|
407
423
|
|
408
|
-
# rlVertex3f
|
409
|
-
#
|
410
|
-
#
|
411
|
-
#
|
412
|
-
#
|
424
|
+
# @!method rlVertex3f(x, y, z)
|
425
|
+
# rlVertex3f : Define one vertex (position) - 3 float
|
426
|
+
# @param x [float]
|
427
|
+
# @param y [float]
|
428
|
+
# @param z [float]
|
429
|
+
# @return [void]
|
413
430
|
[:rlVertex3f, :rlVertex3f, [:float, :float, :float], :void],
|
414
431
|
|
415
|
-
# rlTexCoord2f
|
416
|
-
#
|
417
|
-
#
|
418
|
-
#
|
432
|
+
# @!method rlTexCoord2f(x, y)
|
433
|
+
# rlTexCoord2f : Define one vertex (texture coordinate) - 2 float
|
434
|
+
# @param x [float]
|
435
|
+
# @param y [float]
|
436
|
+
# @return [void]
|
419
437
|
[:rlTexCoord2f, :rlTexCoord2f, [:float, :float], :void],
|
420
438
|
|
421
|
-
# rlNormal3f
|
422
|
-
#
|
423
|
-
#
|
424
|
-
#
|
425
|
-
#
|
439
|
+
# @!method rlNormal3f(x, y, z)
|
440
|
+
# rlNormal3f : Define one vertex (normal) - 3 float
|
441
|
+
# @param x [float]
|
442
|
+
# @param y [float]
|
443
|
+
# @param z [float]
|
444
|
+
# @return [void]
|
426
445
|
[:rlNormal3f, :rlNormal3f, [:float, :float, :float], :void],
|
427
446
|
|
428
|
-
# rlColor4ub
|
429
|
-
#
|
430
|
-
#
|
431
|
-
#
|
432
|
-
#
|
433
|
-
#
|
447
|
+
# @!method rlColor4ub(r, g, b, a)
|
448
|
+
# rlColor4ub : Define one vertex (color) - 4 byte
|
449
|
+
# @param r [unsigned char]
|
450
|
+
# @param g [unsigned char]
|
451
|
+
# @param b [unsigned char]
|
452
|
+
# @param a [unsigned char]
|
453
|
+
# @return [void]
|
434
454
|
[:rlColor4ub, :rlColor4ub, [:uchar, :uchar, :uchar, :uchar], :void],
|
435
455
|
|
436
|
-
# rlColor3f
|
437
|
-
#
|
438
|
-
#
|
439
|
-
#
|
440
|
-
#
|
456
|
+
# @!method rlColor3f(x, y, z)
|
457
|
+
# rlColor3f : Define one vertex (color) - 3 float
|
458
|
+
# @param x [float]
|
459
|
+
# @param y [float]
|
460
|
+
# @param z [float]
|
461
|
+
# @return [void]
|
441
462
|
[:rlColor3f, :rlColor3f, [:float, :float, :float], :void],
|
442
463
|
|
443
|
-
# rlColor4f
|
444
|
-
#
|
445
|
-
#
|
446
|
-
#
|
447
|
-
#
|
448
|
-
#
|
464
|
+
# @!method rlColor4f(x, y, z, w)
|
465
|
+
# rlColor4f : Define one vertex (color) - 4 float
|
466
|
+
# @param x [float]
|
467
|
+
# @param y [float]
|
468
|
+
# @param z [float]
|
469
|
+
# @param w [float]
|
470
|
+
# @return [void]
|
449
471
|
[:rlColor4f, :rlColor4f, [:float, :float, :float, :float], :void],
|
450
472
|
|
451
|
-
# rlEnableVertexArray
|
452
|
-
#
|
453
|
-
#
|
473
|
+
# @!method rlEnableVertexArray(vaoId)
|
474
|
+
# rlEnableVertexArray : Enable vertex array (VAO, if supported)
|
475
|
+
# @param vaoId [unsigned int]
|
476
|
+
# @return [bool]
|
454
477
|
[:rlEnableVertexArray, :rlEnableVertexArray, [:uint], :bool],
|
455
478
|
|
456
|
-
# rlDisableVertexArray
|
457
|
-
#
|
479
|
+
# @!method rlDisableVertexArray()
|
480
|
+
# rlDisableVertexArray : Disable vertex array (VAO, if supported)
|
481
|
+
# @return [void]
|
458
482
|
[:rlDisableVertexArray, :rlDisableVertexArray, [], :void],
|
459
483
|
|
460
|
-
# rlEnableVertexBuffer
|
461
|
-
#
|
462
|
-
#
|
484
|
+
# @!method rlEnableVertexBuffer(id)
|
485
|
+
# rlEnableVertexBuffer : Enable vertex buffer (VBO)
|
486
|
+
# @param id [unsigned int]
|
487
|
+
# @return [void]
|
463
488
|
[:rlEnableVertexBuffer, :rlEnableVertexBuffer, [:uint], :void],
|
464
489
|
|
465
|
-
# rlDisableVertexBuffer
|
466
|
-
#
|
490
|
+
# @!method rlDisableVertexBuffer()
|
491
|
+
# rlDisableVertexBuffer : Disable vertex buffer (VBO)
|
492
|
+
# @return [void]
|
467
493
|
[:rlDisableVertexBuffer, :rlDisableVertexBuffer, [], :void],
|
468
494
|
|
469
|
-
# rlEnableVertexBufferElement
|
470
|
-
#
|
471
|
-
#
|
495
|
+
# @!method rlEnableVertexBufferElement(id)
|
496
|
+
# rlEnableVertexBufferElement : Enable vertex buffer element (VBO element)
|
497
|
+
# @param id [unsigned int]
|
498
|
+
# @return [void]
|
472
499
|
[:rlEnableVertexBufferElement, :rlEnableVertexBufferElement, [:uint], :void],
|
473
500
|
|
474
|
-
# rlDisableVertexBufferElement
|
475
|
-
#
|
501
|
+
# @!method rlDisableVertexBufferElement()
|
502
|
+
# rlDisableVertexBufferElement : Disable vertex buffer element (VBO element)
|
503
|
+
# @return [void]
|
476
504
|
[:rlDisableVertexBufferElement, :rlDisableVertexBufferElement, [], :void],
|
477
505
|
|
478
|
-
# rlEnableVertexAttribute
|
479
|
-
#
|
480
|
-
#
|
506
|
+
# @!method rlEnableVertexAttribute(index)
|
507
|
+
# rlEnableVertexAttribute : Enable vertex attribute index
|
508
|
+
# @param index [unsigned int]
|
509
|
+
# @return [void]
|
481
510
|
[:rlEnableVertexAttribute, :rlEnableVertexAttribute, [:uint], :void],
|
482
511
|
|
483
|
-
# rlDisableVertexAttribute
|
484
|
-
#
|
485
|
-
#
|
512
|
+
# @!method rlDisableVertexAttribute(index)
|
513
|
+
# rlDisableVertexAttribute : Disable vertex attribute index
|
514
|
+
# @param index [unsigned int]
|
515
|
+
# @return [void]
|
486
516
|
[:rlDisableVertexAttribute, :rlDisableVertexAttribute, [:uint], :void],
|
487
517
|
|
488
|
-
# rlActiveTextureSlot
|
489
|
-
#
|
490
|
-
#
|
518
|
+
# @!method rlActiveTextureSlot(slot)
|
519
|
+
# rlActiveTextureSlot : Select and active a texture slot
|
520
|
+
# @param slot [int]
|
521
|
+
# @return [void]
|
491
522
|
[:rlActiveTextureSlot, :rlActiveTextureSlot, [:int], :void],
|
492
523
|
|
493
|
-
# rlEnableTexture
|
494
|
-
#
|
495
|
-
#
|
524
|
+
# @!method rlEnableTexture(id)
|
525
|
+
# rlEnableTexture : Enable texture
|
526
|
+
# @param id [unsigned int]
|
527
|
+
# @return [void]
|
496
528
|
[:rlEnableTexture, :rlEnableTexture, [:uint], :void],
|
497
529
|
|
498
|
-
# rlDisableTexture
|
499
|
-
#
|
530
|
+
# @!method rlDisableTexture()
|
531
|
+
# rlDisableTexture : Disable texture
|
532
|
+
# @return [void]
|
500
533
|
[:rlDisableTexture, :rlDisableTexture, [], :void],
|
501
534
|
|
502
|
-
# rlEnableTextureCubemap
|
503
|
-
#
|
504
|
-
#
|
535
|
+
# @!method rlEnableTextureCubemap(id)
|
536
|
+
# rlEnableTextureCubemap : Enable texture cubemap
|
537
|
+
# @param id [unsigned int]
|
538
|
+
# @return [void]
|
505
539
|
[:rlEnableTextureCubemap, :rlEnableTextureCubemap, [:uint], :void],
|
506
540
|
|
507
|
-
# rlDisableTextureCubemap
|
508
|
-
#
|
541
|
+
# @!method rlDisableTextureCubemap()
|
542
|
+
# rlDisableTextureCubemap : Disable texture cubemap
|
543
|
+
# @return [void]
|
509
544
|
[:rlDisableTextureCubemap, :rlDisableTextureCubemap, [], :void],
|
510
545
|
|
511
|
-
# rlTextureParameters
|
512
|
-
#
|
513
|
-
#
|
514
|
-
#
|
515
|
-
#
|
546
|
+
# @!method rlTextureParameters(id, param, value)
|
547
|
+
# rlTextureParameters : Set texture parameters (filter, wrap)
|
548
|
+
# @param id [unsigned int]
|
549
|
+
# @param param [int]
|
550
|
+
# @param value [int]
|
551
|
+
# @return [void]
|
516
552
|
[:rlTextureParameters, :rlTextureParameters, [:uint, :int, :int], :void],
|
517
553
|
|
518
|
-
# rlCubemapParameters
|
519
|
-
#
|
520
|
-
#
|
521
|
-
#
|
522
|
-
#
|
554
|
+
# @!method rlCubemapParameters(id, param, value)
|
555
|
+
# rlCubemapParameters : Set cubemap parameters (filter, wrap)
|
556
|
+
# @param id [unsigned int]
|
557
|
+
# @param param [int]
|
558
|
+
# @param value [int]
|
559
|
+
# @return [void]
|
523
560
|
[:rlCubemapParameters, :rlCubemapParameters, [:uint, :int, :int], :void],
|
524
561
|
|
525
|
-
# rlEnableShader
|
526
|
-
#
|
527
|
-
#
|
562
|
+
# @!method rlEnableShader(id)
|
563
|
+
# rlEnableShader : Enable shader program
|
564
|
+
# @param id [unsigned int]
|
565
|
+
# @return [void]
|
528
566
|
[:rlEnableShader, :rlEnableShader, [:uint], :void],
|
529
567
|
|
530
|
-
# rlDisableShader
|
531
|
-
#
|
568
|
+
# @!method rlDisableShader()
|
569
|
+
# rlDisableShader : Disable shader program
|
570
|
+
# @return [void]
|
532
571
|
[:rlDisableShader, :rlDisableShader, [], :void],
|
533
572
|
|
534
|
-
# rlEnableFramebuffer
|
535
|
-
#
|
536
|
-
#
|
573
|
+
# @!method rlEnableFramebuffer(id)
|
574
|
+
# rlEnableFramebuffer : Enable render texture (fbo)
|
575
|
+
# @param id [unsigned int]
|
576
|
+
# @return [void]
|
537
577
|
[:rlEnableFramebuffer, :rlEnableFramebuffer, [:uint], :void],
|
538
578
|
|
539
|
-
# rlDisableFramebuffer
|
540
|
-
#
|
579
|
+
# @!method rlDisableFramebuffer()
|
580
|
+
# rlDisableFramebuffer : Disable render texture (fbo), return to default framebuffer
|
581
|
+
# @return [void]
|
541
582
|
[:rlDisableFramebuffer, :rlDisableFramebuffer, [], :void],
|
542
583
|
|
543
|
-
# rlActiveDrawBuffers
|
544
|
-
#
|
545
|
-
#
|
584
|
+
# @!method rlActiveDrawBuffers(count)
|
585
|
+
# rlActiveDrawBuffers : Activate multiple draw color buffers
|
586
|
+
# @param count [int]
|
587
|
+
# @return [void]
|
546
588
|
[:rlActiveDrawBuffers, :rlActiveDrawBuffers, [:int], :void],
|
547
589
|
|
548
|
-
# rlEnableColorBlend
|
549
|
-
#
|
590
|
+
# @!method rlEnableColorBlend()
|
591
|
+
# rlEnableColorBlend : Enable color blending
|
592
|
+
# @return [void]
|
550
593
|
[:rlEnableColorBlend, :rlEnableColorBlend, [], :void],
|
551
594
|
|
552
|
-
# rlDisableColorBlend
|
553
|
-
#
|
595
|
+
# @!method rlDisableColorBlend()
|
596
|
+
# rlDisableColorBlend : Disable color blending
|
597
|
+
# @return [void]
|
554
598
|
[:rlDisableColorBlend, :rlDisableColorBlend, [], :void],
|
555
599
|
|
556
|
-
# rlEnableDepthTest
|
557
|
-
#
|
600
|
+
# @!method rlEnableDepthTest()
|
601
|
+
# rlEnableDepthTest : Enable depth test
|
602
|
+
# @return [void]
|
558
603
|
[:rlEnableDepthTest, :rlEnableDepthTest, [], :void],
|
559
604
|
|
560
|
-
# rlDisableDepthTest
|
561
|
-
#
|
605
|
+
# @!method rlDisableDepthTest()
|
606
|
+
# rlDisableDepthTest : Disable depth test
|
607
|
+
# @return [void]
|
562
608
|
[:rlDisableDepthTest, :rlDisableDepthTest, [], :void],
|
563
609
|
|
564
|
-
# rlEnableDepthMask
|
565
|
-
#
|
610
|
+
# @!method rlEnableDepthMask()
|
611
|
+
# rlEnableDepthMask : Enable depth write
|
612
|
+
# @return [void]
|
566
613
|
[:rlEnableDepthMask, :rlEnableDepthMask, [], :void],
|
567
614
|
|
568
|
-
# rlDisableDepthMask
|
569
|
-
#
|
615
|
+
# @!method rlDisableDepthMask()
|
616
|
+
# rlDisableDepthMask : Disable depth write
|
617
|
+
# @return [void]
|
570
618
|
[:rlDisableDepthMask, :rlDisableDepthMask, [], :void],
|
571
619
|
|
572
|
-
# rlEnableBackfaceCulling
|
573
|
-
#
|
620
|
+
# @!method rlEnableBackfaceCulling()
|
621
|
+
# rlEnableBackfaceCulling : Enable backface culling
|
622
|
+
# @return [void]
|
574
623
|
[:rlEnableBackfaceCulling, :rlEnableBackfaceCulling, [], :void],
|
575
624
|
|
576
|
-
# rlDisableBackfaceCulling
|
577
|
-
#
|
625
|
+
# @!method rlDisableBackfaceCulling()
|
626
|
+
# rlDisableBackfaceCulling : Disable backface culling
|
627
|
+
# @return [void]
|
578
628
|
[:rlDisableBackfaceCulling, :rlDisableBackfaceCulling, [], :void],
|
579
629
|
|
580
|
-
# rlSetCullFace
|
581
|
-
#
|
582
|
-
#
|
630
|
+
# @!method rlSetCullFace(mode)
|
631
|
+
# rlSetCullFace : Set face culling mode
|
632
|
+
# @param mode [int]
|
633
|
+
# @return [void]
|
583
634
|
[:rlSetCullFace, :rlSetCullFace, [:int], :void],
|
584
635
|
|
585
|
-
# rlEnableScissorTest
|
586
|
-
#
|
636
|
+
# @!method rlEnableScissorTest()
|
637
|
+
# rlEnableScissorTest : Enable scissor test
|
638
|
+
# @return [void]
|
587
639
|
[:rlEnableScissorTest, :rlEnableScissorTest, [], :void],
|
588
640
|
|
589
|
-
# rlDisableScissorTest
|
590
|
-
#
|
641
|
+
# @!method rlDisableScissorTest()
|
642
|
+
# rlDisableScissorTest : Disable scissor test
|
643
|
+
# @return [void]
|
591
644
|
[:rlDisableScissorTest, :rlDisableScissorTest, [], :void],
|
592
645
|
|
593
|
-
# rlScissor
|
594
|
-
#
|
595
|
-
#
|
596
|
-
#
|
597
|
-
#
|
598
|
-
#
|
646
|
+
# @!method rlScissor(x, y, width, height)
|
647
|
+
# rlScissor : Scissor test
|
648
|
+
# @param x [int]
|
649
|
+
# @param y [int]
|
650
|
+
# @param width [int]
|
651
|
+
# @param height [int]
|
652
|
+
# @return [void]
|
599
653
|
[:rlScissor, :rlScissor, [:int, :int, :int, :int], :void],
|
600
654
|
|
601
|
-
# rlEnableWireMode
|
602
|
-
#
|
655
|
+
# @!method rlEnableWireMode()
|
656
|
+
# rlEnableWireMode : Enable wire mode
|
657
|
+
# @return [void]
|
603
658
|
[:rlEnableWireMode, :rlEnableWireMode, [], :void],
|
604
659
|
|
605
|
-
# rlDisableWireMode
|
606
|
-
#
|
660
|
+
# @!method rlDisableWireMode()
|
661
|
+
# rlDisableWireMode : Disable wire mode
|
662
|
+
# @return [void]
|
607
663
|
[:rlDisableWireMode, :rlDisableWireMode, [], :void],
|
608
664
|
|
609
|
-
# rlSetLineWidth
|
610
|
-
#
|
611
|
-
#
|
665
|
+
# @!method rlSetLineWidth(width)
|
666
|
+
# rlSetLineWidth : Set the line drawing width
|
667
|
+
# @param width [float]
|
668
|
+
# @return [void]
|
612
669
|
[:rlSetLineWidth, :rlSetLineWidth, [:float], :void],
|
613
670
|
|
614
|
-
# rlGetLineWidth
|
615
|
-
#
|
671
|
+
# @!method rlGetLineWidth()
|
672
|
+
# rlGetLineWidth : Get the line drawing width
|
673
|
+
# @return [float]
|
616
674
|
[:rlGetLineWidth, :rlGetLineWidth, [], :float],
|
617
675
|
|
618
|
-
# rlEnableSmoothLines
|
619
|
-
#
|
676
|
+
# @!method rlEnableSmoothLines()
|
677
|
+
# rlEnableSmoothLines : Enable line aliasing
|
678
|
+
# @return [void]
|
620
679
|
[:rlEnableSmoothLines, :rlEnableSmoothLines, [], :void],
|
621
680
|
|
622
|
-
# rlDisableSmoothLines
|
623
|
-
#
|
681
|
+
# @!method rlDisableSmoothLines()
|
682
|
+
# rlDisableSmoothLines : Disable line aliasing
|
683
|
+
# @return [void]
|
624
684
|
[:rlDisableSmoothLines, :rlDisableSmoothLines, [], :void],
|
625
685
|
|
626
|
-
# rlEnableStereoRender
|
627
|
-
#
|
686
|
+
# @!method rlEnableStereoRender()
|
687
|
+
# rlEnableStereoRender : Enable stereo rendering
|
688
|
+
# @return [void]
|
628
689
|
[:rlEnableStereoRender, :rlEnableStereoRender, [], :void],
|
629
690
|
|
630
|
-
# rlDisableStereoRender
|
631
|
-
#
|
691
|
+
# @!method rlDisableStereoRender()
|
692
|
+
# rlDisableStereoRender : Disable stereo rendering
|
693
|
+
# @return [void]
|
632
694
|
[:rlDisableStereoRender, :rlDisableStereoRender, [], :void],
|
633
695
|
|
634
|
-
# rlIsStereoRenderEnabled
|
635
|
-
#
|
696
|
+
# @!method rlIsStereoRenderEnabled()
|
697
|
+
# rlIsStereoRenderEnabled : Check if stereo render is enabled
|
698
|
+
# @return [bool]
|
636
699
|
[:rlIsStereoRenderEnabled, :rlIsStereoRenderEnabled, [], :bool],
|
637
700
|
|
638
|
-
# rlClearColor
|
639
|
-
#
|
640
|
-
#
|
641
|
-
#
|
642
|
-
#
|
643
|
-
#
|
701
|
+
# @!method rlClearColor(r, g, b, a)
|
702
|
+
# rlClearColor : Clear color buffer with color
|
703
|
+
# @param r [unsigned char]
|
704
|
+
# @param g [unsigned char]
|
705
|
+
# @param b [unsigned char]
|
706
|
+
# @param a [unsigned char]
|
707
|
+
# @return [void]
|
644
708
|
[:rlClearColor, :rlClearColor, [:uchar, :uchar, :uchar, :uchar], :void],
|
645
709
|
|
646
|
-
# rlClearScreenBuffers
|
647
|
-
#
|
710
|
+
# @!method rlClearScreenBuffers()
|
711
|
+
# rlClearScreenBuffers : Clear used screen buffers (color and depth)
|
712
|
+
# @return [void]
|
648
713
|
[:rlClearScreenBuffers, :rlClearScreenBuffers, [], :void],
|
649
714
|
|
650
|
-
# rlCheckErrors
|
651
|
-
#
|
715
|
+
# @!method rlCheckErrors()
|
716
|
+
# rlCheckErrors : Check and log OpenGL error codes
|
717
|
+
# @return [void]
|
652
718
|
[:rlCheckErrors, :rlCheckErrors, [], :void],
|
653
719
|
|
654
|
-
# rlSetBlendMode
|
655
|
-
#
|
656
|
-
#
|
720
|
+
# @!method rlSetBlendMode(mode)
|
721
|
+
# rlSetBlendMode : Set blending mode
|
722
|
+
# @param mode [int]
|
723
|
+
# @return [void]
|
657
724
|
[:rlSetBlendMode, :rlSetBlendMode, [:int], :void],
|
658
725
|
|
659
|
-
# rlSetBlendFactors
|
660
|
-
#
|
661
|
-
#
|
662
|
-
#
|
663
|
-
#
|
726
|
+
# @!method rlSetBlendFactors(glSrcFactor, glDstFactor, glEquation)
|
727
|
+
# rlSetBlendFactors : Set blending mode factor and equation (using OpenGL factors)
|
728
|
+
# @param glSrcFactor [int]
|
729
|
+
# @param glDstFactor [int]
|
730
|
+
# @param glEquation [int]
|
731
|
+
# @return [void]
|
664
732
|
[:rlSetBlendFactors, :rlSetBlendFactors, [:int, :int, :int], :void],
|
665
733
|
|
666
|
-
# rlSetBlendFactorsSeparate
|
667
|
-
#
|
668
|
-
#
|
669
|
-
#
|
670
|
-
#
|
671
|
-
#
|
672
|
-
#
|
673
|
-
#
|
734
|
+
# @!method rlSetBlendFactorsSeparate(glSrcRGB, glDstRGB, glSrcAlpha, glDstAlpha, glEqRGB, glEqAlpha)
|
735
|
+
# rlSetBlendFactorsSeparate : Set blending mode factors and equations separately (using OpenGL factors)
|
736
|
+
# @param glSrcRGB [int]
|
737
|
+
# @param glDstRGB [int]
|
738
|
+
# @param glSrcAlpha [int]
|
739
|
+
# @param glDstAlpha [int]
|
740
|
+
# @param glEqRGB [int]
|
741
|
+
# @param glEqAlpha [int]
|
742
|
+
# @return [void]
|
674
743
|
[:rlSetBlendFactorsSeparate, :rlSetBlendFactorsSeparate, [:int, :int, :int, :int, :int, :int], :void],
|
675
744
|
|
676
|
-
# rlglInit
|
677
|
-
#
|
678
|
-
#
|
679
|
-
#
|
745
|
+
# @!method rlglInit(width, height)
|
746
|
+
# rlglInit : Initialize rlgl (buffers, shaders, textures, states)
|
747
|
+
# @param width [int]
|
748
|
+
# @param height [int]
|
749
|
+
# @return [void]
|
680
750
|
[:rlglInit, :rlglInit, [:int, :int], :void],
|
681
751
|
|
682
|
-
# rlglClose
|
683
|
-
#
|
752
|
+
# @!method rlglClose()
|
753
|
+
# rlglClose : De-initialize rlgl (buffers, shaders, textures)
|
754
|
+
# @return [void]
|
684
755
|
[:rlglClose, :rlglClose, [], :void],
|
685
756
|
|
686
|
-
# rlLoadExtensions
|
687
|
-
#
|
688
|
-
#
|
757
|
+
# @!method rlLoadExtensions(loader)
|
758
|
+
# rlLoadExtensions : Load OpenGL extensions (loader function required)
|
759
|
+
# @param loader [void *]
|
760
|
+
# @return [void]
|
689
761
|
[:rlLoadExtensions, :rlLoadExtensions, [:pointer], :void],
|
690
762
|
|
691
|
-
# rlGetVersion
|
692
|
-
#
|
763
|
+
# @!method rlGetVersion()
|
764
|
+
# rlGetVersion : Get current OpenGL version
|
765
|
+
# @return [int]
|
693
766
|
[:rlGetVersion, :rlGetVersion, [], :int],
|
694
767
|
|
695
|
-
# rlSetFramebufferWidth
|
696
|
-
#
|
697
|
-
#
|
768
|
+
# @!method rlSetFramebufferWidth(width)
|
769
|
+
# rlSetFramebufferWidth : Set current framebuffer width
|
770
|
+
# @param width [int]
|
771
|
+
# @return [void]
|
698
772
|
[:rlSetFramebufferWidth, :rlSetFramebufferWidth, [:int], :void],
|
699
773
|
|
700
|
-
# rlGetFramebufferWidth
|
701
|
-
#
|
774
|
+
# @!method rlGetFramebufferWidth()
|
775
|
+
# rlGetFramebufferWidth : Get default framebuffer width
|
776
|
+
# @return [int]
|
702
777
|
[:rlGetFramebufferWidth, :rlGetFramebufferWidth, [], :int],
|
703
778
|
|
704
|
-
# rlSetFramebufferHeight
|
705
|
-
#
|
706
|
-
#
|
779
|
+
# @!method rlSetFramebufferHeight(height)
|
780
|
+
# rlSetFramebufferHeight : Set current framebuffer height
|
781
|
+
# @param height [int]
|
782
|
+
# @return [void]
|
707
783
|
[:rlSetFramebufferHeight, :rlSetFramebufferHeight, [:int], :void],
|
708
784
|
|
709
|
-
# rlGetFramebufferHeight
|
710
|
-
#
|
785
|
+
# @!method rlGetFramebufferHeight()
|
786
|
+
# rlGetFramebufferHeight : Get default framebuffer height
|
787
|
+
# @return [int]
|
711
788
|
[:rlGetFramebufferHeight, :rlGetFramebufferHeight, [], :int],
|
712
789
|
|
713
|
-
# rlGetTextureIdDefault
|
714
|
-
#
|
790
|
+
# @!method rlGetTextureIdDefault()
|
791
|
+
# rlGetTextureIdDefault : Get default texture id
|
792
|
+
# @return [unsigned int]
|
715
793
|
[:rlGetTextureIdDefault, :rlGetTextureIdDefault, [], :uint],
|
716
794
|
|
717
|
-
# rlGetShaderIdDefault
|
718
|
-
#
|
795
|
+
# @!method rlGetShaderIdDefault()
|
796
|
+
# rlGetShaderIdDefault : Get default shader id
|
797
|
+
# @return [unsigned int]
|
719
798
|
[:rlGetShaderIdDefault, :rlGetShaderIdDefault, [], :uint],
|
720
799
|
|
721
|
-
# rlGetShaderLocsDefault
|
722
|
-
#
|
800
|
+
# @!method rlGetShaderLocsDefault()
|
801
|
+
# rlGetShaderLocsDefault : Get default shader locations
|
802
|
+
# @return [int *]
|
723
803
|
[:rlGetShaderLocsDefault, :rlGetShaderLocsDefault, [], :pointer],
|
724
804
|
|
725
|
-
# rlLoadRenderBatch
|
726
|
-
#
|
727
|
-
#
|
728
|
-
#
|
805
|
+
# @!method rlLoadRenderBatch(numBuffers, bufferElements)
|
806
|
+
# rlLoadRenderBatch : Load a render batch system
|
807
|
+
# @param numBuffers [int]
|
808
|
+
# @param bufferElements [int]
|
809
|
+
# @return [rlRenderBatch]
|
729
810
|
[:rlLoadRenderBatch, :rlLoadRenderBatch, [:int, :int], RlRenderBatch.by_value],
|
730
811
|
|
731
|
-
# rlUnloadRenderBatch
|
732
|
-
#
|
733
|
-
#
|
812
|
+
# @!method rlUnloadRenderBatch(batch)
|
813
|
+
# rlUnloadRenderBatch : Unload render batch system
|
814
|
+
# @param batch [rlRenderBatch]
|
815
|
+
# @return [void]
|
734
816
|
[:rlUnloadRenderBatch, :rlUnloadRenderBatch, [RlRenderBatch.by_value], :void],
|
735
817
|
|
736
|
-
# rlDrawRenderBatch
|
737
|
-
#
|
738
|
-
#
|
818
|
+
# @!method rlDrawRenderBatch(batch)
|
819
|
+
# rlDrawRenderBatch : Draw render batch data (Update->Draw->Reset)
|
820
|
+
# @param batch [rlRenderBatch *]
|
821
|
+
# @return [void]
|
739
822
|
[:rlDrawRenderBatch, :rlDrawRenderBatch, [:pointer], :void],
|
740
823
|
|
741
|
-
# rlSetRenderBatchActive
|
742
|
-
#
|
743
|
-
#
|
824
|
+
# @!method rlSetRenderBatchActive(batch)
|
825
|
+
# rlSetRenderBatchActive : Set the active render batch for rlgl (NULL for default internal)
|
826
|
+
# @param batch [rlRenderBatch *]
|
827
|
+
# @return [void]
|
744
828
|
[:rlSetRenderBatchActive, :rlSetRenderBatchActive, [:pointer], :void],
|
745
829
|
|
746
|
-
# rlDrawRenderBatchActive
|
747
|
-
#
|
830
|
+
# @!method rlDrawRenderBatchActive()
|
831
|
+
# rlDrawRenderBatchActive : Update and draw internal render batch
|
832
|
+
# @return [void]
|
748
833
|
[:rlDrawRenderBatchActive, :rlDrawRenderBatchActive, [], :void],
|
749
834
|
|
750
|
-
# rlCheckRenderBatchLimit
|
751
|
-
#
|
752
|
-
#
|
835
|
+
# @!method rlCheckRenderBatchLimit(vCount)
|
836
|
+
# rlCheckRenderBatchLimit : Check internal buffer overflow for a given number of vertex
|
837
|
+
# @param vCount [int]
|
838
|
+
# @return [bool]
|
753
839
|
[:rlCheckRenderBatchLimit, :rlCheckRenderBatchLimit, [:int], :bool],
|
754
840
|
|
755
|
-
# rlSetTexture
|
756
|
-
#
|
757
|
-
#
|
841
|
+
# @!method rlSetTexture(id)
|
842
|
+
# rlSetTexture : Set current texture for render batch and check buffers limits
|
843
|
+
# @param id [unsigned int]
|
844
|
+
# @return [void]
|
758
845
|
[:rlSetTexture, :rlSetTexture, [:uint], :void],
|
759
846
|
|
760
|
-
# rlLoadVertexArray
|
761
|
-
#
|
847
|
+
# @!method rlLoadVertexArray()
|
848
|
+
# rlLoadVertexArray : Load vertex array (vao) if supported
|
849
|
+
# @return [unsigned int]
|
762
850
|
[:rlLoadVertexArray, :rlLoadVertexArray, [], :uint],
|
763
851
|
|
764
|
-
# rlLoadVertexBuffer
|
765
|
-
#
|
766
|
-
#
|
767
|
-
#
|
768
|
-
#
|
852
|
+
# @!method rlLoadVertexBuffer(buffer, size, dynamic)
|
853
|
+
# rlLoadVertexBuffer : Load a vertex buffer attribute
|
854
|
+
# @param buffer [const void *]
|
855
|
+
# @param size [int]
|
856
|
+
# @param dynamic [bool]
|
857
|
+
# @return [unsigned int]
|
769
858
|
[:rlLoadVertexBuffer, :rlLoadVertexBuffer, [:pointer, :int, :bool], :uint],
|
770
859
|
|
771
|
-
# rlLoadVertexBufferElement
|
772
|
-
#
|
773
|
-
#
|
774
|
-
#
|
775
|
-
#
|
860
|
+
# @!method rlLoadVertexBufferElement(buffer, size, dynamic)
|
861
|
+
# rlLoadVertexBufferElement : Load a new attributes element buffer
|
862
|
+
# @param buffer [const void *]
|
863
|
+
# @param size [int]
|
864
|
+
# @param dynamic [bool]
|
865
|
+
# @return [unsigned int]
|
776
866
|
[:rlLoadVertexBufferElement, :rlLoadVertexBufferElement, [:pointer, :int, :bool], :uint],
|
777
867
|
|
778
|
-
# rlUpdateVertexBuffer
|
779
|
-
#
|
780
|
-
#
|
781
|
-
#
|
782
|
-
#
|
783
|
-
#
|
868
|
+
# @!method rlUpdateVertexBuffer(bufferId, data, dataSize, offset)
|
869
|
+
# rlUpdateVertexBuffer : Update GPU buffer with new data
|
870
|
+
# @param bufferId [unsigned int]
|
871
|
+
# @param data [const void *]
|
872
|
+
# @param dataSize [int]
|
873
|
+
# @param offset [int]
|
874
|
+
# @return [void]
|
784
875
|
[:rlUpdateVertexBuffer, :rlUpdateVertexBuffer, [:uint, :pointer, :int, :int], :void],
|
785
876
|
|
786
|
-
# rlUpdateVertexBufferElements
|
787
|
-
#
|
788
|
-
#
|
789
|
-
#
|
790
|
-
#
|
791
|
-
#
|
877
|
+
# @!method rlUpdateVertexBufferElements(id, data, dataSize, offset)
|
878
|
+
# rlUpdateVertexBufferElements : Update vertex buffer elements with new data
|
879
|
+
# @param id [unsigned int]
|
880
|
+
# @param data [const void *]
|
881
|
+
# @param dataSize [int]
|
882
|
+
# @param offset [int]
|
883
|
+
# @return [void]
|
792
884
|
[:rlUpdateVertexBufferElements, :rlUpdateVertexBufferElements, [:uint, :pointer, :int, :int], :void],
|
793
885
|
|
794
|
-
# rlUnloadVertexArray
|
795
|
-
#
|
796
|
-
#
|
886
|
+
# @!method rlUnloadVertexArray(vaoId)
|
887
|
+
# rlUnloadVertexArray
|
888
|
+
# @param vaoId [unsigned int]
|
889
|
+
# @return [void]
|
797
890
|
[:rlUnloadVertexArray, :rlUnloadVertexArray, [:uint], :void],
|
798
891
|
|
799
|
-
# rlUnloadVertexBuffer
|
800
|
-
#
|
801
|
-
#
|
892
|
+
# @!method rlUnloadVertexBuffer(vboId)
|
893
|
+
# rlUnloadVertexBuffer
|
894
|
+
# @param vboId [unsigned int]
|
895
|
+
# @return [void]
|
802
896
|
[:rlUnloadVertexBuffer, :rlUnloadVertexBuffer, [:uint], :void],
|
803
897
|
|
804
|
-
# rlSetVertexAttribute
|
805
|
-
#
|
806
|
-
#
|
807
|
-
#
|
808
|
-
#
|
809
|
-
#
|
810
|
-
#
|
811
|
-
#
|
898
|
+
# @!method rlSetVertexAttribute(index, compSize, type, normalized, stride, pointer)
|
899
|
+
# rlSetVertexAttribute
|
900
|
+
# @param index [unsigned int]
|
901
|
+
# @param compSize [int]
|
902
|
+
# @param type [int]
|
903
|
+
# @param normalized [bool]
|
904
|
+
# @param stride [int]
|
905
|
+
# @param pointer [const void *]
|
906
|
+
# @return [void]
|
812
907
|
[:rlSetVertexAttribute, :rlSetVertexAttribute, [:uint, :int, :int, :bool, :int, :pointer], :void],
|
813
908
|
|
814
|
-
# rlSetVertexAttributeDivisor
|
815
|
-
#
|
816
|
-
#
|
817
|
-
#
|
909
|
+
# @!method rlSetVertexAttributeDivisor(index, divisor)
|
910
|
+
# rlSetVertexAttributeDivisor
|
911
|
+
# @param index [unsigned int]
|
912
|
+
# @param divisor [int]
|
913
|
+
# @return [void]
|
818
914
|
[:rlSetVertexAttributeDivisor, :rlSetVertexAttributeDivisor, [:uint, :int], :void],
|
819
915
|
|
820
|
-
# rlSetVertexAttributeDefault
|
821
|
-
#
|
822
|
-
#
|
823
|
-
#
|
824
|
-
#
|
825
|
-
#
|
916
|
+
# @!method rlSetVertexAttributeDefault(locIndex, value, attribType, count)
|
917
|
+
# rlSetVertexAttributeDefault : Set vertex attribute default value
|
918
|
+
# @param locIndex [int]
|
919
|
+
# @param value [const void *]
|
920
|
+
# @param attribType [int]
|
921
|
+
# @param count [int]
|
922
|
+
# @return [void]
|
826
923
|
[:rlSetVertexAttributeDefault, :rlSetVertexAttributeDefault, [:int, :pointer, :int, :int], :void],
|
827
924
|
|
828
|
-
# rlDrawVertexArray
|
829
|
-
#
|
830
|
-
#
|
831
|
-
#
|
925
|
+
# @!method rlDrawVertexArray(offset, count)
|
926
|
+
# rlDrawVertexArray
|
927
|
+
# @param offset [int]
|
928
|
+
# @param count [int]
|
929
|
+
# @return [void]
|
832
930
|
[:rlDrawVertexArray, :rlDrawVertexArray, [:int, :int], :void],
|
833
931
|
|
834
|
-
# rlDrawVertexArrayElements
|
835
|
-
#
|
836
|
-
#
|
837
|
-
#
|
838
|
-
#
|
932
|
+
# @!method rlDrawVertexArrayElements(offset, count, buffer)
|
933
|
+
# rlDrawVertexArrayElements
|
934
|
+
# @param offset [int]
|
935
|
+
# @param count [int]
|
936
|
+
# @param buffer [const void *]
|
937
|
+
# @return [void]
|
839
938
|
[:rlDrawVertexArrayElements, :rlDrawVertexArrayElements, [:int, :int, :pointer], :void],
|
840
939
|
|
841
|
-
# rlDrawVertexArrayInstanced
|
842
|
-
#
|
843
|
-
#
|
844
|
-
#
|
845
|
-
#
|
940
|
+
# @!method rlDrawVertexArrayInstanced(offset, count, instances)
|
941
|
+
# rlDrawVertexArrayInstanced
|
942
|
+
# @param offset [int]
|
943
|
+
# @param count [int]
|
944
|
+
# @param instances [int]
|
945
|
+
# @return [void]
|
846
946
|
[:rlDrawVertexArrayInstanced, :rlDrawVertexArrayInstanced, [:int, :int, :int], :void],
|
847
947
|
|
848
|
-
# rlDrawVertexArrayElementsInstanced
|
849
|
-
#
|
850
|
-
#
|
851
|
-
#
|
852
|
-
#
|
853
|
-
#
|
948
|
+
# @!method rlDrawVertexArrayElementsInstanced(offset, count, buffer, instances)
|
949
|
+
# rlDrawVertexArrayElementsInstanced
|
950
|
+
# @param offset [int]
|
951
|
+
# @param count [int]
|
952
|
+
# @param buffer [const void *]
|
953
|
+
# @param instances [int]
|
954
|
+
# @return [void]
|
854
955
|
[:rlDrawVertexArrayElementsInstanced, :rlDrawVertexArrayElementsInstanced, [:int, :int, :pointer, :int], :void],
|
855
956
|
|
856
|
-
# rlLoadTexture
|
857
|
-
#
|
858
|
-
#
|
859
|
-
#
|
860
|
-
#
|
861
|
-
#
|
862
|
-
#
|
957
|
+
# @!method rlLoadTexture(data, width, height, format, mipmapCount)
|
958
|
+
# rlLoadTexture : Load texture in GPU
|
959
|
+
# @param data [const void *]
|
960
|
+
# @param width [int]
|
961
|
+
# @param height [int]
|
962
|
+
# @param format [int]
|
963
|
+
# @param mipmapCount [int]
|
964
|
+
# @return [unsigned int]
|
863
965
|
[:rlLoadTexture, :rlLoadTexture, [:pointer, :int, :int, :int, :int], :uint],
|
864
966
|
|
865
|
-
# rlLoadTextureDepth
|
866
|
-
#
|
867
|
-
#
|
868
|
-
#
|
869
|
-
#
|
967
|
+
# @!method rlLoadTextureDepth(width, height, useRenderBuffer)
|
968
|
+
# rlLoadTextureDepth : Load depth texture/renderbuffer (to be attached to fbo)
|
969
|
+
# @param width [int]
|
970
|
+
# @param height [int]
|
971
|
+
# @param useRenderBuffer [bool]
|
972
|
+
# @return [unsigned int]
|
870
973
|
[:rlLoadTextureDepth, :rlLoadTextureDepth, [:int, :int, :bool], :uint],
|
871
974
|
|
872
|
-
# rlLoadTextureCubemap
|
873
|
-
#
|
874
|
-
#
|
875
|
-
#
|
876
|
-
#
|
975
|
+
# @!method rlLoadTextureCubemap(data, size, format)
|
976
|
+
# rlLoadTextureCubemap : Load texture cubemap
|
977
|
+
# @param data [const void *]
|
978
|
+
# @param size [int]
|
979
|
+
# @param format [int]
|
980
|
+
# @return [unsigned int]
|
877
981
|
[:rlLoadTextureCubemap, :rlLoadTextureCubemap, [:pointer, :int, :int], :uint],
|
878
982
|
|
879
|
-
# rlUpdateTexture
|
880
|
-
#
|
881
|
-
#
|
882
|
-
#
|
883
|
-
#
|
884
|
-
#
|
885
|
-
#
|
886
|
-
#
|
887
|
-
#
|
983
|
+
# @!method rlUpdateTexture(id, offsetX, offsetY, width, height, format, data)
|
984
|
+
# rlUpdateTexture : Update GPU texture with new data
|
985
|
+
# @param id [unsigned int]
|
986
|
+
# @param offsetX [int]
|
987
|
+
# @param offsetY [int]
|
988
|
+
# @param width [int]
|
989
|
+
# @param height [int]
|
990
|
+
# @param format [int]
|
991
|
+
# @param data [const void *]
|
992
|
+
# @return [void]
|
888
993
|
[:rlUpdateTexture, :rlUpdateTexture, [:uint, :int, :int, :int, :int, :int, :pointer], :void],
|
889
994
|
|
890
|
-
# rlGetGlTextureFormats
|
891
|
-
#
|
892
|
-
#
|
893
|
-
#
|
894
|
-
#
|
895
|
-
#
|
995
|
+
# @!method rlGetGlTextureFormats(format, glInternalFormat, glFormat, glType)
|
996
|
+
# rlGetGlTextureFormats : Get OpenGL internal formats
|
997
|
+
# @param format [int]
|
998
|
+
# @param glInternalFormat [unsigned int *]
|
999
|
+
# @param glFormat [unsigned int *]
|
1000
|
+
# @param glType [unsigned int *]
|
1001
|
+
# @return [void]
|
896
1002
|
[:rlGetGlTextureFormats, :rlGetGlTextureFormats, [:int, :pointer, :pointer, :pointer], :void],
|
897
1003
|
|
898
|
-
# rlGetPixelFormatName
|
899
|
-
#
|
900
|
-
#
|
1004
|
+
# @!method rlGetPixelFormatName(format)
|
1005
|
+
# rlGetPixelFormatName : Get name string for pixel format
|
1006
|
+
# @param format [unsigned int]
|
1007
|
+
# @return [const char *]
|
901
1008
|
[:rlGetPixelFormatName, :rlGetPixelFormatName, [:uint], :pointer],
|
902
1009
|
|
903
|
-
# rlUnloadTexture
|
904
|
-
#
|
905
|
-
#
|
1010
|
+
# @!method rlUnloadTexture(id)
|
1011
|
+
# rlUnloadTexture : Unload texture from GPU memory
|
1012
|
+
# @param id [unsigned int]
|
1013
|
+
# @return [void]
|
906
1014
|
[:rlUnloadTexture, :rlUnloadTexture, [:uint], :void],
|
907
1015
|
|
908
|
-
# rlGenTextureMipmaps
|
909
|
-
#
|
910
|
-
#
|
911
|
-
#
|
912
|
-
#
|
913
|
-
#
|
914
|
-
#
|
1016
|
+
# @!method rlGenTextureMipmaps(id, width, height, format, mipmaps)
|
1017
|
+
# rlGenTextureMipmaps : Generate mipmap data for selected texture
|
1018
|
+
# @param id [unsigned int]
|
1019
|
+
# @param width [int]
|
1020
|
+
# @param height [int]
|
1021
|
+
# @param format [int]
|
1022
|
+
# @param mipmaps [int *]
|
1023
|
+
# @return [void]
|
915
1024
|
[:rlGenTextureMipmaps, :rlGenTextureMipmaps, [:uint, :int, :int, :int, :pointer], :void],
|
916
1025
|
|
917
|
-
# rlReadTexturePixels
|
918
|
-
#
|
919
|
-
#
|
920
|
-
#
|
921
|
-
#
|
922
|
-
#
|
1026
|
+
# @!method rlReadTexturePixels(id, width, height, format)
|
1027
|
+
# rlReadTexturePixels : Read texture pixel data
|
1028
|
+
# @param id [unsigned int]
|
1029
|
+
# @param width [int]
|
1030
|
+
# @param height [int]
|
1031
|
+
# @param format [int]
|
1032
|
+
# @return [void *]
|
923
1033
|
[:rlReadTexturePixels, :rlReadTexturePixels, [:uint, :int, :int, :int], :pointer],
|
924
1034
|
|
925
|
-
# rlReadScreenPixels
|
926
|
-
#
|
927
|
-
#
|
928
|
-
#
|
1035
|
+
# @!method rlReadScreenPixels(width, height)
|
1036
|
+
# rlReadScreenPixels : Read screen pixel data (color buffer)
|
1037
|
+
# @param width [int]
|
1038
|
+
# @param height [int]
|
1039
|
+
# @return [unsigned char *]
|
929
1040
|
[:rlReadScreenPixels, :rlReadScreenPixels, [:int, :int], :pointer],
|
930
1041
|
|
931
|
-
# rlLoadFramebuffer
|
932
|
-
#
|
933
|
-
#
|
934
|
-
#
|
1042
|
+
# @!method rlLoadFramebuffer(width, height)
|
1043
|
+
# rlLoadFramebuffer : Load an empty framebuffer
|
1044
|
+
# @param width [int]
|
1045
|
+
# @param height [int]
|
1046
|
+
# @return [unsigned int]
|
935
1047
|
[:rlLoadFramebuffer, :rlLoadFramebuffer, [:int, :int], :uint],
|
936
1048
|
|
937
|
-
# rlFramebufferAttach
|
938
|
-
#
|
939
|
-
#
|
940
|
-
#
|
941
|
-
#
|
942
|
-
#
|
943
|
-
#
|
1049
|
+
# @!method rlFramebufferAttach(fboId, texId, attachType, texType, mipLevel)
|
1050
|
+
# rlFramebufferAttach : Attach texture/renderbuffer to a framebuffer
|
1051
|
+
# @param fboId [unsigned int]
|
1052
|
+
# @param texId [unsigned int]
|
1053
|
+
# @param attachType [int]
|
1054
|
+
# @param texType [int]
|
1055
|
+
# @param mipLevel [int]
|
1056
|
+
# @return [void]
|
944
1057
|
[:rlFramebufferAttach, :rlFramebufferAttach, [:uint, :uint, :int, :int, :int], :void],
|
945
1058
|
|
946
|
-
# rlFramebufferComplete
|
947
|
-
#
|
948
|
-
#
|
1059
|
+
# @!method rlFramebufferComplete(id)
|
1060
|
+
# rlFramebufferComplete : Verify framebuffer is complete
|
1061
|
+
# @param id [unsigned int]
|
1062
|
+
# @return [bool]
|
949
1063
|
[:rlFramebufferComplete, :rlFramebufferComplete, [:uint], :bool],
|
950
1064
|
|
951
|
-
# rlUnloadFramebuffer
|
952
|
-
#
|
953
|
-
#
|
1065
|
+
# @!method rlUnloadFramebuffer(id)
|
1066
|
+
# rlUnloadFramebuffer : Delete framebuffer from GPU
|
1067
|
+
# @param id [unsigned int]
|
1068
|
+
# @return [void]
|
954
1069
|
[:rlUnloadFramebuffer, :rlUnloadFramebuffer, [:uint], :void],
|
955
1070
|
|
956
|
-
# rlLoadShaderCode
|
957
|
-
#
|
958
|
-
#
|
959
|
-
#
|
1071
|
+
# @!method rlLoadShaderCode(vsCode, fsCode)
|
1072
|
+
# rlLoadShaderCode : Load shader from code strings
|
1073
|
+
# @param vsCode [const char *]
|
1074
|
+
# @param fsCode [const char *]
|
1075
|
+
# @return [unsigned int]
|
960
1076
|
[:rlLoadShaderCode, :rlLoadShaderCode, [:pointer, :pointer], :uint],
|
961
1077
|
|
962
|
-
# rlCompileShader
|
963
|
-
#
|
964
|
-
#
|
965
|
-
#
|
1078
|
+
# @!method rlCompileShader(shaderCode, type)
|
1079
|
+
# rlCompileShader : Compile custom shader and return shader id (type: RL_VERTEX_SHADER, RL_FRAGMENT_SHADER, RL_COMPUTE_SHADER)
|
1080
|
+
# @param shaderCode [const char *]
|
1081
|
+
# @param type [int]
|
1082
|
+
# @return [unsigned int]
|
966
1083
|
[:rlCompileShader, :rlCompileShader, [:pointer, :int], :uint],
|
967
1084
|
|
968
|
-
# rlLoadShaderProgram
|
969
|
-
#
|
970
|
-
#
|
971
|
-
#
|
1085
|
+
# @!method rlLoadShaderProgram(vShaderId, fShaderId)
|
1086
|
+
# rlLoadShaderProgram : Load custom shader program
|
1087
|
+
# @param vShaderId [unsigned int]
|
1088
|
+
# @param fShaderId [unsigned int]
|
1089
|
+
# @return [unsigned int]
|
972
1090
|
[:rlLoadShaderProgram, :rlLoadShaderProgram, [:uint, :uint], :uint],
|
973
1091
|
|
974
|
-
# rlUnloadShaderProgram
|
975
|
-
#
|
976
|
-
#
|
1092
|
+
# @!method rlUnloadShaderProgram(id)
|
1093
|
+
# rlUnloadShaderProgram : Unload shader program
|
1094
|
+
# @param id [unsigned int]
|
1095
|
+
# @return [void]
|
977
1096
|
[:rlUnloadShaderProgram, :rlUnloadShaderProgram, [:uint], :void],
|
978
1097
|
|
979
|
-
# rlGetLocationUniform
|
980
|
-
#
|
981
|
-
#
|
982
|
-
#
|
1098
|
+
# @!method rlGetLocationUniform(shaderId, uniformName)
|
1099
|
+
# rlGetLocationUniform : Get shader location uniform
|
1100
|
+
# @param shaderId [unsigned int]
|
1101
|
+
# @param uniformName [const char *]
|
1102
|
+
# @return [int]
|
983
1103
|
[:rlGetLocationUniform, :rlGetLocationUniform, [:uint, :pointer], :int],
|
984
1104
|
|
985
|
-
# rlGetLocationAttrib
|
986
|
-
#
|
987
|
-
#
|
988
|
-
#
|
1105
|
+
# @!method rlGetLocationAttrib(shaderId, attribName)
|
1106
|
+
# rlGetLocationAttrib : Get shader location attribute
|
1107
|
+
# @param shaderId [unsigned int]
|
1108
|
+
# @param attribName [const char *]
|
1109
|
+
# @return [int]
|
989
1110
|
[:rlGetLocationAttrib, :rlGetLocationAttrib, [:uint, :pointer], :int],
|
990
1111
|
|
991
|
-
# rlSetUniform
|
992
|
-
#
|
993
|
-
#
|
994
|
-
#
|
995
|
-
#
|
996
|
-
#
|
1112
|
+
# @!method rlSetUniform(locIndex, value, uniformType, count)
|
1113
|
+
# rlSetUniform : Set shader value uniform
|
1114
|
+
# @param locIndex [int]
|
1115
|
+
# @param value [const void *]
|
1116
|
+
# @param uniformType [int]
|
1117
|
+
# @param count [int]
|
1118
|
+
# @return [void]
|
997
1119
|
[:rlSetUniform, :rlSetUniform, [:int, :pointer, :int, :int], :void],
|
998
1120
|
|
999
|
-
# rlSetUniformMatrix
|
1000
|
-
#
|
1001
|
-
#
|
1002
|
-
#
|
1121
|
+
# @!method rlSetUniformMatrix(locIndex, mat)
|
1122
|
+
# rlSetUniformMatrix : Set shader value matrix
|
1123
|
+
# @param locIndex [int]
|
1124
|
+
# @param mat [Matrix]
|
1125
|
+
# @return [void]
|
1003
1126
|
[:rlSetUniformMatrix, :rlSetUniformMatrix, [:int, Matrix.by_value], :void],
|
1004
1127
|
|
1005
|
-
# rlSetUniformSampler
|
1006
|
-
#
|
1007
|
-
#
|
1008
|
-
#
|
1128
|
+
# @!method rlSetUniformSampler(locIndex, textureId)
|
1129
|
+
# rlSetUniformSampler : Set shader value sampler
|
1130
|
+
# @param locIndex [int]
|
1131
|
+
# @param textureId [unsigned int]
|
1132
|
+
# @return [void]
|
1009
1133
|
[:rlSetUniformSampler, :rlSetUniformSampler, [:int, :uint], :void],
|
1010
1134
|
|
1011
|
-
# rlSetShader
|
1012
|
-
#
|
1013
|
-
#
|
1014
|
-
#
|
1135
|
+
# @!method rlSetShader(id, locs)
|
1136
|
+
# rlSetShader : Set shader currently active (id and locations)
|
1137
|
+
# @param id [unsigned int]
|
1138
|
+
# @param locs [int *]
|
1139
|
+
# @return [void]
|
1015
1140
|
[:rlSetShader, :rlSetShader, [:uint, :pointer], :void],
|
1016
1141
|
|
1017
|
-
# rlLoadComputeShaderProgram
|
1018
|
-
#
|
1019
|
-
#
|
1142
|
+
# @!method rlLoadComputeShaderProgram(shaderId)
|
1143
|
+
# rlLoadComputeShaderProgram : Load compute shader program
|
1144
|
+
# @param shaderId [unsigned int]
|
1145
|
+
# @return [unsigned int]
|
1020
1146
|
[:rlLoadComputeShaderProgram, :rlLoadComputeShaderProgram, [:uint], :uint],
|
1021
1147
|
|
1022
|
-
# rlComputeShaderDispatch
|
1023
|
-
#
|
1024
|
-
#
|
1025
|
-
#
|
1026
|
-
#
|
1148
|
+
# @!method rlComputeShaderDispatch(groupX, groupY, groupZ)
|
1149
|
+
# rlComputeShaderDispatch : Dispatch compute shader (equivalent to *draw* for graphics pipeline)
|
1150
|
+
# @param groupX [unsigned int]
|
1151
|
+
# @param groupY [unsigned int]
|
1152
|
+
# @param groupZ [unsigned int]
|
1153
|
+
# @return [void]
|
1027
1154
|
[:rlComputeShaderDispatch, :rlComputeShaderDispatch, [:uint, :uint, :uint], :void],
|
1028
1155
|
|
1029
|
-
# rlLoadShaderBuffer
|
1030
|
-
#
|
1031
|
-
#
|
1032
|
-
#
|
1033
|
-
#
|
1156
|
+
# @!method rlLoadShaderBuffer(size, data, usageHint)
|
1157
|
+
# rlLoadShaderBuffer : Load shader storage buffer object (SSBO)
|
1158
|
+
# @param size [unsigned int]
|
1159
|
+
# @param data [const void *]
|
1160
|
+
# @param usageHint [int]
|
1161
|
+
# @return [unsigned int]
|
1034
1162
|
[:rlLoadShaderBuffer, :rlLoadShaderBuffer, [:uint, :pointer, :int], :uint],
|
1035
1163
|
|
1036
|
-
# rlUnloadShaderBuffer
|
1037
|
-
#
|
1038
|
-
#
|
1164
|
+
# @!method rlUnloadShaderBuffer(ssboId)
|
1165
|
+
# rlUnloadShaderBuffer : Unload shader storage buffer object (SSBO)
|
1166
|
+
# @param ssboId [unsigned int]
|
1167
|
+
# @return [void]
|
1039
1168
|
[:rlUnloadShaderBuffer, :rlUnloadShaderBuffer, [:uint], :void],
|
1040
1169
|
|
1041
|
-
# rlUpdateShaderBuffer
|
1042
|
-
#
|
1043
|
-
#
|
1044
|
-
#
|
1045
|
-
#
|
1046
|
-
#
|
1170
|
+
# @!method rlUpdateShaderBuffer(id, data, dataSize, offset)
|
1171
|
+
# rlUpdateShaderBuffer : Update SSBO buffer data
|
1172
|
+
# @param id [unsigned int]
|
1173
|
+
# @param data [const void *]
|
1174
|
+
# @param dataSize [unsigned int]
|
1175
|
+
# @param offset [unsigned int]
|
1176
|
+
# @return [void]
|
1047
1177
|
[:rlUpdateShaderBuffer, :rlUpdateShaderBuffer, [:uint, :pointer, :uint, :uint], :void],
|
1048
1178
|
|
1049
|
-
# rlBindShaderBuffer
|
1050
|
-
#
|
1051
|
-
#
|
1052
|
-
#
|
1179
|
+
# @!method rlBindShaderBuffer(id, index)
|
1180
|
+
# rlBindShaderBuffer : Bind SSBO buffer
|
1181
|
+
# @param id [unsigned int]
|
1182
|
+
# @param index [unsigned int]
|
1183
|
+
# @return [void]
|
1053
1184
|
[:rlBindShaderBuffer, :rlBindShaderBuffer, [:uint, :uint], :void],
|
1054
1185
|
|
1055
|
-
# rlReadShaderBuffer
|
1056
|
-
#
|
1057
|
-
#
|
1058
|
-
#
|
1059
|
-
#
|
1060
|
-
#
|
1186
|
+
# @!method rlReadShaderBuffer(id, dest, count, offset)
|
1187
|
+
# rlReadShaderBuffer : Read SSBO buffer data (GPU->CPU)
|
1188
|
+
# @param id [unsigned int]
|
1189
|
+
# @param dest [void *]
|
1190
|
+
# @param count [unsigned int]
|
1191
|
+
# @param offset [unsigned int]
|
1192
|
+
# @return [void]
|
1061
1193
|
[:rlReadShaderBuffer, :rlReadShaderBuffer, [:uint, :pointer, :uint, :uint], :void],
|
1062
1194
|
|
1063
|
-
# rlCopyShaderBuffer
|
1064
|
-
#
|
1065
|
-
#
|
1066
|
-
#
|
1067
|
-
#
|
1068
|
-
#
|
1069
|
-
#
|
1195
|
+
# @!method rlCopyShaderBuffer(destId, srcId, destOffset, srcOffset, count)
|
1196
|
+
# rlCopyShaderBuffer : Copy SSBO data between buffers
|
1197
|
+
# @param destId [unsigned int]
|
1198
|
+
# @param srcId [unsigned int]
|
1199
|
+
# @param destOffset [unsigned int]
|
1200
|
+
# @param srcOffset [unsigned int]
|
1201
|
+
# @param count [unsigned int]
|
1202
|
+
# @return [void]
|
1070
1203
|
[:rlCopyShaderBuffer, :rlCopyShaderBuffer, [:uint, :uint, :uint, :uint, :uint], :void],
|
1071
1204
|
|
1072
|
-
# rlGetShaderBufferSize
|
1073
|
-
#
|
1074
|
-
#
|
1205
|
+
# @!method rlGetShaderBufferSize(id)
|
1206
|
+
# rlGetShaderBufferSize : Get SSBO buffer size
|
1207
|
+
# @param id [unsigned int]
|
1208
|
+
# @return [unsigned int]
|
1075
1209
|
[:rlGetShaderBufferSize, :rlGetShaderBufferSize, [:uint], :uint],
|
1076
1210
|
|
1077
|
-
# rlBindImageTexture
|
1078
|
-
#
|
1079
|
-
#
|
1080
|
-
#
|
1081
|
-
#
|
1082
|
-
#
|
1211
|
+
# @!method rlBindImageTexture(id, index, format, readonly)
|
1212
|
+
# rlBindImageTexture : Bind image texture
|
1213
|
+
# @param id [unsigned int]
|
1214
|
+
# @param index [unsigned int]
|
1215
|
+
# @param format [int]
|
1216
|
+
# @param readonly [bool]
|
1217
|
+
# @return [void]
|
1083
1218
|
[:rlBindImageTexture, :rlBindImageTexture, [:uint, :uint, :int, :bool], :void],
|
1084
1219
|
|
1085
|
-
# rlGetMatrixModelview
|
1086
|
-
#
|
1220
|
+
# @!method rlGetMatrixModelview()
|
1221
|
+
# rlGetMatrixModelview : Get internal modelview matrix
|
1222
|
+
# @return [Matrix]
|
1087
1223
|
[:rlGetMatrixModelview, :rlGetMatrixModelview, [], Matrix.by_value],
|
1088
1224
|
|
1089
|
-
# rlGetMatrixProjection
|
1090
|
-
#
|
1225
|
+
# @!method rlGetMatrixProjection()
|
1226
|
+
# rlGetMatrixProjection : Get internal projection matrix
|
1227
|
+
# @return [Matrix]
|
1091
1228
|
[:rlGetMatrixProjection, :rlGetMatrixProjection, [], Matrix.by_value],
|
1092
1229
|
|
1093
|
-
# rlGetMatrixTransform
|
1094
|
-
#
|
1230
|
+
# @!method rlGetMatrixTransform()
|
1231
|
+
# rlGetMatrixTransform : Get internal accumulated transform matrix
|
1232
|
+
# @return [Matrix]
|
1095
1233
|
[:rlGetMatrixTransform, :rlGetMatrixTransform, [], Matrix.by_value],
|
1096
1234
|
|
1097
|
-
# rlGetMatrixProjectionStereo
|
1098
|
-
#
|
1099
|
-
#
|
1235
|
+
# @!method rlGetMatrixProjectionStereo(eye)
|
1236
|
+
# rlGetMatrixProjectionStereo : Get internal projection matrix for stereo render (selected eye)
|
1237
|
+
# @param eye [int]
|
1238
|
+
# @return [Matrix]
|
1100
1239
|
[:rlGetMatrixProjectionStereo, :rlGetMatrixProjectionStereo, [:int], Matrix.by_value],
|
1101
1240
|
|
1102
|
-
# rlGetMatrixViewOffsetStereo
|
1103
|
-
#
|
1104
|
-
#
|
1241
|
+
# @!method rlGetMatrixViewOffsetStereo(eye)
|
1242
|
+
# rlGetMatrixViewOffsetStereo : Get internal view offset matrix for stereo render (selected eye)
|
1243
|
+
# @param eye [int]
|
1244
|
+
# @return [Matrix]
|
1105
1245
|
[:rlGetMatrixViewOffsetStereo, :rlGetMatrixViewOffsetStereo, [:int], Matrix.by_value],
|
1106
1246
|
|
1107
|
-
# rlSetMatrixProjection
|
1108
|
-
#
|
1109
|
-
#
|
1247
|
+
# @!method rlSetMatrixProjection(proj)
|
1248
|
+
# rlSetMatrixProjection : Set a custom projection matrix (replaces internal projection matrix)
|
1249
|
+
# @param proj [Matrix]
|
1250
|
+
# @return [void]
|
1110
1251
|
[:rlSetMatrixProjection, :rlSetMatrixProjection, [Matrix.by_value], :void],
|
1111
1252
|
|
1112
|
-
# rlSetMatrixModelview
|
1113
|
-
#
|
1114
|
-
#
|
1253
|
+
# @!method rlSetMatrixModelview(view)
|
1254
|
+
# rlSetMatrixModelview : Set a custom modelview matrix (replaces internal modelview matrix)
|
1255
|
+
# @param view [Matrix]
|
1256
|
+
# @return [void]
|
1115
1257
|
[:rlSetMatrixModelview, :rlSetMatrixModelview, [Matrix.by_value], :void],
|
1116
1258
|
|
1117
|
-
# rlSetMatrixProjectionStereo
|
1118
|
-
#
|
1119
|
-
#
|
1120
|
-
#
|
1259
|
+
# @!method rlSetMatrixProjectionStereo(right, left)
|
1260
|
+
# rlSetMatrixProjectionStereo : Set eyes projection matrices for stereo rendering
|
1261
|
+
# @param right [Matrix]
|
1262
|
+
# @param left [Matrix]
|
1263
|
+
# @return [void]
|
1121
1264
|
[:rlSetMatrixProjectionStereo, :rlSetMatrixProjectionStereo, [Matrix.by_value, Matrix.by_value], :void],
|
1122
1265
|
|
1123
|
-
# rlSetMatrixViewOffsetStereo
|
1124
|
-
#
|
1125
|
-
#
|
1126
|
-
#
|
1266
|
+
# @!method rlSetMatrixViewOffsetStereo(right, left)
|
1267
|
+
# rlSetMatrixViewOffsetStereo : Set eyes view offsets matrices for stereo rendering
|
1268
|
+
# @param right [Matrix]
|
1269
|
+
# @param left [Matrix]
|
1270
|
+
# @return [void]
|
1127
1271
|
[:rlSetMatrixViewOffsetStereo, :rlSetMatrixViewOffsetStereo, [Matrix.by_value, Matrix.by_value], :void],
|
1128
1272
|
|
1129
|
-
# rlLoadDrawCube
|
1130
|
-
#
|
1273
|
+
# @!method rlLoadDrawCube()
|
1274
|
+
# rlLoadDrawCube : Load and draw a cube
|
1275
|
+
# @return [void]
|
1131
1276
|
[:rlLoadDrawCube, :rlLoadDrawCube, [], :void],
|
1132
1277
|
|
1133
|
-
# rlLoadDrawQuad
|
1134
|
-
#
|
1278
|
+
# @!method rlLoadDrawQuad()
|
1279
|
+
# rlLoadDrawQuad : Load and draw a quad
|
1280
|
+
# @return [void]
|
1135
1281
|
[:rlLoadDrawQuad, :rlLoadDrawQuad, [], :void],
|
1136
1282
|
]
|
1137
1283
|
entries.each do |entry|
|