Struct amethyst_renderer::Target []

pub struct Target { /* fields omitted */ }

A render target.

Each render target contains a certain number of color buffers and an optional depth buffer.

Methods

impl Target
[src]

Creates a new TargetBuilder with the given name.

Clears all color buffers to the given value.

Clears the depth stencil buffer to the given value.

Returns the width and height of the render target, measured in pixels.

Returns the color buffer with index i.

Returns an array slice of the render target's color buffers.

Returns the render target's depth-stencil buffer, if it has one.

Trait Implementations

impl Clone for Target
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Target
[src]

Formats the value using the given formatter.

impl PartialEq for Target
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.