Cargo Features

[dependencies]
bort-vk = { version = "0.2.7", default-features = false, features = ["raw-window-handle-05", "raw-window-handle-06", "bytemuck"] }
default = bytemuck, raw-window-handle-06

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

raw-window-handle-05

Enables raw-window-handle ^0.5 and raw-window-metal ^0.3

raw-window-handle:

raw window handler allows us to create a surface from an os window handle. allow support for multiple versions depending on e.g. winit version.

raw-window-handle-06 default

Enables raw-window-handle and raw-window-metal ^0.4

bytemuck default

Enables bytemuck

for an easy way to upload misc data to the gpu from rust

Affects memory_access::AllocationAccess.write_into_bytes, memory_access::AllocationAccess.write_slice, memory_access::AllocationAccess.read_vec