Enum gfx::device::draw::Target
[−]
[src]
pub enum Target {
Color(u8),
Depth,
Stencil,
DepthStencil,
}When rendering, each "output" of the fragment shader goes to a specific target. A Plane can
be bound to a target, causing writes to that target to affect the Plane.
Variants
Color(u8)DepthDepth data.
StencilStencil data.
DepthStencilA target for both depth and stencil data at once.
Trait Implementations
impl Debug for Target[src]
impl PartialEq for Target[src]
fn eq(&self, __arg_0: &Target) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Target) -> bool
This method tests for !=.
impl Clone for Target[src]
fn clone(&self) -> Target
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