Struct vulkano::pipeline::viewport::Scissor [] [src]

pub struct Scissor {
    pub origin: [i32; 2],
    pub dimensions: [u32; 2],
}

State of a single scissor box.

Fields

origin: [i32; 2]

Coordinates in pixels of the top-left hand corner of the box.

dimensions: [u32; 2]

Dimensions in pixels of the box.

Methods

impl Scissor
[src]

fn irrelevant() -> Scissor

Defines a scissor box that it outside of the image.

Trait Implementations

impl Clone for Scissor
[src]

fn clone(&self) -> Scissor

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Copy for Scissor
[src]

impl Debug for Scissor
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Default for Scissor
[src]

fn default() -> Scissor

Returns the "default value" for a type. Read more