Struct vulkano::buffer::immutable::ImmutableBufferInitialization [−][src]
pub struct ImmutableBufferInitialization<T: ?Sized, A = PotentialDedicatedAllocation<StdMemoryPoolAlloc>> { /* fields omitted */ }
Expand description
Access to the immutable buffer that can be used for the initial upload.
Trait Implementations
Returns the inner information about this buffer.
Returns true if an access to self
potentially overlaps the same memory as an access to
other
. Read more
Returns true if an access to self
potentially overlaps the same memory as an access to
other
. Read more
Returns a key that uniquely identifies the buffer. Two buffers or images that potentially overlap in memory must return the same key. Read more
Locks the resource for usage on the GPU. Returns an error if the lock can’t be acquired. Read more
Locks the resource for usage on the GPU. Supposes that the resource is already locked, and simply increases the lock by one. Read more
Unlocks the resource previously acquired with try_gpu_lock
or increase_gpu_lock
. Read more
fn as_buffer_slice(&self) -> BufferSlice<Self::Content, &Self> where
Self: Sized + TypedBufferAccess,
fn as_buffer_slice(&self) -> BufferSlice<Self::Content, &Self> where
Self: Sized + TypedBufferAccess,
Builds a BufferSlice
object holding the buffer by reference.
Builds a BufferSlice
object holding part of the buffer by reference. Read more
fn into_buffer_slice(self) -> BufferSlice<Self::Content, Self> where
Self: Sized + TypedBufferAccess,
fn into_buffer_slice(self) -> BufferSlice<Self::Content, Self> where
Self: Sized + TypedBufferAccess,
Builds a BufferSlice
object holding the buffer by value.
Builds a BufferSlice
object holding part of the buffer by reference. Read more
Gets the device address for this buffer. Read more
impl<T: ?Sized, A> PartialEq<ImmutableBufferInitialization<T, A>> for ImmutableBufferInitialization<T, A>
impl<T: ?Sized, A> PartialEq<ImmutableBufferInitialization<T, A>> for ImmutableBufferInitialization<T, A>
Auto Trait Implementations
impl<T: ?Sized, A> RefUnwindSafe for ImmutableBufferInitialization<T, A> where
A: RefUnwindSafe,
T: RefUnwindSafe,
impl<T: ?Sized, A> Send for ImmutableBufferInitialization<T, A> where
A: Send + Sync,
T: Send + Sync,
impl<T: ?Sized, A> Sync for ImmutableBufferInitialization<T, A> where
A: Send + Sync,
T: Send + Sync,
impl<T: ?Sized, A> Unpin for ImmutableBufferInitialization<T, A>
impl<T: ?Sized, A> UnwindSafe for ImmutableBufferInitialization<T, A> where
A: RefUnwindSafe,
T: RefUnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Builds a pointer to this type from a raw pointer.
Returns true if the size is suitable to store a type like this.
Returns the size of an individual element.