Struct glitter::context::framebuffer_context::FramebufferBinder [] [src]

pub struct FramebufferBinder { /* fields omitted */ }

The OpenGL state representing the GL_FRAMEBUFFER target.

Methods

impl FramebufferBinder
[src]

[src]

Get the current GL_FRAMEBUFFER binder.

Safety

The same rules apply to this method as the ContextOf::current_context() method.

[src]

Get the current GL_FRAMEBUFFER binding.

Safety

This function should not be used to create an aliasing framebuffer binding.

[src]

Bind a framebuffer to the GL_FRAMEBUFFER target, returning a binding.