pub trait ExtDiscardRectanglesExtension: DeviceV1_0 {
    const METADATA: Extension = EXT_DISCARD_RECTANGLES_EXTENSION;

    // Provided methods
    unsafe fn cmd_set_discard_rectangle_ext(
        &self,
        command_buffer: CommandBuffer,
        first_discard_rectangle: u32,
        discard_rectangles: &[impl Cast<Target = Rect2D>]
    ) { ... }
    unsafe fn cmd_set_discard_rectangle_enable_ext(
        &self,
        command_buffer: CommandBuffer,
        discard_rectangle_enable: bool
    ) { ... }
    unsafe fn cmd_set_discard_rectangle_mode_ext(
        &self,
        command_buffer: CommandBuffer,
        discard_rectangle_mode: DiscardRectangleModeEXT
    ) { ... }
}
Expand description

Provided Associated Constants§

source

const METADATA: Extension = EXT_DISCARD_RECTANGLES_EXTENSION

The metadata for this extension.

Provided Methods§

Object Safety§

This trait is not object safe.

Implementors§