[go: up one dir, main page]

Struct gfx::core::pso::ConstantBufferSet []

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

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

Methods

impl<R> ConstantBufferSet<R> where R: Resources

fn new() -> ConstantBufferSet<R>

Create an empty set

Trait Implementations

impl<R> Debug for ConstantBufferSet<R> where R: Resources + Debug, R::Buffer: Debug

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

Formats the value using the given formatter.

impl<R> Clone for ConstantBufferSet<R> where R: Resources + Clone, R::Buffer: Clone

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 for ConstantBufferSet<R> where R: Copy + Resources, R::Buffer: Copy