Skip to content

DefectRuntime

ClassLEDStudioLEDStudio
public sealed class DefectRuntime

Runtime defect mask generator. Combines active defect profiles into a board-resolution RGBA defect texture using the defect compositor shader. Supports the hybrid model: seeded procedural + sparse overrides + imported masks.

public DefectRuntime(RenderTexture target)

No description is available for this member.

Parameters

Name Type Description
target UnityEngine.RenderTexture

public void MarkDirty()

No description is available for this member.

Generate(BoardDefinition, IReadOnlyList, bool, float, int, bool)

Section titled “Generate(BoardDefinition, IReadOnlyList, bool, float, int, bool)”
public void Generate(BoardDefinition definition, IReadOnlyList<LedDefectBlendRequest> activeDefects, bool defectsEnabled, float time, int boardInstanceId, bool enableTemporalDefects = true)

No description is available for this member.

Parameters

Name Type Description
definition LEDStudio.BoardDefinition
activeDefects System.Collections.Generic.IReadOnlyList{LEDStudio.LedDefectBlendRequest}
defectsEnabled System.Boolean
time System.Single
boardInstanceId System.Int32
enableTemporalDefects System.Boolean
public static Vector2 PackStuckColor(Color color)

No description is available for this member.

Parameters

Name Type Description
color UnityEngine.Color

Returns

UnityEngine.Vector2 — No return description is available.

public void Release()

No description is available for this member.