Struct glium::framebuffer::StencilRenderBuffer [] [src]

pub struct StencilRenderBuffer {
    // some 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

fn new<F>(facade: &F, format: StencilFormat, width: u32, height: u32) -> StencilRenderBuffer where F: Facade

Builds a new render buffer.

Methods from Deref<Target=RenderBufferAny>

fn get_dimensions(&self) -> (u32, u32)

Returns the dimensions of the render buffer.

Trait Implementations

impl ToStencilAttachment for StencilRenderBuffer

fn to_stencil_attachment(&self) -> StencilAttachment

impl Deref for StencilRenderBuffer

type Target = RenderBufferAny

fn deref(&self) -> &RenderBufferAny

impl DerefMut for StencilRenderBuffer

fn deref_mut(&mut self) -> &mut RenderBufferAny

impl GlObject for StencilRenderBuffer

type Id = GLuint

fn get_id(&self) -> GLuint