Enum vulkano::sync::SharingMode [−][src]
Declares in which queue(s) a resource can be used.
When you create a buffer or an image, you have to tell the Vulkan library in which queue families it will be used. The vulkano library requires you to tell in which queue famiily the resource will be used, even for exclusive mode.
Variants
Exclusive(u32)
The resource is used is only one queue family.
Concurrent(Vec<u32>)
The resource is used in multiple queue families. Can be slower than Exclusive
.
Trait Implementations
impl Debug for SharingMode
[src]
impl Debug for SharingMode
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for SharingMode
[src]
impl Clone for SharingMode
fn clone(&self) -> SharingMode
[src]
fn clone(&self) -> SharingMode
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for SharingMode
[src]
impl PartialEq for SharingMode
fn eq(&self, other: &SharingMode) -> bool
[src]
fn eq(&self, other: &SharingMode) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &SharingMode) -> bool
[src]
fn ne(&self, other: &SharingMode) -> bool
This method tests for !=
.
impl Eq for SharingMode
[src]
impl Eq for SharingMode
impl<'a> From<&'a Arc<Queue>> for SharingMode
[src]
impl<'a> From<&'a Arc<Queue>> for SharingMode
fn from(queue: &'a Arc<Queue>) -> SharingMode
[src]
fn from(queue: &'a Arc<Queue>) -> SharingMode
Performs the conversion.
impl<'a> From<&'a [&'a Arc<Queue>]> for SharingMode
[src]
impl<'a> From<&'a [&'a Arc<Queue>]> for SharingMode
Auto Trait Implementations
impl Send for SharingMode
impl Send for SharingMode
impl Sync for SharingMode
impl Sync for SharingMode