[−][src]Struct bedrock::MemoryProperties
Device memory properties
Methods
impl MemoryProperties
[src]
pub fn find_type_index(
&self,
mask: MemoryPropertyFlags,
exclude: MemoryPropertyFlags,
index_mask: u32
) -> Option<u32>
[src]
&self,
mask: MemoryPropertyFlags,
exclude: MemoryPropertyFlags,
index_mask: u32
) -> Option<u32>
pub fn find_device_local_index(&self, index_mask: u32) -> Option<u32>
[src]
pub fn find_lazily_allocated_device_local_index(
&self,
index_mask: u32
) -> Option<u32>
[src]
&self,
index_mask: u32
) -> Option<u32>
pub fn find_host_visible_index(&self, index_mask: u32) -> Option<u32>
[src]
pub fn is_coherent(&self, index: u32) -> bool
[src]
pub fn is_cached(&self, index: u32) -> bool
[src]
ⓘImportant traits for MemoryTypeIter<'d>pub fn types(&self) -> MemoryTypeIter
[src]
ⓘImportant traits for MemoryTypeIter<'d>
ⓘImportant traits for MemoryHeapIter<'d>pub fn heaps(&self) -> MemoryHeapIter
[src]
ⓘImportant traits for MemoryHeapIter<'d>
Auto Trait Implementations
impl RefUnwindSafe for MemoryProperties
impl Send for MemoryProperties
impl Sync for MemoryProperties
impl Unpin for MemoryProperties
impl UnwindSafe for MemoryProperties
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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>,