Crate ash[][src]

Vulkan API

https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/index.html

Examples

use ash::{vk, Entry, version::EntryV1_0};
let entry = Entry::new()?;
let app_info = vk::ApplicationInfo {
    api_version: vk::make_version(1, 0, 0),
    ..Default::default()
};
let create_info = vk::InstanceCreateInfo {
    p_application_info: &app_info,
    ..Default::default()
};
let instance = unsafe { entry.create_instance(&create_info, None)? };

Modules

extensions
prelude
util
version
vk

Macros

define_handle
handle_nondispatchable
vk_bitflags_wrapped

Structs

Device

https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDevice.html

EntryCustom

Function loader

Instance

https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkInstance.html

LoadingError

Enums

InstanceError

Traits

RawPtr

Type Definitions

Entry

Function loader