Struct ash::vk::SurfaceCapabilities2EXTBuilder [−][src]
#[repr(transparent)]pub struct SurfaceCapabilities2EXTBuilder<'a> { /* fields omitted */ }
Implementations
pub fn min_image_extent(
self,
min_image_extent: Extent2D
) -> SurfaceCapabilities2EXTBuilder<'a>
pub fn max_image_extent(
self,
max_image_extent: Extent2D
) -> SurfaceCapabilities2EXTBuilder<'a>
pub fn max_image_array_layers(
self,
max_image_array_layers: u32
) -> SurfaceCapabilities2EXTBuilder<'a>
pub fn supported_transforms(
self,
supported_transforms: SurfaceTransformFlagsKHR
) -> SurfaceCapabilities2EXTBuilder<'a>
pub fn current_transform(
self,
current_transform: SurfaceTransformFlagsKHR
) -> SurfaceCapabilities2EXTBuilder<'a>
pub fn supported_composite_alpha(
self,
supported_composite_alpha: CompositeAlphaFlagsKHR
) -> SurfaceCapabilities2EXTBuilder<'a>
pub fn supported_usage_flags(
self,
supported_usage_flags: ImageUsageFlags
) -> SurfaceCapabilities2EXTBuilder<'a>
pub fn supported_surface_counters(
self,
supported_surface_counters: SurfaceCounterFlagsEXT
) -> SurfaceCapabilities2EXTBuilder<'a>
pub fn push_next<T: ExtendsSurfaceCapabilities2EXT>(
self,
next: &'a mut T
) -> SurfaceCapabilities2EXTBuilder<'a>
pub fn push_next<T: ExtendsSurfaceCapabilities2EXT>(
self,
next: &'a mut T
) -> SurfaceCapabilities2EXTBuilder<'a>
Prepends the given extension struct between the root and the first pointer. This
method only exists on structs that can be passed to a function directly. Only
valid extension structs can be pushed into the chain.
If the chain looks like A -> B -> C
, and you call builder.push_next(&mut D)
, then the
chain will look like A -> D -> B -> C
.
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 = SurfaceCapabilities2EXT>
Trait Implementations
type Target = SurfaceCapabilities2EXT
type Target = SurfaceCapabilities2EXT
The resulting type after dereferencing.