Enum gfx_core::factory::TargetViewError
[−]
[src]
pub enum TargetViewError {
NoBindFlag,
BadLevel(Level),
BadLayer(Layer),
Channel(ChannelType),
Unsupported,
}Error creating either a RenderTargetView, or DepthStencilView.
Variants
NoBindFlagThe RENDER_TARGET/DEPTH_STENCIL flag is not present in the texture.
BadLevel(Level)Selected mip level doesn't exist.
BadLayer(Layer)Selected array layer doesn't exist.
Channel(ChannelType)Selected channel type is not supported for this texture.
UnsupportedThe backend was refused for some reason.
Trait Implementations
impl Debug for TargetViewError[src]
impl PartialEq for TargetViewError[src]
fn eq(&self, __arg_0: &TargetViewError) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &TargetViewError) -> bool
This method tests for !=.
impl Clone for TargetViewError[src]
fn clone(&self) -> TargetViewError
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