Struct dacite::khr_surface::FromNativeSurfaceKhrParameters
[−]
[src]
pub struct FromNativeSurfaceKhrParameters { pub owned: bool, pub instance: Instance, pub allocator: Option<Box<Allocator>>, }
Fields
owned: bool
true
, if this SurfaceKhr
should destroy the underlying Vulkan object, when it is dropped.
instance: Instance
The Instance
, from which this SurfaceKhr
was created.
allocator: Option<Box<Allocator>>
An Allocator
compatible with the one used to create this SurfaceKhr
.
This parameter is ignored, if owned
is false
.