Struct amethyst_renderer::TargetBuilder [] [src]

pub struct TargetBuilder { /* fields omitted */ }

Builds new render targets.

By default, it creates render targets with one color buffer and no depth-stencil buffer.

Methods

impl TargetBuilder
[src]

[src]

Creates a new TargetBuilder.

[src]

Sets whether this render target should have a depth-stencil buffer.

By default, render targets have no depth-stencil buffers included.

[src]

Sets how many color buffers the render target will have. This number must be greater than zero or else build() will fail.

By default, render targets have only one color buffer.

[src]

Specifies a custom target size.

Trait Implementations

impl Clone for TargetBuilder
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for TargetBuilder
[src]

[src]

Formats the value using the given formatter.

impl Eq for TargetBuilder
[src]

impl PartialEq for TargetBuilder
[src]

[src]

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

[src]

This method tests for !=.