Struct gfx::pso::RawDataSet [−][src]
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
vertex_buffers: VertexBufferSet<R>
constant_buffers: Vec<ConstantBufferParam<R>>
global_constants: Vec<(Location, UniformValue)>
resource_views: Vec<ResourceViewParam<R>>
unordered_views: Vec<UnorderedViewParam<R>>
samplers: Vec<SamplerParam<R>>
pixel_targets: PixelTargetSet<R>
ref_values: RefValues
scissor: Rect
Implementations
impl<R: Resources> RawDataSet<R>
[src]
pub fn new() -> RawDataSet<R>
[src]
Create an empty data set.
pub fn clear(&mut self)
[src]
Clear all contained data.
Trait Implementations
impl<R: Clone + Resources> Clone for RawDataSet<R>
[src]
fn clone(&self) -> RawDataSet<R>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<R: Debug + Resources> Debug for RawDataSet<R>
[src]
impl<R: PartialEq + Resources> PartialEq<RawDataSet<R>> for RawDataSet<R>
[src]
fn eq(&self, other: &RawDataSet<R>) -> bool
[src]
fn ne(&self, other: &RawDataSet<R>) -> bool
[src]
impl<R: Resources> StructuralPartialEq for RawDataSet<R>
[src]
Auto Trait Implementations
impl<R> RefUnwindSafe for RawDataSet<R> where
<R as Resources>::Buffer: RefUnwindSafe,
<R as Resources>::DepthStencilView: RefUnwindSafe,
<R as Resources>::RenderTargetView: RefUnwindSafe,
<R as Resources>::Sampler: RefUnwindSafe,
<R as Resources>::ShaderResourceView: RefUnwindSafe,
<R as Resources>::UnorderedAccessView: RefUnwindSafe,
<R as Resources>::Buffer: RefUnwindSafe,
<R as Resources>::DepthStencilView: RefUnwindSafe,
<R as Resources>::RenderTargetView: RefUnwindSafe,
<R as Resources>::Sampler: RefUnwindSafe,
<R as Resources>::ShaderResourceView: RefUnwindSafe,
<R as Resources>::UnorderedAccessView: RefUnwindSafe,
impl<R> Send for RawDataSet<R>
impl<R> Sync for RawDataSet<R>
impl<R> Unpin for RawDataSet<R> where
<R as Resources>::Buffer: Unpin,
<R as Resources>::DepthStencilView: Unpin,
<R as Resources>::RenderTargetView: Unpin,
<R as Resources>::Sampler: Unpin,
<R as Resources>::ShaderResourceView: Unpin,
<R as Resources>::UnorderedAccessView: Unpin,
<R as Resources>::Buffer: Unpin,
<R as Resources>::DepthStencilView: Unpin,
<R as Resources>::RenderTargetView: Unpin,
<R as Resources>::Sampler: Unpin,
<R as Resources>::ShaderResourceView: Unpin,
<R as Resources>::UnorderedAccessView: Unpin,
impl<R> UnwindSafe for RawDataSet<R> where
<R as Resources>::Buffer: UnwindSafe,
<R as Resources>::DepthStencilView: UnwindSafe,
<R as Resources>::RenderTargetView: UnwindSafe,
<R as Resources>::Sampler: UnwindSafe,
<R as Resources>::ShaderResourceView: UnwindSafe,
<R as Resources>::UnorderedAccessView: UnwindSafe,
<R as Resources>::Buffer: UnwindSafe,
<R as Resources>::DepthStencilView: UnwindSafe,
<R as Resources>::RenderTargetView: UnwindSafe,
<R as Resources>::Sampler: UnwindSafe,
<R as Resources>::ShaderResourceView: UnwindSafe,
<R as Resources>::UnorderedAccessView: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,