Struct gfx::pso::buffer::RawVertexBuffer
[−]
[src]
pub struct RawVertexBuffer(_);
Raw vertex/instance buffer component.
- init: ?
- data: RawBuffer
pub struct RawVertexBuffer(_);
Raw vertex/instance buffer component.
- init: ?
- data: RawBuffer
impl<'a> DataLink<'a> for RawVertexBuffer
type Init = &'a [(&'a str, Element<Format>, InstanceRate)]
fn new() -> Self
fn is_active(&self) -> bool
fn link_input(&mut self, at: &AttributeVar, init: &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_sampler(&mut self, _: &SamplerVar, _: &Self::Init) -> Option<()>
fn link_scissor(&mut self) -> bool
impl<R: Resources> DataBind<R> for RawVertexBuffer
type Data = RawBuffer<R>
fn bind_to(&self, out: &mut RawDataSet<R>, data: &Self::Data, man: &mut Manager<R>)