Trait vulkano::instance::loader::Loader
[−]
[src]
pub unsafe trait Loader { fn get_instance_proc_addr(
&self,
instance: Instance,
name: *const c_char
) -> extern "system" fn(); }
Implemented on objects that grant access to a Vulkan implementation.
Required Methods
fn get_instance_proc_addr(
&self,
instance: Instance,
name: *const c_char
) -> extern "system" fn()
&self,
instance: Instance,
name: *const c_char
) -> extern "system" fn()
Calls the vkGetInstanceProcAddr
function. The parameters are the same.
The returned function must stay valid for as long as self
is alive.
Implementors
impl<T> Loader for T where
T: SafeDeref,
T::Target: Loader,impl Loader for DynamicLibraryLoader