Struct easygpu::buffers::Framebuffer[][src]

pub struct Framebuffer {
    pub texture: Texture,
    pub depth: DepthBuffer,
}
Expand description

Off-screen framebuffer. Can be used as a render target in render passes.

Fields

texture: Texturedepth: DepthBuffer

Implementations

Size in pixels of the framebuffer.

Framebuffer width, in pixels.

Framebuffer height, in pixels.

Trait Implementations

Formats the value using the given formatter. Read more

Performs the conversion.

Color component.

Depth component.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.