DefectRuntime
public sealed class DefectRuntimeRuntime 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.
Constructors
Section titled “Constructors”
DefectRuntime(RenderTexture)
Section titled “DefectRuntime(RenderTexture)”public DefectRuntime(RenderTexture target)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
target |
UnityEngine.RenderTexture |
Methods
Section titled “Methods”
MarkDirty()
Section titled “MarkDirty()”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 | |
PackStuckColor(Color)
Section titled “PackStuckColor(Color)”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.
Release()
Section titled “Release()”public void Release()No description is available for this member.