Class: Gosu::GLTexInfo
- Inherits:
-
Object
- Object
- Gosu::GLTexInfo
- Defined in:
- reference/gosu.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. nil will be returned instead by images that are too large for a single texture.)
See examples/OpenGLIntegration.rb.
Instance Attribute Summary (collapse)
-
- (Object) bottom
readonly
Returns the value of attribute bottom.
-
- (Object) left
readonly
Returns the value of attribute left.
-
- (Object) right
readonly
Returns the value of attribute right.
-
- (Object) tex_name
readonly
Returns the value of attribute tex_name.
-
- (Object) top
readonly
Returns the value of attribute top.
Instance Attribute Details
- (Object) bottom (readonly)
Returns the value of attribute bottom
639 640 641 |
# File 'reference/gosu.rb', line 639 def bottom @bottom end |
- (Object) left (readonly)
Returns the value of attribute left
639 640 641 |
# File 'reference/gosu.rb', line 639 def left @left end |
- (Object) right (readonly)
Returns the value of attribute right
639 640 641 |
# File 'reference/gosu.rb', line 639 def right @right end |
- (Object) tex_name (readonly)
Returns the value of attribute tex_name
639 640 641 |
# File 'reference/gosu.rb', line 639 def tex_name @tex_name end |
- (Object) top (readonly)
Returns the value of attribute top
639 640 641 |
# File 'reference/gosu.rb', line 639 def top @top end |