Struct ash::vk::SurfaceCapabilitiesKHRBuilder [−][src]
#[repr(transparent)]pub struct SurfaceCapabilitiesKHRBuilder<'a> { /* fields omitted */ }
Implementations
pub fn min_image_extent(
self,
min_image_extent: Extent2D
) -> SurfaceCapabilitiesKHRBuilder<'a>
pub fn max_image_extent(
self,
max_image_extent: Extent2D
) -> SurfaceCapabilitiesKHRBuilder<'a>
pub fn max_image_array_layers(
self,
max_image_array_layers: u32
) -> SurfaceCapabilitiesKHRBuilder<'a>
pub fn supported_transforms(
self,
supported_transforms: SurfaceTransformFlagsKHR
) -> SurfaceCapabilitiesKHRBuilder<'a>
pub fn current_transform(
self,
current_transform: SurfaceTransformFlagsKHR
) -> SurfaceCapabilitiesKHRBuilder<'a>
pub fn supported_composite_alpha(
self,
supported_composite_alpha: CompositeAlphaFlagsKHR
) -> SurfaceCapabilitiesKHRBuilder<'a>
pub fn supported_usage_flags(
self,
supported_usage_flags: ImageUsageFlags
) -> SurfaceCapabilitiesKHRBuilder<'a>
Calling build will discard all the lifetime information. Only call this if
necessary! Builders implement Deref
targeting their corresponding Vulkan struct,
so references to builders can be passed directly to Vulkan functions.
Methods from Deref<Target = SurfaceCapabilitiesKHR>
Trait Implementations
type Target = SurfaceCapabilitiesKHR
type Target = SurfaceCapabilitiesKHR
The resulting type after dereferencing.