Struct ash::vk::PipelineDiscardRectangleStateCreateInfoEXTBuilder [−][src]
#[repr(transparent)]pub struct PipelineDiscardRectangleStateCreateInfoEXTBuilder<'a> { /* fields omitted */ }
Implementations
pub fn flags(
self,
flags: PipelineDiscardRectangleStateCreateFlagsEXT
) -> PipelineDiscardRectangleStateCreateInfoEXTBuilder<'a>
pub fn discard_rectangle_mode(
self,
discard_rectangle_mode: DiscardRectangleModeEXT
) -> PipelineDiscardRectangleStateCreateInfoEXTBuilder<'a>
pub fn discard_rectangles(
self,
discard_rectangles: &'a [Rect2D]
) -> PipelineDiscardRectangleStateCreateInfoEXTBuilder<'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 = PipelineDiscardRectangleStateCreateInfoEXT>
Trait Implementations
The resulting type after dereferencing.