G1R AngelScript
Scripting reference for the Gothic 1 Remake
Loading...
Searching...
No Matches
FNiagaraGlobalBudgetScaling Struct Reference

Public Member Functions

Functions
void SetbCullByGlobalBudget (bool Value)
 Controls whether global budget based culling is enabled.
void SetbScaleMaxDistanceByGlobalBudgetUse (bool Value)
 Controls whether we scale down the MaxDistance based on the global budget use. Allows us to increase aggression of culling when performance is poor.
void SetbScaleMaxInstanceCountByGlobalBudgetUse (bool Value)
 Controls whether we scale down the system instance counts by global budget usage. Allows us to increase aggression of culling when performance is poor.
void SetbScaleSystemInstanceCountByGlobalBudgetUse (bool Value)
 Controls whether we scale down the effect type instance counts by global budget usage. Allows us to increase aggression of culling when performance is poor.
FNiagaraGlobalBudgetScaling & opAssign (FNiagaraGlobalBudgetScaling Other)

Public Attributes

Budget Scaling
FNiagaraLinearRamp MaxDistanceScaleByGlobalBudgetUse
 When enabled, MaxDistance is scaled down by the global budget use based on this curve. Allows us to cull more aggressively when performance is poor.
FNiagaraLinearRamp MaxInstanceCountScaleByGlobalBudgetUse
 When enabled, Max Effect Type Instances is scaled down by the global budget use based on this curve. Allows us to cull more aggressively when performance is poor.
FNiagaraLinearRamp MaxSystemInstanceCountScaleByGlobalBudgetUse
 When enabled, Max System Instances is scaled down by the global budget use based on this curve. Allows us to cull more aggressively when performance is poor.
Scalability
float32 MaxGlobalBudgetUsage
 Effects will be culled if the global budget usage exceeds this fraction. A global budget usage of 1.0 means current global FX workload has reached it's max budget. Budgets are set by CVars under FX.Budget...

Member Function Documentation

◆ opAssign()

◆ SetbCullByGlobalBudget()

void SetbCullByGlobalBudget ( bool Value)

Controls whether global budget based culling is enabled.

◆ SetbScaleMaxDistanceByGlobalBudgetUse()

void SetbScaleMaxDistanceByGlobalBudgetUse ( bool Value)

Controls whether we scale down the MaxDistance based on the global budget use. Allows us to increase aggression of culling when performance is poor.

◆ SetbScaleMaxInstanceCountByGlobalBudgetUse()

void SetbScaleMaxInstanceCountByGlobalBudgetUse ( bool Value)

Controls whether we scale down the system instance counts by global budget usage. Allows us to increase aggression of culling when performance is poor.

◆ SetbScaleSystemInstanceCountByGlobalBudgetUse()

void SetbScaleSystemInstanceCountByGlobalBudgetUse ( bool Value)

Controls whether we scale down the effect type instance counts by global budget usage. Allows us to increase aggression of culling when performance is poor.

Member Data Documentation

◆ MaxDistanceScaleByGlobalBudgetUse

FNiagaraLinearRamp MaxDistanceScaleByGlobalBudgetUse

When enabled, MaxDistance is scaled down by the global budget use based on this curve. Allows us to cull more aggressively when performance is poor.

◆ MaxGlobalBudgetUsage

float32 MaxGlobalBudgetUsage

Effects will be culled if the global budget usage exceeds this fraction. A global budget usage of 1.0 means current global FX workload has reached it's max budget. Budgets are set by CVars under FX.Budget...

◆ MaxInstanceCountScaleByGlobalBudgetUse

FNiagaraLinearRamp MaxInstanceCountScaleByGlobalBudgetUse

When enabled, Max Effect Type Instances is scaled down by the global budget use based on this curve. Allows us to cull more aggressively when performance is poor.

◆ MaxSystemInstanceCountScaleByGlobalBudgetUse

FNiagaraLinearRamp MaxSystemInstanceCountScaleByGlobalBudgetUse

When enabled, Max System Instances is scaled down by the global budget use based on this curve. Allows us to cull more aggressively when performance is poor.