Struct vulkano::memory::MemoryRequirements
[−]
[src]
pub struct MemoryRequirements { pub size: usize, pub alignment: usize, pub memory_type_bits: u32, }
Represents requirements expressed by the Vulkan implementation.
Fields
size: usize
Number of bytes of memory required.
alignment: usize
Alignment of the requirement buffer. The base memory address must be a multiple of this value.
memory_type_bits: u32
Indicates which memory types can be used. Each bit that is set to 1 means that the memory type whose index is the same as the position of the bit can be used.
Trait Implementations
impl Debug for MemoryRequirements
[src]
impl Copy for MemoryRequirements
[src]
impl Clone for MemoryRequirements
[src]
fn clone(&self) -> MemoryRequirements
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more