[][src]Trait nannou::vk::instance::loader::Loader

pub unsafe trait Loader {
    fn get_instance_proc_addr(
        &self,
        instance: usize,
        name: *const i8
    ) -> extern "system" fn(); }

Implemented on objects that grant access to a Vulkan implementation.

Required methods

fn get_instance_proc_addr(
    &self,
    instance: usize,
    name: *const i8
) -> 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 as Deref>::Target: Loader
[src]

Loading content...