Sha256: 431498c714dc98dda902d7308270ceb090ef50bc6d4de7a38d719e4a295a49d4

Contents?: true

Size: 231 Bytes

Versions: 2

Compression:

Stored size: 231 Bytes

Contents

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mittsu-opengl-0.5.1 lib/mittsu/opengl/buffer.rb
mittsu-opengl-0.5.0 lib/mittsu/opengl/buffer.rb