[−][src]Struct vulkano::buffer::cpu_pool::CpuBufferPoolChunk
A subbuffer allocated from a CpuBufferPool
.
When this object is destroyed, the subbuffer is automatically reclaimed by the pool.
Trait Implementations
impl<T, A> BufferAccess for CpuBufferPoolChunk<T, A> where
A: MemoryPool,
[src]
A: MemoryPool,
fn inner(&self) -> BufferInner
[src]
fn size(&self) -> usize
[src]
fn conflicts_buffer(&self, other: &dyn BufferAccess) -> bool
[src]
fn conflicts_image(&self, other: &dyn ImageAccess) -> bool
[src]
fn conflict_key(&self) -> (u64, usize)
[src]
fn try_gpu_lock(&self, _: bool, _: &Queue) -> Result<(), AccessError>
[src]
unsafe fn increase_gpu_lock(&self)
[src]
unsafe fn unlock(&self)
[src]
fn as_buffer_slice(&self) -> BufferSlice<Self::Content, &Self> where
Self: Sized + TypedBufferAccess,
[src]
Self: Sized + TypedBufferAccess,
fn slice<T>(&self, range: Range<usize>) -> Option<BufferSlice<[T], &Self>> where
Self: Sized + TypedBufferAccess<Content = [T]>,
[src]
Self: Sized + TypedBufferAccess<Content = [T]>,
fn into_buffer_slice(self) -> BufferSlice<Self::Content, Self> where
Self: Sized + TypedBufferAccess,
[src]
Self: Sized + TypedBufferAccess,
fn index<T>(&self, index: usize) -> Option<BufferSlice<[T], &Self>> where
Self: Sized + TypedBufferAccess<Content = [T]>,
[src]
Self: Sized + TypedBufferAccess<Content = [T]>,
impl<T, A> TypedBufferAccess for CpuBufferPoolChunk<T, A> where
A: MemoryPool,
[src]
A: MemoryPool,
type Content = [T]
The type of the content.
fn len(&self) -> usize where
Self::Content: Content,
[src]
Self::Content: Content,
impl<T, A> DeviceOwned for CpuBufferPoolChunk<T, A> where
A: MemoryPool,
[src]
A: MemoryPool,
impl<T, A> Drop for CpuBufferPoolChunk<T, A> where
A: MemoryPool,
[src]
A: MemoryPool,
impl<T, A> Clone for CpuBufferPoolChunk<T, A> where
A: MemoryPool,
[src]
A: MemoryPool,
fn clone(&self) -> CpuBufferPoolChunk<T, A>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Auto Trait Implementations
impl<T, A> Send for CpuBufferPoolChunk<T, A> where
T: Send,
<A as MemoryPool>::Alloc: Send + Sync,
T: Send,
<A as MemoryPool>::Alloc: Send + Sync,
impl<T, A> Unpin for CpuBufferPoolChunk<T, A>
impl<T, A> Sync for CpuBufferPoolChunk<T, A> where
T: Sync,
<A as MemoryPool>::Alloc: Send + Sync,
T: Sync,
<A as MemoryPool>::Alloc: Send + Sync,
impl<T, A> UnwindSafe for CpuBufferPoolChunk<T, A> where
T: UnwindSafe,
<A as MemoryPool>::Alloc: RefUnwindSafe,
T: UnwindSafe,
<A as MemoryPool>::Alloc: RefUnwindSafe,
impl<T, A> RefUnwindSafe for CpuBufferPoolChunk<T, A> where
T: RefUnwindSafe,
<A as MemoryPool>::Alloc: RefUnwindSafe,
T: RefUnwindSafe,
<A as MemoryPool>::Alloc: RefUnwindSafe,
Blanket Implementations
impl<T> DeviceOwned for T where
T: Deref,
<T as Deref>::Target: DeviceOwned,
[src]
T: Deref,
<T as Deref>::Target: DeviceOwned,
impl<T> Content for T
[src]
fn ref_from_ptr(*mut c_void, usize) -> Option<*mut T>
[src]
fn is_size_suitable(usize) -> bool
[src]
fn indiv_size() -> usize
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,