TextStudio2DCostEstimate
public readonly struct TextStudio2DCostEstimateLike-for-like workload estimate surfaced to diagnostics and authoring UI.
Constructors
Section titled “Constructors”
TextStudio2DCostEstimate(int, int, int, int, int, int)
Section titled “TextStudio2DCostEstimate(int, int, int, int, int, int)”public TextStudio2DCostEstimate(int fieldSamples, int textureSamples, int geometrySegments, int offscreenPasses, int intermediateSurfaces, int relativeFragmentCost)Creates a workload estimate from field and texture samples, geometry segments, offscreen passes, intermediate surfaces, and relative fragment cost.
Parameters
| Name | Type |
|---|---|
fieldSamples |
System.Int32 |
textureSamples |
System.Int32 |
geometrySegments |
System.Int32 |
offscreenPasses |
System.Int32 |
intermediateSurfaces |
System.Int32 |
relativeFragmentCost |
System.Int32 |
Properties
Section titled “Properties”
FieldSamples
Section titled “FieldSamples”public int FieldSamples { get; }Returns
System.Int32
TextureSamples
Section titled “TextureSamples”public int TextureSamples { get; }Returns
System.Int32
GeometrySegments
Section titled “GeometrySegments”public int GeometrySegments { get; }Returns
System.Int32
OffscreenPasses
Section titled “OffscreenPasses”public int OffscreenPasses { get; }Returns
System.Int32
IntermediateSurfaces
Section titled “IntermediateSurfaces”public int IntermediateSurfaces { get; }Peak concurrent Hero targets, including output, scratch, masks, and history.
Returns
System.Int32
RelativeFragmentCost
Section titled “RelativeFragmentCost”public int RelativeFragmentCost { get; }Returns
System.Int32