module GL_VERSION_1_2::RenderContext
Public Instance Methods
draw_range_elements(mode, indices)
click to toggle source
# File lib/roglew/extensions/GL_VERSION_1_2.rb, line 65 def draw_range_elements(mode, indices) p = FFI::MemoryPointer.new(:uint, indices.count) p.write_array_of_uint(indices) @rh.glDrawRangeElements(mode, 0, indices.count - 1, indices.count, GL::UNSIGNED_INT, p) end