Class: RenderData

Inherits:
Struct
  • Object
show all
Defined in:
lib/belts_opengl/components/render_data.rb

Instance Attribute Summary collapse

Instance Attribute Details

#colorObject

Returns the value of attribute color

Returns:

  • (Object)

    the current value of color



1
2
3
# File 'lib/belts_opengl/components/render_data.rb', line 1

def color
  @color
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



1
2
3
# File 'lib/belts_opengl/components/render_data.rb', line 1

def type
  @type
end