Enum gfx_core::factory::ResourceViewError [] [src]

pub enum ResourceViewError {
    NoBindFlag,
    Channel(ChannelType),
    Unsupported,
}

Error creating either a ShaderResourceView, or UnorderedAccessView.

Variants

NoBindFlag

The corresponding bind flag does not present in the texture.

Channel

Selected channel type is not supported for this texture.

Unsupported

The backend refused for some reason.

Trait Implementations

Derived Implementations

impl Debug for ResourceViewError

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl PartialEq for ResourceViewError

fn eq(&self, __arg_0: &ResourceViewError) -> bool

fn ne(&self, __arg_0: &ResourceViewError) -> bool

impl Clone for ResourceViewError

fn clone(&self) -> ResourceViewError

1.0.0fn clone_from(&mut self, source: &Self)