Class: Raylib::Texture
- Inherits:
-
FFI::Struct
- Object
- FFI::Struct
- Raylib::Texture
- Defined in:
- lib/raylib_main.rb
Overview
Texture, tex data stored in GPU memory (VRAM)
Instance Method Summary collapse
- #format ⇒ Object
- #format=(v) ⇒ Object
- #height ⇒ Object
- #height=(v) ⇒ Object
- #id ⇒ Object
- #id=(v) ⇒ Object
- #mipmaps ⇒ Object
- #mipmaps=(v) ⇒ Object
- #width ⇒ Object
- #width=(v) ⇒ Object
Instance Method Details
#format ⇒ Object
597 |
# File 'lib/raylib_main.rb', line 597 def format = self[:format] |
#format=(v) ⇒ Object
598 |
# File 'lib/raylib_main.rb', line 598 def format=(v) self[:format] = v end |
#height ⇒ Object
593 |
# File 'lib/raylib_main.rb', line 593 def height = self[:height] |
#height=(v) ⇒ Object
594 |
# File 'lib/raylib_main.rb', line 594 def height=(v) self[:height] = v end |
#id ⇒ Object
589 |
# File 'lib/raylib_main.rb', line 589 def id = self[:id] |
#id=(v) ⇒ Object
590 |
# File 'lib/raylib_main.rb', line 590 def id=(v) self[:id] = v end |
#mipmaps ⇒ Object
595 |
# File 'lib/raylib_main.rb', line 595 def mipmaps = self[:mipmaps] |
#mipmaps=(v) ⇒ Object
596 |
# File 'lib/raylib_main.rb', line 596 def mipmaps=(v) self[:mipmaps] = v end |
#width ⇒ Object
591 |
# File 'lib/raylib_main.rb', line 591 def width = self[:width] |
#width=(v) ⇒ Object
592 |
# File 'lib/raylib_main.rb', line 592 def width=(v) self[:width] = v end |