Enum gfx::ResourceViewError []

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

Error creating either a ShaderResourceView, or UnorderedAccessView.

Variants

The corresponding bind flag is not present in the texture.

Selected channel type is not supported for this texture.

Selected layer can not be viewed for this texture.

The backend was refused for some reason.

Trait Implementations

impl Error for ResourceViewError

A short description of the error. Read more

The lower-level cause of this error, if any. Read more

impl PartialEq<ResourceViewError> for ResourceViewError

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Clone for ResourceViewError

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ResourceViewError

Formats the value using the given formatter.

impl Display for ResourceViewError

Formats the value using the given formatter. Read more