Struct gfx_core::pso::PixelTargetSet [] [src]

pub struct PixelTargetSet<R: Resources> {
    pub colors: [Option<R::RenderTargetView>; 4],
    pub depth: Option<R::DepthStencilView>,
    pub stencil: Option<R::DepthStencilView>,
    pub size: Dimensions,
}

A complete set of render targets to be used for pixel export in PSO.

Fields

Array of color target views

Depth target view

Stencil target view

Rendering dimensions

Methods

impl<R: Resources> PixelTargetSet<R>
[src]

[src]

Create an empty set

[src]

Add a color view to the specified slot

[src]

Add a depth or stencil view to the specified slot

Trait Implementations

impl<R: Copy + Resources> Copy for PixelTargetSet<R> where
    R::RenderTargetView: Copy,
    R::DepthStencilView: Copy,
    R::DepthStencilView: Copy
[src]

impl<R: Clone + Resources> Clone for PixelTargetSet<R> where
    R::RenderTargetView: Clone,
    R::DepthStencilView: Clone,
    R::DepthStencilView: Clone
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<R: Debug + Resources> Debug for PixelTargetSet<R> where
    R::RenderTargetView: Debug,
    R::DepthStencilView: Debug,
    R::DepthStencilView: Debug
[src]

[src]

Formats the value using the given formatter. Read more