Struct vulkano::buffer::view::BufferView

source ·
pub struct BufferView<B>where
    B: BufferAccess + ?Sized,
{ /* private fields */ }
Expand description

Represents a way for the GPU to interpret buffer data. See the documentation of the view module.

Implementations

Creates a new BufferView.

Returns the buffer associated to this view.

Trait Implementations

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.
Returns the byte range of the wrapped buffer that this view exposes.
Formats the value using the given formatter. Read more
Returns the device that owns Self.
Executes the destructor for this type. Read more
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 !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more
The type of the object.
Returns the raw Vulkan handle of the object.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.