Enum gfx::pso::InitError
[−]
[src]
pub enum InitError<S> { VertexImport(S, Option<Format>), ConstantBuffer(S, Option<ElementError<S>>), GlobalConstant(S, Option<()>), ResourceView(S, Option<()>), UnorderedView(S, Option<()>), Sampler(S, Option<()>), PixelExport(S, Option<Format>), }
Failure to initilize the link between the shader and the data.
Variants
VertexImport(S, Option<Format>)
Vertex attribute mismatch.
ConstantBuffer(S, Option<ElementError<S>>)
Constant buffer mismatch.
GlobalConstant(S, Option<()>)
Global constant mismatch.
ResourceView(S, Option<()>)
Shader resource view mismatch.
UnorderedView(S, Option<()>)
Unordered access view mismatch.
Sampler(S, Option<()>)
Sampler mismatch.
PixelExport(S, Option<Format>)
Pixel target mismatch.
Trait Implementations
impl<S: Clone> Clone for InitError<S>
[src]
fn clone(&self) -> InitError<S>
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<S: PartialEq> PartialEq for InitError<S>
[src]
fn eq(&self, __arg_0: &InitError<S>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &InitError<S>) -> bool
This method tests for !=
.