[][src]Trait vulkano::instance::loader::Loader

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()

Calls the vkGetInstanceProcAddr function. The parameters are the same.

The returned function must stay valid for as long as self is alive.

Loading content...

Implementors

impl Loader for DynamicLibraryLoader[src]

impl<T> Loader for T where
    T: SafeDeref,
    T::Target: Loader
[src]

Loading content...