Struct DOFRenderer.Dof2InputParams ​
Namespace: ValveResourceFormat.Renderer.PostProcess
Assembly: Renderer.dll
Packed per-frame shader inputs for the DOF pass.
csharp
public record struct DOFRenderer.Dof2InputParams : IEquatable<DOFRenderer.Dof2InputParams>Implements ​
IEquatable<DOFRenderer.Dof2InputParams>
Properties ​
FarBias ​
Gets or sets the far CoC bias.
csharp
public float FarBias { readonly get; set; }Property Value ​
FarScale ​
Gets or sets the far CoC scale factor.
csharp
public float FarScale { readonly get; set; }Property Value ​
Height ​
Gets or sets the render target height in pixels.
csharp
public int Height { readonly get; set; }Property Value ​
MaxBlurSize ​
Gets or sets the maximum bokeh radius in pixels (r_dof2_maxblursize convar).
csharp
public float MaxBlurSize { readonly get; set; }Property Value ​
NearBias ​
Gets or sets the near CoC bias.
csharp
public float NearBias { readonly get; set; }Property Value ​
NearScale ​
Gets or sets the near CoC scale factor.
csharp
public float NearScale { readonly get; set; }Property Value ​
RadScale ​
Gets or sets the bokeh spiral radius scale (r_dof2_radiusscale convar).
csharp
public float RadScale { readonly get; set; }Property Value ​
Width ​
Gets or sets the render target width in pixels.
csharp
public int Width { readonly get; set; }
