[][src]Struct bedrock::MemoryProperties

pub struct MemoryProperties(_);

Device memory properties

Methods

impl MemoryProperties[src]

pub fn find_type_index(
    &self,
    mask: MemoryPropertyFlags,
    exclude: MemoryPropertyFlags,
    index_mask: u32
) -> Option<u32>
[src]

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]

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 MemoryHeapIter<'d>
pub fn heaps(&self) -> MemoryHeapIter[src]

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]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.