Struct gfx::pso::resource::Sampler
[−]
[src]
pub struct Sampler(_);
Sampler component.
- init: &str
= name of the sampler
- data: Sampler
pub struct Sampler(_);
Sampler component.
- init: &str
= name of the sampler
- data: Sampler
impl<'a> DataLink<'a> for Sampler
type Init = &'a str
fn new() -> Self
fn is_active(&self) -> bool
fn link_sampler(&mut self, var: &SamplerVar, init: &Self::Init) -> Option<()>
fn link_input(&mut self, _: &AttributeVar, _: &Self::Init) -> Option<Result<AttributeDesc, Format>>
fn link_constant_buffer(&mut self, _: &ConstantBufferVar, _: &Self::Init) -> Option<Result<(), ConstFormat>>
fn link_global_constant(&mut self, _: &ConstVar, _: &Self::Init) -> Option<Result<(), UniformValue>>
fn link_output(&mut self, _: &OutputVar, _: &Self::Init) -> Option<Result<ColorTargetDesc, Format>>
fn link_depth_stencil(&mut self, _: &Self::Init) -> Option<DepthStencilDesc>
fn link_resource_view(&mut self, _: &TextureVar, _: &Self::Init) -> Option<Result<(), Format>>
fn link_unordered_view(&mut self, _: &UnorderedVar, _: &Self::Init) -> Option<Result<(), Format>>
fn link_scissor(&mut self) -> bool
impl<R: Resources> DataBind<R> for Sampler
type Data = Sampler<R>
fn bind_to(&self, out: &mut RawDataSet<R>, data: &Self::Data, man: &mut Manager<R>)