Struct gfx::pso::RawDataSet [] [src]

pub struct RawDataSet<R: Resources> {
    pub vertex_buffers: VertexBufferSet<R>,
    pub constant_buffers: Vec<ConstantBufferParam<R>>,
    pub global_constants: Vec<(Location, UniformValue)>,
    pub resource_views: Vec<ResourceViewParam<R>>,
    pub unordered_views: Vec<UnorderedViewParam<R>>,
    pub samplers: Vec<SamplerParam<R>>,
    pub pixel_targets: PixelTargetSet<R>,
    pub ref_values: RefValues,
    pub scissor: Rect,
}

A complete set of raw data that needs to be specified at run-time whenever we draw something with a PSO. This is what "data" struct gets transformed into when we call encoder.draw(...) with it. It doesn't have any typing information, since PSO knows what format and layout to expect from each resource.

Fields

Methods

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

Create an empty data set.

Clear all contained data.

Trait Implementations

impl<R: Clone + Resources> Clone for RawDataSet<R>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<R: Debug + Resources> Debug for RawDataSet<R>
[src]

Formats the value using the given formatter.

impl<R: PartialEq + Resources> PartialEq for RawDataSet<R>
[src]

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

This method tests for !=.