Skip to content

RenderTextureSource

ClassLEDStudioLEDStudio
public sealed class RenderTextureSource : ILedSource

Source adapter for external RenderTexture inputs. Passthrough with no internal allocation — the caller owns the texture. Marks dirty every frame since external content is uncontrolled.

public LedSourceType SourceType { get; }

No description is available for this member.

Returns

LEDStudio.LedSourceType — No return description is available.

public bool IsReady { get; }

No description is available for this member.

Returns

System.Boolean — No return description is available.

public bool IsDirty { get; }

No description is available for this member.

Returns

System.Boolean — No return description is available.

public Texture OutputTexture { get; }

No description is available for this member.

Returns

UnityEngine.Texture — No return description is available.

public RenderTextureSource(RenderTexture rt)

No description is available for this member.

Parameters

Name Type Description
rt UnityEngine.RenderTexture

public void SetRenderTexture(RenderTexture rt)

No description is available for this member.

Parameters

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

No description is available for this member.

Parameters

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

No description is available for this member.

Parameters

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

No description is available for this member.

public void GetDirtyRects(List<RectInt> outRects)

No description is available for this member.

Parameters

Name Type Description
outRects System.Collections.Generic.List{UnityEngine.RectInt}
public void Release()

No description is available for this member.