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 dimensions: Option<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]

Create an empty set

Add a color view to the specified slot

Add a depth or stencil view to the specified slot

Get the rendering view (returns values > 0)

Trait Implementations

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

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

Formats the value using the given formatter. Read more

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

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

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

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

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

This method tests for !=.

Auto Trait Implementations

impl<R> Send for PixelTargetSet<R> where
    <R as Resources>::DepthStencilView: Send,
    <R as Resources>::RenderTargetView: Send

impl<R> Sync for PixelTargetSet<R> where
    <R as Resources>::DepthStencilView: Sync,
    <R as Resources>::RenderTargetView: Sync