Struct vulkano::instance::loader::DynamicLibraryLoader [−][src]
pub struct DynamicLibraryLoader { /* fields omitted */ }
Expand description
Implementation of Loader
that loads Vulkan from a dynamic library.
Implementations
pub unsafe fn new<P>(path: P) -> Result<DynamicLibraryLoader, LoadingError> where
P: AsRef<Path>,
pub unsafe fn new<P>(path: P) -> Result<DynamicLibraryLoader, LoadingError> where
P: AsRef<Path>,
Tries to load the dynamic library at the given path, and tries to
load vkGetInstanceProcAddr
in it.
Safety
- The dynamic library must be a valid Vulkan implementation.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for DynamicLibraryLoader
impl Send for DynamicLibraryLoader
impl Sync for DynamicLibraryLoader
impl Unpin for DynamicLibraryLoader
impl UnwindSafe for DynamicLibraryLoader
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.