Macro vulkanology::instance [] [src]

macro_rules! instance {
    () => { ... };
}

Creates a vulkano. Does not enable any instance extensions.

Panics

Panics if the instance loading procedure fails.

Example

// Simply invoke the macro and assign the result.
let instance = instance!();