Struct gfx::pso::target::Scissor [] [src]

pub struct Scissor(_);

Scissor component. Sets up the scissor test for rendering. - init: () - data: Rect = target area

Trait Implementations

impl<'a> DataLink<'a> for Scissor

type Init = ()

fn new() -> Self

fn is_active(&self) -> bool

impl<R: Resources> DataBind<R> for Scissor

type Data = Rect

fn bind_to(&self, out: &mut RawDataSet<R>, data: &Self::Data, _: &mut Manager<R>)