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