Trait gfx::pso::DataBind [−][src]
The “bind” logic portion of the PSO component. Defines how the user data translates into the raw data set.
Associated Types
Loading content...Required methods
fn bind_to(
&self,
_: &mut RawDataSet<R>,
_: &Self::Data,
_: &mut Manager<R>,
_: &mut AccessInfo<R>
)
[src]
&self,
_: &mut RawDataSet<R>,
_: &Self::Data,
_: &mut Manager<R>,
_: &mut AccessInfo<R>
)
Dump the given data into the raw data set.
Implementors
impl<R: Resources> DataBind<R> for RawConstantBuffer
[src]
type Data = RawBuffer<R>
fn bind_to(
&self,
out: &mut RawDataSet<R>,
data: &Self::Data,
man: &mut Manager<R>,
access: &mut AccessInfo<R>
)
[src]
&self,
out: &mut RawDataSet<R>,
data: &Self::Data,
man: &mut Manager<R>,
access: &mut AccessInfo<R>
)
impl<R: Resources> DataBind<R> for RawGlobal
[src]
type Data = UniformValue
fn bind_to(
&self,
out: &mut RawDataSet<R>,
data: &Self::Data,
_: &mut Manager<R>,
_: &mut AccessInfo<R>
)
[src]
&self,
out: &mut RawDataSet<R>,
data: &Self::Data,
_: &mut Manager<R>,
_: &mut AccessInfo<R>
)
impl<R: Resources> DataBind<R> for RawVertexBuffer
[src]
type Data = RawBuffer<R>
fn bind_to(
&self,
out: &mut RawDataSet<R>,
data: &Self::Data,
man: &mut Manager<R>,
access: &mut AccessInfo<R>
)
[src]
&self,
out: &mut RawDataSet<R>,
data: &Self::Data,
man: &mut Manager<R>,
access: &mut AccessInfo<R>
)
impl<R: Resources> DataBind<R> for RawShaderResource
[src]
type Data = RawShaderResourceView<R>
fn bind_to(
&self,
out: &mut RawDataSet<R>,
data: &Self::Data,
man: &mut Manager<R>,
_: &mut AccessInfo<R>
)
[src]
&self,
out: &mut RawDataSet<R>,
data: &Self::Data,
man: &mut Manager<R>,
_: &mut AccessInfo<R>
)
impl<R: Resources> DataBind<R> for Sampler
[src]
type Data = Sampler<R>
fn bind_to(
&self,
out: &mut RawDataSet<R>,
data: &Self::Data,
man: &mut Manager<R>,
_: &mut AccessInfo<R>
)
[src]
&self,
out: &mut RawDataSet<R>,
data: &Self::Data,
man: &mut Manager<R>,
_: &mut AccessInfo<R>
)
impl<R: Resources> DataBind<R> for BlendRef
[src]
type Data = ColorValue
fn bind_to(
&self,
out: &mut RawDataSet<R>,
data: &Self::Data,
_: &mut Manager<R>,
_: &mut AccessInfo<R>
)
[src]
&self,
out: &mut RawDataSet<R>,
data: &Self::Data,
_: &mut Manager<R>,
_: &mut AccessInfo<R>
)
impl<R: Resources> DataBind<R> for RawRenderTarget
[src]
type Data = RawRenderTargetView<R>
fn bind_to(
&self,
out: &mut RawDataSet<R>,
data: &Self::Data,
man: &mut Manager<R>,
_: &mut AccessInfo<R>
)
[src]
&self,
out: &mut RawDataSet<R>,
data: &Self::Data,
man: &mut Manager<R>,
_: &mut AccessInfo<R>
)
impl<R: Resources> DataBind<R> for Scissor
[src]
type Data = Rect
fn bind_to(
&self,
out: &mut RawDataSet<R>,
data: &Self::Data,
_: &mut Manager<R>,
_: &mut AccessInfo<R>
)
[src]
&self,
out: &mut RawDataSet<R>,
data: &Self::Data,
_: &mut Manager<R>,
_: &mut AccessInfo<R>
)
impl<R: Resources, T> DataBind<R> for ShaderResource<T>
[src]
type Data = ShaderResourceView<R, T>
fn bind_to(
&self,
out: &mut RawDataSet<R>,
data: &Self::Data,
man: &mut Manager<R>,
access: &mut AccessInfo<R>
)
[src]
&self,
out: &mut RawDataSet<R>,
data: &Self::Data,
man: &mut Manager<R>,
access: &mut AccessInfo<R>
)
impl<R: Resources, T> DataBind<R> for TextureSampler<T>
[src]
type Data = (ShaderResourceView<R, T>, Sampler<R>)
fn bind_to(
&self,
out: &mut RawDataSet<R>,
data: &Self::Data,
man: &mut Manager<R>,
access: &mut AccessInfo<R>
)
[src]
&self,
out: &mut RawDataSet<R>,
data: &Self::Data,
man: &mut Manager<R>,
access: &mut AccessInfo<R>
)
impl<R: Resources, T> DataBind<R> for UnorderedAccess<T>
[src]
type Data = UnorderedAccessView<R, T>
fn bind_to(
&self,
out: &mut RawDataSet<R>,
data: &Self::Data,
man: &mut Manager<R>,
_: &mut AccessInfo<R>
)
[src]
&self,
out: &mut RawDataSet<R>,
data: &Self::Data,
man: &mut Manager<R>,
_: &mut AccessInfo<R>
)
impl<R: Resources, T> DataBind<R> for BlendTarget<T>
[src]
type Data = RenderTargetView<R, T>
fn bind_to(
&self,
out: &mut RawDataSet<R>,
data: &Self::Data,
man: &mut Manager<R>,
access: &mut AccessInfo<R>
)
[src]
&self,
out: &mut RawDataSet<R>,
data: &Self::Data,
man: &mut Manager<R>,
access: &mut AccessInfo<R>
)
impl<R: Resources, T> DataBind<R> for DepthStencilTarget<T>
[src]
type Data = (DepthStencilView<R, T>, (Stencil, Stencil))
fn bind_to(
&self,
out: &mut RawDataSet<R>,
data: &Self::Data,
man: &mut Manager<R>,
_: &mut AccessInfo<R>
)
[src]
&self,
out: &mut RawDataSet<R>,
data: &Self::Data,
man: &mut Manager<R>,
_: &mut AccessInfo<R>
)
impl<R: Resources, T> DataBind<R> for DepthTarget<T>
[src]
type Data = DepthStencilView<R, T>
fn bind_to(
&self,
out: &mut RawDataSet<R>,
data: &Self::Data,
man: &mut Manager<R>,
_: &mut AccessInfo<R>
)
[src]
&self,
out: &mut RawDataSet<R>,
data: &Self::Data,
man: &mut Manager<R>,
_: &mut AccessInfo<R>
)
impl<R: Resources, T> DataBind<R> for RenderTarget<T>
[src]
type Data = RenderTargetView<R, T>
fn bind_to(
&self,
out: &mut RawDataSet<R>,
data: &Self::Data,
man: &mut Manager<R>,
_: &mut AccessInfo<R>
)
[src]
&self,
out: &mut RawDataSet<R>,
data: &Self::Data,
man: &mut Manager<R>,
_: &mut AccessInfo<R>
)
impl<R: Resources, T> DataBind<R> for StencilTarget<T>
[src]
type Data = (DepthStencilView<R, T>, (Stencil, Stencil))
fn bind_to(
&self,
out: &mut RawDataSet<R>,
data: &Self::Data,
man: &mut Manager<R>,
_: &mut AccessInfo<R>
)
[src]
&self,
out: &mut RawDataSet<R>,
data: &Self::Data,
man: &mut Manager<R>,
_: &mut AccessInfo<R>
)
impl<R: Resources, T, I> DataBind<R> for VertexBufferCommon<T, I>
[src]
type Data = Buffer<R, T>
fn bind_to(
&self,
out: &mut RawDataSet<R>,
data: &Self::Data,
man: &mut Manager<R>,
access: &mut AccessInfo<R>
)
[src]
&self,
out: &mut RawDataSet<R>,
data: &Self::Data,
man: &mut Manager<R>,
access: &mut AccessInfo<R>
)
impl<R: Resources, T: Structure<ConstFormat>> DataBind<R> for ConstantBuffer<T>
[src]
type Data = Buffer<R, T>
fn bind_to(
&self,
out: &mut RawDataSet<R>,
data: &Self::Data,
man: &mut Manager<R>,
access: &mut AccessInfo<R>
)
[src]
&self,
out: &mut RawDataSet<R>,
data: &Self::Data,
man: &mut Manager<R>,
access: &mut AccessInfo<R>
)
impl<R: Resources, T: ToUniform> DataBind<R> for Global<T>
[src]
type Data = T
fn bind_to(
&self,
out: &mut RawDataSet<R>,
data: &Self::Data,
man: &mut Manager<R>,
access: &mut AccessInfo<R>
)
[src]
&self,
out: &mut RawDataSet<R>,
data: &Self::Data,
man: &mut Manager<R>,
access: &mut AccessInfo<R>
)