Struct PeakSignalToNoiseRatioResult
The result of a Peak Signal to Noise Ratio (PSNR) texture comparison.
Implements
Inherited Members
Namespace: UnityEngine.TestTools.Graphics
Assembly: UnityEngine.TestTools.Graphics.dll
Syntax
public struct PeakSignalToNoiseRatioResult : ITextureComparisonResult
Properties
overallRatio
The aggregated Peak Signal to Noise Ratio (PSNR) value.
Declaration
public float overallRatio { readonly get; init; }
Property Value
| Type | Description |
|---|---|
| float |
perTextureRatio
The Peak Signal to Noise Ratio (PSNR) value for each texture.
Declaration
public float[] perTextureRatio { readonly get; init; }
Property Value
| Type | Description |
|---|---|
| float[] |
Methods
ToString()
Returns a string representation of the PSNR result.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | A string describing the result |