Class: Raylib::Texture

Inherits:
FFI::Struct
  • Object
show all
Defined in:
lib/raylib_main.rb

Overview

Texture, tex data stored in GPU memory (VRAM)

Instance Method Summary collapse

Instance Method Details

#formatObject



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

#heightObject



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

#idObject



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

#mipmapsObject



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

#widthObject



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