Class YauiBatching
How YAUI trades draw calls against GPU work when it splits the primitives of a panel into draws.
Assembly: Yaui.dll
View Source
Declaration
public static class YauiBatching
Properties
SplitByShaderFeatures
Whether draws are split so that primitives without heavy features use a lighter variant.
View Source
Declaration
public static bool SplitByShaderFeatures { get; set; }
GpuWeight
The weight of GPU time in the choice of draws.
View Source
Declaration
public static float GpuWeight { get; set; }
CpuWeight
The weight of CPU time (the render thread and the main thread) in the choice of draws.
View Source
Declaration
public static float CpuWeight { get; set; }
SplitMargin
How many times its cost a split has to save in pixels, at least 1. The estimates of pixel costs vary by GPU and by device state; a margin keeps the draws from splitting on a small or uncertain gain.
View Source
Declaration
public static float SplitMargin { get; set; }