Class PostProcessing
- Namespace
- ValveResourceFormat.ResourceTypes
- Assembly
- ValveResourceFormat.dll
Represents a post-processing resource.
public class PostProcessing : KeyValuesOrNTROInheritance
Inherited Members
Extension Methods
Constructors
PostProcessing()
Initializes a new instance of the ValveResourceFormat.ResourceTypes.PostProcessing class.
public PostProcessing()Methods
GetBloomParams()
Gets the bloom parameters.
public KVObject? GetBloomParams()Returns
GetColorCorrectionLUT()
Gets the color correction LUT data.
public byte[] GetColorCorrectionLUT()Returns
- byte[]
GetColorCorrectionLUTDimension()
Gets the color correction LUT dimension.
public int GetColorCorrectionLUTDimension()Returns
GetLocalContrastParams()
Gets the local contrast parameters.
public KVObject? GetLocalContrastParams()Returns
GetRAWData()
Gets the RAW data format of the color correction LUT.
public byte[] GetRAWData()Returns
- byte[]
GetTonemapParams()
Gets the tonemap parameters.
public KVObject? GetTonemapParams()Returns
GetVignetteParams()
Gets the vignette parameters.
public KVObject? GetVignetteParams()Returns
HasColorCorrection()
Determines whether color correction is enabled.
public bool HasColorCorrection()Returns
ToValvePostProcessing(bool, string)
Converts this post-processing resource to Valve post-processing format.
public string ToValvePostProcessing(bool preloadLookupTable = false, string lutFileName = "")