[][src]Crate ash

Vulkan API

https://www.khronos.org/registry/vulkan/specs/1.1-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
vk_make_version

https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/VK_MAKE_VERSION.html

vk_version_major

https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/VK_VERSION_MAJOR.html

vk_version_minor

https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/VK_VERSION_MINOR.html

vk_version_patch

https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/VK_VERSION_PATCH.html

Structs

Device

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

EntryCustom

Function loader

Instance

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

Enums

InstanceError
LoadingError

Traits

RawPtr

Type Definitions

Entry

Function loader