Class: Mittsu::OpenGLBuffer
- Inherits:
-
Struct
- Object
- Struct
- Mittsu::OpenGLBuffer
- Defined in:
- lib/mittsu/renderers/opengl/opengl_buffer.rb
Instance Attribute Summary collapse
-
#buffer ⇒ Object
Returns the value of attribute buffer.
-
#material ⇒ Object
Returns the value of attribute material.
-
#object ⇒ Object
Returns the value of attribute object.
-
#opaque ⇒ Object
Returns the value of attribute opaque.
-
#render ⇒ Object
Returns the value of attribute render.
-
#transparent ⇒ Object
Returns the value of attribute transparent.
-
#z ⇒ Object
Returns the value of attribute z.
Instance Method Summary collapse
Instance Attribute Details
#buffer ⇒ Object
Returns the value of attribute buffer
2 3 4 |
# File 'lib/mittsu/renderers/opengl/opengl_buffer.rb', line 2 def buffer @buffer end |
#material ⇒ Object
Returns the value of attribute material
2 3 4 |
# File 'lib/mittsu/renderers/opengl/opengl_buffer.rb', line 2 def material @material end |
#object ⇒ Object
Returns the value of attribute object
2 3 4 |
# File 'lib/mittsu/renderers/opengl/opengl_buffer.rb', line 2 def object @object end |
#opaque ⇒ Object
Returns the value of attribute opaque.
3 4 5 |
# File 'lib/mittsu/renderers/opengl/opengl_buffer.rb', line 3 def opaque @opaque end |
#render ⇒ Object
Returns the value of attribute render.
3 4 5 |
# File 'lib/mittsu/renderers/opengl/opengl_buffer.rb', line 3 def render @render end |
#transparent ⇒ Object
Returns the value of attribute transparent.
3 4 5 |
# File 'lib/mittsu/renderers/opengl/opengl_buffer.rb', line 3 def transparent @transparent end |
#z ⇒ Object
Returns the value of attribute z
2 3 4 |
# File 'lib/mittsu/renderers/opengl/opengl_buffer.rb', line 2 def z @z end |
Instance Method Details
#id ⇒ Object
9 10 11 |
# File 'lib/mittsu/renderers/opengl/opengl_buffer.rb', line 9 def id object.id end |
#name ⇒ Object
5 6 7 |
# File 'lib/mittsu/renderers/opengl/opengl_buffer.rb', line 5 def name "BUFFER(#{object.name})" end |