Class: Gosu::GLTexInfo
- Inherits:
-
Struct
- Object
- Struct
- Gosu::GLTexInfo
- Defined in:
- lib/gosu_android/graphics/imageData.rb
Overview
Contains information about the underlying OpenGL texture and the u/v space used for image data. Can be retrieved from some images to use them in OpenGL operations.
Instance Attribute Summary collapse
-
#bottom ⇒ Object
Returns the value of attribute bottom.
-
#left ⇒ Object
Returns the value of attribute left.
-
#right ⇒ Object
Returns the value of attribute right.
-
#tex_name ⇒ Object
Returns the value of attribute tex_name.
-
#top ⇒ Object
Returns the value of attribute top.
Instance Attribute Details
#bottom ⇒ Object
Returns the value of attribute bottom
5 6 7 |
# File 'lib/gosu_android/graphics/imageData.rb', line 5 def bottom @bottom end |
#left ⇒ Object
Returns the value of attribute left
5 6 7 |
# File 'lib/gosu_android/graphics/imageData.rb', line 5 def left @left end |
#right ⇒ Object
Returns the value of attribute right
5 6 7 |
# File 'lib/gosu_android/graphics/imageData.rb', line 5 def right @right end |
#tex_name ⇒ Object
Returns the value of attribute tex_name
5 6 7 |
# File 'lib/gosu_android/graphics/imageData.rb', line 5 def tex_name @tex_name end |
#top ⇒ Object
Returns the value of attribute top
5 6 7 |
# File 'lib/gosu_android/graphics/imageData.rb', line 5 def top @top end |