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

pub struct BufferView<F, B> where B: Buffer {
    // some fields omitted
}

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

Methods

impl<F, B> BufferView<F, B> where B: Buffer
[src]

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

impl<F, B> VulkanObject for BufferView<F, B> where B: Buffer
[src]

The type of the object.

Returns a reference to the object.

impl<F, B> Drop for BufferView<F, B> where B: Buffer
[src]

A method called when the value goes out of scope. Read more