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 duplicate 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 for RenderTargetType
impl PartialEq for RenderTargetType
impl Copy for RenderTargetType
impl StructuralPartialEq for RenderTargetType
Auto Trait Implementations§
impl Freeze for RenderTargetType
impl RefUnwindSafe for RenderTargetType
impl Send for RenderTargetType
impl Sync for RenderTargetType
impl Unpin for RenderTargetType
impl UnwindSafe for RenderTargetType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more