Class: Roglew::RenderbufferContextEXT
- Inherits:
-
Object
- Object
- Roglew::RenderbufferContextEXT
- Defined in:
- lib/roglew/extensions/GL_EXT_framebuffer_object/renderbuffer_context.rb
Instance Method Summary collapse
-
#initialize(renderbuffer, deferred, &block) ⇒ RenderbufferContextEXT
constructor
A new instance of RenderbufferContextEXT.
- #storage(width, height, internal_format) ⇒ Object
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 |