#[repr(C)]pub struct DisplayPlaneCapabilitiesKHR {
pub supported_alpha: DisplayPlaneAlphaFlagsKHR,
pub min_src_position: Offset2D,
pub max_src_position: Offset2D,
pub min_src_extent: Extent2D,
pub max_src_extent: Extent2D,
pub min_dst_position: Offset2D,
pub max_dst_position: Offset2D,
pub min_dst_extent: Extent2D,
pub max_dst_extent: Extent2D,
}Expand description
Native structure VkDisplayPlaneCapabilitiesKHR.
Fields§
§supported_alpha: DisplayPlaneAlphaFlagsKHRNative field supportedAlpha.
min_src_position: Offset2DNative field minSrcPosition.
max_src_position: Offset2DNative field maxSrcPosition.
min_src_extent: Extent2DNative field minSrcExtent.
max_src_extent: Extent2DNative field maxSrcExtent.
min_dst_position: Offset2DNative field minDstPosition.
max_dst_position: Offset2DNative field maxDstPosition.
min_dst_extent: Extent2DNative field minDstExtent.
max_dst_extent: Extent2DNative field maxDstExtent.
Implementations§
Source§impl DisplayPlaneCapabilitiesKHR
impl DisplayPlaneCapabilitiesKHR
Sourcepub fn set_supported_alpha(self, value: DisplayPlaneAlphaFlagsKHR) -> Self
pub fn set_supported_alpha(self, value: DisplayPlaneAlphaFlagsKHR) -> Self
Set native field supportedAlpha without native effects.
Sourcepub fn set_min_src_position(self, value: Offset2D) -> Self
pub fn set_min_src_position(self, value: Offset2D) -> Self
Set native field minSrcPosition without native effects.
Sourcepub fn set_max_src_position(self, value: Offset2D) -> Self
pub fn set_max_src_position(self, value: Offset2D) -> Self
Set native field maxSrcPosition without native effects.
Sourcepub fn set_min_src_extent(self, value: Extent2D) -> Self
pub fn set_min_src_extent(self, value: Extent2D) -> Self
Set native field minSrcExtent without native effects.
Sourcepub fn set_max_src_extent(self, value: Extent2D) -> Self
pub fn set_max_src_extent(self, value: Extent2D) -> Self
Set native field maxSrcExtent without native effects.
Sourcepub fn set_min_dst_position(self, value: Offset2D) -> Self
pub fn set_min_dst_position(self, value: Offset2D) -> Self
Set native field minDstPosition without native effects.
Sourcepub fn set_max_dst_position(self, value: Offset2D) -> Self
pub fn set_max_dst_position(self, value: Offset2D) -> Self
Set native field maxDstPosition without native effects.
Sourcepub fn set_min_dst_extent(self, value: Extent2D) -> Self
pub fn set_min_dst_extent(self, value: Extent2D) -> Self
Set native field minDstExtent without native effects.
Sourcepub fn set_max_dst_extent(self, value: Extent2D) -> Self
pub fn set_max_dst_extent(self, value: Extent2D) -> Self
Set native field maxDstExtent without native effects.