Struct gfx_core::pso::ConstantBufferSet [] [src]

pub struct ConstantBufferSet<R: Resources>(pub [Option<R::Buffer>; 16]);

A complete set of constant buffers to be used for the constants binding in PSO.

Methods

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

fn new() -> ConstantBufferSet<R>

Create an empty set

Trait Implementations

impl<R: Debug + Resources> Debug for ConstantBufferSet<R> where R::Buffer: Debug
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl<R: Clone + Resources> Clone for ConstantBufferSet<R> where R::Buffer: Clone
[src]

fn clone(&self) -> ConstantBufferSet<R>

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl<R: Copy + Resources> Copy for ConstantBufferSet<R> where R::Buffer: Copy
[src]