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.

impl<T: ?Sized, A> Buffer for DeviceLocalBuffer<T, A> where
    T: 'static + Send + Sync,
    A: MemoryPool
[src]

Returns the inner buffer.

Given a range, returns the list of blocks which each range is contained in. Read more

Returns the range of bytes of the buffer slice used by a block.

Returns whether accessing a range of this buffer should signal a fence.

Called when a command buffer that uses this buffer is being built. Read more

impl<T: ?Sized, A> TypedBuffer for DeviceLocalBuffer<T, A> where
    T: 'static + Send + Sync,
    A: MemoryPool
[src]