logo
pub unsafe trait BufferViewAbstract: VulkanObject<Object = BufferView> + DeviceOwned + Send + Sync {
    fn buffer(&self) -> Arc<dyn BufferAccess>;
fn format(&self) -> Option<Format>;
fn format_features(&self) -> &FormatFeatures; }

Required methods

Returns the wrapped buffer that this buffer view was created from.

Returns the format of the buffer view.

Returns the features supported by the buffer view’s format.

Trait Implementations

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

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

This method tests for !=.

Implementors