Type Alias Error

Source
type Error = BufferTextureCopyInfoError;

Aliased Type§

enum Error {
    InvalidBytesPerRow,
    InvalidRowsPerImage,
    ImageStrideOverflow,
    ImageBytesOverflow(bool),
    ArraySizeOverflow(bool),
}

Variants§

§

InvalidBytesPerRow

The bytes_per_row is too small for the texture width.

§

InvalidRowsPerImage

The rows_per_image is too small for the texture height.

§

ImageStrideOverflow

The image stride overflows a u64.

§

ImageBytesOverflow(bool)

The last-layer byte size overflows a u64.

The bool value indicates whether the multiplication (false) or the addition (true) overflowed.

§

ArraySizeOverflow(bool)

The total size of the copy overflows a u64.

The bool value indicates whether the multiplication (false) or the addition (true) overflowed.