danini-the-panini/mittsu-opengl

View on GitHub
lib/mittsu/opengl/buffer.rb

Summary

Maintainability
A
0 mins
Test Coverage
C
71%
module Mittsu
  class OpenGL::Buffer < Struct.new(:buffer, :object, :material, :z)
    attr_accessor :render, :transparent, :opaque

    def name
      "BUFFER(#{object.name})"
    end

    def id
      object.id
    end
  end
end