[go: up one dir, main page]

Struct gfx::core::pso::SamplerSet []

pub struct SamplerSet<R>(pub [Option<R::Sampler>; 16]) where R: Resources;

A complete set of samplers to be used for PSO.

Methods

impl<R> SamplerSet<R> where R: Resources

fn new() -> SamplerSet<R>

Create an empty set

Trait Implementations

impl<R> Debug for SamplerSet<R> where R: Resources + Debug, R::Sampler: Debug

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

Formats the value using the given formatter.

impl<R> Clone for SamplerSet<R> where R: Resources + Clone, R::Sampler: Clone

fn clone(&self) -> SamplerSet<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 SamplerSet<R> where R: Copy + Resources, R::Sampler: Copy