pub enum RenderTargetType {
Standard,
StandardForReading,
Multisampled,
MultisampledTexture,
Monochrome,
MonochromeMultisampledTexture,
}
Expand description
The types of render target that can be created by the render layer
Variants§
Standard
Standard off-screen render target (with a texture)
StandardForReading
Off-screen render target for reading back to the CPU
Multisampled
Multisampled render target
MultisampledTexture
Multisampled texture render target
Monochrome
Monochrome off-screen render target (only writes the red channel)
MonochromeMultisampledTexture
Multisampled monochrome off-screen render target (only writes the red channel)
Trait Implementations§
source§impl Clone for RenderTargetType
impl Clone for RenderTargetType
source§fn clone(&self) -> RenderTargetType
fn clone(&self) -> RenderTargetType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RenderTargetType
impl Debug for RenderTargetType
source§impl Hash for RenderTargetType
impl Hash for RenderTargetType
source§impl PartialEq<RenderTargetType> for RenderTargetType
impl PartialEq<RenderTargetType> for RenderTargetType
source§fn eq(&self, other: &RenderTargetType) -> bool
fn eq(&self, other: &RenderTargetType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.