Enum gfx::ResourceViewError [] [src]

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 Clone for ResourceViewError
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Error for ResourceViewError
[src]

[src]

A short description of the error. Read more

[src]

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

impl PartialEq<ResourceViewError> for ResourceViewError
[src]

[src]

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

[src]

This method tests for !=.

impl Debug for ResourceViewError
[src]

[src]

Formats the value using the given formatter.

impl Display for ResourceViewError
[src]

[src]

Formats the value using the given formatter. Read more