Struct vulkano::buffer::view::BufferView[][src]

pub struct BufferView<B> where
    B: BufferAccess + ?Sized
{ /* fields omitted */ }
Expand description

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

Implementations

Builds a new buffer view.

Builds a new buffer view without checking that the format is correct.

Returns the buffer associated to this view.

Returns true if the buffer view can be used as a uniform texel buffer.

Returns true if the buffer view can be used as a storage texel buffer.

Returns true if the buffer view can be used as a storage texel buffer with atomic accesses.

Trait Implementations

Returns the inner handle used by this buffer view.

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

Formats the value using the given formatter. Read more

Returns the device that owns Self.

Executes the destructor for this type. Read more

The type of the object.

Returns a reference to 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

Builds a pointer to this type from a raw pointer.

Returns true if the size is suitable to store a type like this.

Returns the size of an individual element.

Performs the conversion.

Performs the conversion.

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.