#[repr(C)]pub struct GenerateReactiveDescription {
pub commandList: CommandList,
pub colorOpaqueOnly: Resource,
pub colorPreUpscale: Resource,
pub outReactive: Resource,
pub renderSize: Dimensions2D,
pub scale: f32,
pub cutoffThreshold: f32,
pub binaryValue: f32,
pub flags: u32,
}Expand description
A structure encapsulating the parameters for automatic generation of a reactive mask
@ingroup FSR2
Fields§
§commandList: CommandList< The
colorOpaqueOnly: Resource< A
colorPreUpscale: Resource< A
outReactive: Resource< A
renderSize: Dimensions2D< The resolution that was used for rendering the input resources.
scale: f32< A value to scale the output
cutoffThreshold: f32< A threshold value to generate a binary reactive mask
binaryValue: f32< A value to set for the binary reactive mask
flags: u32< Flags to determine how to generate the reactive mask
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GenerateReactiveDescription
impl RefUnwindSafe for GenerateReactiveDescription
impl !Send for GenerateReactiveDescription
impl !Sync for GenerateReactiveDescription
impl Unpin for GenerateReactiveDescription
impl UnwindSafe for GenerateReactiveDescription
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