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

pub struct BufferView<F, B> where
    B: BufferAccess
{ /* 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: BufferAccess
[src]

Builds a new buffer view.

Deprecated

Builds a new buffer view from a BufferAccess object.

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: BufferAccess
[src]

The type of the object.

Returns a reference to the object.

impl<F, B> DeviceOwned for BufferView<F, B> where
    B: BufferAccess
[src]

Returns the device that owns Self.

impl<F, B> Debug for BufferView<F, B> where
    B: BufferAccess + Debug
[src]

Formats the value using the given formatter.

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

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

impl<F, B> BufferViewRef for BufferView<F, B> where
    B: BufferAccess
[src]