Struct glium::framebuffer::DepthStencilRenderBuffer [] [src]

pub struct DepthStencilRenderBuffer { /* 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 DepthStencilRenderBuffer directly.

Methods

impl DepthStencilRenderBuffer
[src]

[src]

Builds a new render buffer.

Methods from Deref<Target = RenderBufferAny>

[src]

Returns the dimensions of the render buffer.

[src]

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

[src]

Returns the context used to create this renderbuffer.

[src]

Returns the kind of renderbuffer.

Trait Implementations

impl<'a> ToDepthStencilAttachment<'a> for &'a DepthStencilRenderBuffer
[src]

[src]

Builds the DepthStencilAttachment.

impl Deref for DepthStencilRenderBuffer
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.

impl DerefMut for DepthStencilRenderBuffer
[src]

[src]

Mutably dereferences the value.

impl GlObject for DepthStencilRenderBuffer
[src]

The type of identifier for this object.

[src]

Returns the id of the object.