Class: Roglew::RenderbufferContextEXT

Inherits:
Object
  • Object
show all
Defined in:
lib/roglew/extensions/GL_EXT_framebuffer_object/renderbuffer_context.rb

Instance Method Summary collapse

Constructor Details

#initialize(renderbuffer, deferred, &block) ⇒ RenderbufferContextEXT

Returns a new instance of RenderbufferContextEXT.



29
30
31
# File 'lib/roglew/extensions/GL_EXT_framebuffer_object/renderbuffer_context.rb', line 29

def initialize(renderbuffer, deferred, &block)
  super
end

Instance Method Details

#storage(width, height, internal_format) ⇒ Object



33
34
35
# File 'lib/roglew/extensions/GL_EXT_framebuffer_object/renderbuffer_context.rb', line 33

def storage(width, height, internal_format)
  glRenderbufferStorageEXT(GL::RENDERBUFFER_EXT, internal_format, width, height)
end