pub struct TemporalScalerTextures<'a> {
pub color_texture: &'a MetalTexture,
pub depth_texture: &'a MetalTexture,
pub motion_texture: &'a MetalTexture,
pub output_texture: &'a MetalTexture,
pub exposure_texture: Option<&'a MetalTexture>,
pub reactive_mask_texture: Option<&'a MetalTexture>,
pub fence: Option<&'a Fence>,
}Expand description
Re-exports the Metal framework surface for this item.
Per-frame bindings for MTLFXTemporalScaler.
Fields§
§color_texture: &'a MetalTextureMirrors the Metal framework property for color_texture.
depth_texture: &'a MetalTextureMirrors the Metal framework property for depth_texture.
motion_texture: &'a MetalTextureMirrors the Metal framework property for motion_texture.
output_texture: &'a MetalTextureMirrors the Metal framework property for output_texture.
exposure_texture: Option<&'a MetalTexture>Mirrors the Metal framework property for exposure_texture.
reactive_mask_texture: Option<&'a MetalTexture>Mirrors the Metal framework property for reactive_mask_texture.
fence: Option<&'a Fence>Mirrors the Metal framework property for fence.
Trait Implementations§
Source§impl<'a> Clone for TemporalScalerTextures<'a>
impl<'a> Clone for TemporalScalerTextures<'a>
Source§fn clone(&self) -> TemporalScalerTextures<'a>
fn clone(&self) -> TemporalScalerTextures<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for TemporalScalerTextures<'a>
Auto Trait Implementations§
impl<'a> Freeze for TemporalScalerTextures<'a>
impl<'a> RefUnwindSafe for TemporalScalerTextures<'a>
impl<'a> Send for TemporalScalerTextures<'a>
impl<'a> Sync for TemporalScalerTextures<'a>
impl<'a> Unpin for TemporalScalerTextures<'a>
impl<'a> UnsafeUnpin for TemporalScalerTextures<'a>
impl<'a> UnwindSafe for TemporalScalerTextures<'a>
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