#[repr(C)]pub struct DispatchDescription {Show 26 fields
pub commandList: CommandList,
pub color: Resource,
pub depth: Resource,
pub motionVectors: Resource,
pub exposure: Resource,
pub reactive: Resource,
pub transparencyAndComposition: Resource,
pub output: Resource,
pub jitterOffset: FloatCoords2D,
pub motionVectorScale: FloatCoords2D,
pub renderSize: Dimensions2D,
pub enableSharpening: bool,
pub sharpness: f32,
pub frameTimeDelta: f32,
pub preExposure: f32,
pub reset: bool,
pub cameraNear: f32,
pub cameraFar: f32,
pub cameraFovAngleVertical: f32,
pub viewSpaceToMetersFactor: f32,
pub enableAutoReactive: bool,
pub colorOpaqueOnly: Resource,
pub autoTcThreshold: f32,
pub autoTcScale: f32,
pub autoReactiveScale: f32,
pub autoReactiveMax: f32,
}Expand description
A structure encapsulating the parameters for dispatching the various passes of FidelityFX Super Resolution 2.
@ingroup FSR2
Fields§
§commandList: CommandList< The
color: Resource< A
depth: Resource< A
motionVectors: Resource< A
exposure: Resource< A optional
reactive: Resource< A optional
transparencyAndComposition: Resource< A optional
output: Resource< A
jitterOffset: FloatCoords2D< The subpixel jitter offset applied to the camera.
motionVectorScale: FloatCoords2D< The scale factor to apply to motion vectors.
renderSize: Dimensions2D< The resolution that was used for rendering the input resources.
enableSharpening: bool< Enable an additional sharpening pass.
sharpness: f32< The sharpness value between 0 and 1, where 0 is no additional sharpness and 1 is maximum additional sharpness.
frameTimeDelta: f32< The time elapsed since the last frame (expressed in milliseconds).
preExposure: f32< The pre exposure value (must be > 0.0f)
reset: bool< A boolean value which when set to true, indicates the camera has moved discontinuously.
cameraNear: f32< The distance to the near plane of the camera.
cameraFar: f32< The distance to the far plane of the camera. This is used only used in case of non infinite depth.
cameraFovAngleVertical: f32< The camera angle field of view in the vertical direction (expressed in radians).
viewSpaceToMetersFactor: f32< The scale factor to convert view space units to meters
enableAutoReactive: bool< A boolean value to indicate internal reactive autogeneration should be used
colorOpaqueOnly: Resource< A
autoTcThreshold: f32< Cutoff value for TC
autoTcScale: f32< A value to scale the transparency and composition mask
autoReactiveScale: f32< A value to scale the reactive mask
autoReactiveMax: f32< A value to clamp the reactive mask