Skip to content

LedRenderTextureDataSource

ClassLEDStudioLEDStudio
[ExecuteAlways]
[AddComponentMenu("LED Studio/Data Sources/RenderTexture Source")]
public sealed class LedRenderTextureDataSource : LedDataSourceBase, ILedSource

Feeds an external RenderTexture into the LED board (e.g. from a camera, a UI canvas, or another render pipeline). Place on the same GameObject as LEDStudio.LedBoardController or a child — it will be auto-discovered.

public override LedSourceType SourceType { get; }

No description is available for this member.

Returns

LEDStudio.LedSourceType — No return description is available.

public override bool IsReady { get; }

No description is available for this member.

Returns

System.Boolean — No return description is available.

public override bool IsDirty { get; }

No description is available for this member.

Returns

System.Boolean — No return description is available.

public override Texture OutputTexture { get; }

No description is available for this member.

Returns

UnityEngine.Texture — No return description is available.

public RenderTexture SourceRenderTexture { get; set; }

No description is available for this member.

Returns

UnityEngine.RenderTexture — No return description is available.

public void SetRenderTexture(RenderTexture rt)

Runtime-friendly setter that forwards to the SourceRenderTexture property.

Parameters

Name Type Description
rt UnityEngine.RenderTexture
public override void Prepare(Vector2Int targetResolution)

No description is available for this member.

Parameters

Name Type Description
targetResolution UnityEngine.Vector2Int
public override void UpdateSource(in TimeStep step)

No description is available for this member.

Parameters

Name Type Description
step ImpossibleRobert.Common.Timing.TimeStep
public override void MarkClean()

No description is available for this member.

public override void Release()

No description is available for this member.