Struct voodoo::Loader [] [src]

pub struct Loader { /* fields omitted */ }

A loaded library and InstanceProcAddrLoader.

Methods

impl Loader
[src]

[src]

Loads the vulkan library (libvulkan.so, etc), and the InstanceProcAddrLoader with all core function pointers.

[src]

Returns the vkGetInstanceProcAddr function pointer.

[src]

Returns the core global function pointer struct.

[src]

Returns a reference to the InstanceProcAddrLoader.

[src]

Returns a mutable reference to the InstanceProcAddrLoader.

[src]

Returns all available instance layers.

[src]

Returns all available instance extensions.

[src]

Verifies that each layer name listed is available.

[src]

Enumerates the physical devices accessible to a Vulkan instance.

https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkEnumeratePhysicalDevices.html

[src]

Creates and returns a new Vulkan instance.

https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCreateInstance.html

[src]

Destroys a Vulkan instance.

https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkDestroyInstance.html

Trait Implementations

impl Debug for Loader
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Loader

impl Sync for Loader