Struct vulkano::buffer::device_local::DeviceLocalBuffer [] [src]

pub struct DeviceLocalBuffer<T: ?Sized, A = Arc<StdMemoryPool>> where
    A: MemoryPool
{ /* fields omitted */ }

Buffer whose content is accessible by the CPU.

Methods

impl<T> DeviceLocalBuffer<T>
[src]

Builds a new buffer. Only allowed for sized data.

impl<T> DeviceLocalBuffer<[T]>
[src]

Builds a new buffer. Can be used for arrays.

impl<T: ?Sized> DeviceLocalBuffer<T>
[src]

Builds a new buffer without checking the size.

Safety

You must ensure that the size that you pass is correct for T.

impl<T: ?Sized, A> DeviceLocalBuffer<T, A> where
    A: MemoryPool
[src]

Returns the device used to create this buffer.

Returns the queue families this buffer can be used on.

Trait Implementations

impl<T: Debug + ?Sized, A: Debug> Debug for DeviceLocalBuffer<T, A> where
    A: MemoryPool,
    A::Alloc: Debug
[src]

Formats the value using the given formatter.