Enum three_d::core::render_states::Clip [−][src]
Expand description
Defines the rectangle of pixels to write to in a render call.
Variants
Enabled
Fields
x: u32The distance in pixels from the left edge of the screen/render target.
y: u32The distance in pixels from the top edge of the screen/render target.
width: u32The width of the rectangle.
height: u32The height of the rectangle.
Only render inside the defined rectangle of the screen/render target.
Disabled
Render inside the entire screen/render target.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Clip
impl UnwindSafe for Clip
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
