Class PostProcessing
Namespace: ValveResourceFormat.ResourceTypes
Assembly: ValveResourceFormat.dll
Represents a post-processing resource.
public class PostProcessing : KeyValuesOrNTROInheritance
object ← Block ← KeyValuesOrNTRO ← PostProcessing
Inherited Members
KeyValuesOrNTRO.Type, KeyValuesOrNTRO.Data, KeyValuesOrNTRO.Read(BinaryReader), KeyValuesOrNTRO.Serialize(Stream), KeyValuesOrNTRO.WriteText(IndentedTextWriter), Block.Type, Block.Offset, Block.Size, Block.Resource, Block.Read(BinaryReader), Block.ToString(), Block.WriteText(IndentedTextWriter), Block.Serialize(Stream)
Extension Methods
ResourceDataExtensions.AsKeyValueCollection(Block)
Constructors
PostProcessing()
Initializes a new instance of the 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 = "")Parameters
preloadLookupTable bool
lutFileName string

