RenderTextureSource
public sealed class RenderTextureSource : ILedSourceSource adapter for external RenderTexture inputs. Passthrough with no internal allocation — the caller owns the texture. Marks dirty every frame since external content is uncontrolled.
Properties
Section titled “Properties”
SourceType
Section titled “SourceType”public LedSourceType SourceType { get; }No description is available for this member.
Returns
LEDStudio.LedSourceType — No return description is available.
IsReady
Section titled “IsReady”public bool IsReady { get; }No description is available for this member.
Returns
System.Boolean — No return description is available.
IsDirty
Section titled “IsDirty”public bool IsDirty { get; }No description is available for this member.
Returns
System.Boolean — No return description is available.
OutputTexture
Section titled “OutputTexture”public Texture OutputTexture { get; }No description is available for this member.
Returns
UnityEngine.Texture — No return description is available.
Constructors
Section titled “Constructors”
RenderTextureSource(RenderTexture)
Section titled “RenderTextureSource(RenderTexture)”public RenderTextureSource(RenderTexture rt)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
rt |
UnityEngine.RenderTexture |
Methods
Section titled “Methods”
SetRenderTexture(RenderTexture)
Section titled “SetRenderTexture(RenderTexture)”public void SetRenderTexture(RenderTexture rt)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
rt |
UnityEngine.RenderTexture | |
Prepare(Vector2Int)
Section titled “Prepare(Vector2Int)”public void Prepare(Vector2Int targetResolution)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
targetResolution |
UnityEngine.Vector2Int | |
UpdateSource(in TimeStep)
Section titled “UpdateSource(in TimeStep)”public void UpdateSource(in TimeStep step)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
step |
ImpossibleRobert.Common.Timing.TimeStep | |
MarkClean()
Section titled “MarkClean()”public void MarkClean()No description is available for this member.
GetDirtyRects(List)
Section titled “GetDirtyRects(List)”public void GetDirtyRects(List<RectInt> outRects)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
outRects |
System.Collections.Generic.List{UnityEngine.RectInt} | |
Release()
Section titled “Release()”public void Release()No description is available for this member.