Cargo Features

[dependencies]
vkobject-rs = { version = "0.0.4", default-features = false, features = ["glfw", "win32_khr", "android_khr", "ios_mvk", "macos_mvk", "metal_ext", "wayland_khr", "xcb_khr", "validation_layer", "api_dump", "shaderc"] }
default = glfw, shaderc

These default features are set whenever vkobject-rs is added without default-features = false somewhere in the dependency tree.

glfw default

Enables glfw ^0.59.0, glfw of vkcore-rs

win32_khr

Enables win32_khr of vkcore-rs

Affects context::VulkanSurfaceInfo.hwnd, context::VulkanSurfaceInfo.hinstance

android_khr

Enables android_khr of vkcore-rs

Affects context::VulkanSurfaceInfo.window

ios_mvk

Enables ios_mvk of vkcore-rs

Affects context::VulkanSurfaceInfo.view

macos_mvk

Enables macos_mvk of vkcore-rs

Affects context::VulkanSurfaceInfo.view

metal_ext

Enables metal_ext of vkcore-rs

Affects context::VulkanSurfaceInfo.metal_layer

wayland_khr

Enables wayland_khr of vkcore-rs

Affects context::VulkanSurfaceInfo.display, context::VulkanSurfaceInfo.surface

xcb_khr

Enables xcb_khr of vkcore-rs

Affects context::VulkanSurfaceInfo.connection, context::VulkanSurfaceInfo.window

validation_layer

Enables validation_layer of vkcore-rs

api_dump

Enables api_dump of vkcore-rs

shaderc default

Enables shaderc