Struct glium::framebuffer::EmptyFrameBuffer [] [src]

pub struct EmptyFrameBuffer { /* fields omitted */ }

A framebuffer with no attachment at all.

Note that this is only supported on recent hardware.

Methods

impl<'a> EmptyFrameBuffer
[src]

[src]

Returns true if empty framebuffers are supported by the backend.

[src]

Returns true if layered empty framebuffers are supported by the backend.

[src]

Returns the maximum width of empty framebuffers that the backend supports, or None if empty framebuffers are not supported.

[src]

Returns the maximum height of empty framebuffers that the backend supports, or None if empty framebuffers are not supported.

[src]

Returns the maximum number of samples of empty framebuffers that the backend supports, or None if empty framebuffers are not supported.

[src]

Returns the maximum number of layers of empty framebuffers that the backend supports, or None if layered empty framebuffers are not supported.

[src]

Creates a EmptyFrameBuffer.

Panic

Panics if layers or samples is equal to Some(0).

Trait Implementations

impl Surface for EmptyFrameBuffer
[src]

[src]

Clears some attachments of the target.

[src]

Returns the dimensions in pixels of the target.

[src]

Returns the number of bits of each pixel of the depth buffer. Read more

[src]

Returns the number of bits of each pixel of the stencil buffer. Read more

[src]

Draws. Read more

[src]

Copies a rectangle of pixels from this surface to another surface. Read more

[src]

Blits from the default framebuffer.

[src]

Blits from a simple framebuffer.

[src]

Blits from a multi-output framebuffer.

[src]

Clears the color attachment of the target.

[src]

Clears the color attachment of the target. The color is in sRGB format.

[src]

Clears the depth attachment of the target.

[src]

Clears the stencil attachment of the target.

[src]

Clears the color and depth attachments of the target.

[src]

Clears the color and depth attachments of the target. The color is in sRGB format.

[src]

Clears the color and stencil attachments of the target.

[src]

Clears the color and stencil attachments of the target. The color is in sRGB format.

[src]

Clears the depth and stencil attachments of the target.

[src]

Clears the color, depth and stencil attachments of the target.

[src]

Clears the color, depth and stencil attachments of the target. The color is in sRGB format.

[src]

Returns true if the surface has a depth buffer available.

[src]

Returns true if the surface has a stencil buffer available.

[src]

Copies the entire surface to a target surface. See blit_color.

[src]

Copies the entire surface to the entire target. See blit_color.