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]

[src]

Builds a new buffer view.

[src]

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

[src]

Returns the buffer associated to this view.

[src]

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

[src]

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

[src]

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.

TYPE: DebugReportObjectTypeEXT = vk::DEBUG_REPORT_OBJECT_TYPE_BUFFER_VIEW_EXT

The DebugReportObjectTypeEXT of the internal Vulkan handle.

[src]

Returns a reference to the object.

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

[src]

Returns the device that owns Self.

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

[src]

Formats the value using the given formatter. Read more

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

[src]

Executes the destructor for this type. Read more

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

[src]

Auto Trait Implementations

impl<F, B> Send for BufferView<F, B> where
    B: Send,
    F: Send

impl<F, B> Sync for BufferView<F, B> where
    B: Sync,
    F: Sync