15 lines
307 B
Markdown
15 lines
307 B
Markdown
# Informations
|
|
|
|
```rust
|
|
let fns = vulkano_context.instance().fns();
|
|
let mut props = ash::vk::PhysicalDeviceProperties::default();
|
|
|
|
unsafe {
|
|
(fns.v1_0.get_physical_device_properties)(
|
|
vulkano_context.device().physical_device().handle(),
|
|
&mut props,
|
|
);
|
|
}
|
|
|
|
println!("{:?}", props);
|
|
```
|