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()
[src]

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]

fn get_instance_proc_addr(
    &self,
    instance: Instance,
    name: *const c_char
) -> extern "system" fn()
[src]

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

fn get_instance_proc_addr(
    &self,
    instance: Instance,
    name: *const c_char
) -> extern "system" fn()
[src]

Loading content...