Struct vulkano::instance::Instance [] [src]

pub struct Instance {
    // some fields omitted
}

An instance of a Vulkan context. This is the main object that should be created by an application before everything else.

Methods

impl Instance
[src]

Initializes a new instance of Vulkan.

Panic

  • Panics if the version numbers passed in ApplicationInfo are too large can't be converted into a Vulkan version number.
  • Panics if the application name or engine name contain a null character.

Returns the list of extensions that have been loaded.

Trait Implementations

impl Debug for Instance
[src]

Formats the value using the given formatter.

impl VulkanObject for Instance
[src]

The type of the object.

Returns a reference to the object.

impl Drop for Instance
[src]

A method called when the value goes out of scope. Read more