Struct nannou::ui::backend::glium::glium::framebuffer::StencilRenderBuffer[][src]

pub struct StencilRenderBuffer { /* fields omitted */ }

A render buffer is similar to a texture, but is optimized for usage as a draw target.

Contrary to a texture, you can't sample or modify the content of the StencilRenderBuffer directly.

Methods

impl StencilRenderBuffer
[src]

Builds a new render buffer.

Methods from Deref<Target = RenderBufferAny>

Returns the dimensions of the render buffer.

Returns the number of samples of the render buffer, or None if multisampling isn't enabled.

Returns the context used to create this renderbuffer.

Returns the kind of renderbuffer.

Trait Implementations

impl DerefMut for StencilRenderBuffer
[src]

Mutably dereferences the value.

impl GlObject for StencilRenderBuffer
[src]

The type of identifier for this object.

Returns the id of the object.

impl<'a> ToStencilAttachment<'a> for &'a StencilRenderBuffer
[src]

Builds the StencilAttachment.

impl Deref for StencilRenderBuffer
[src]

The resulting type after dereferencing.

Dereferences the value.

Auto Trait Implementations