Class: Gosu::GLTexInfo

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#bottomObject

Returns the value of attribute bottom

Returns:

  • (Object)

    the current value of bottom



5
6
7
# File 'lib/gosu_android/graphics/imageData.rb', line 5

def bottom
  @bottom
end

#leftObject

Returns the value of attribute left

Returns:

  • (Object)

    the current value of left



5
6
7
# File 'lib/gosu_android/graphics/imageData.rb', line 5

def left
  @left
end

#rightObject

Returns the value of attribute right

Returns:

  • (Object)

    the current value of right



5
6
7
# File 'lib/gosu_android/graphics/imageData.rb', line 5

def right
  @right
end

#tex_nameObject

Returns the value of attribute tex_name

Returns:

  • (Object)

    the current value of tex_name



5
6
7
# File 'lib/gosu_android/graphics/imageData.rb', line 5

def tex_name
  @tex_name
end

#topObject

Returns the value of attribute top

Returns:

  • (Object)

    the current value of top



5
6
7
# File 'lib/gosu_android/graphics/imageData.rb', line 5

def top
  @top
end