Skip to content

ImageSource

ClassLEDStudioLEDStudio
public sealed class ImageSource : ILedSource

Source adapter for static image/logo textures. Loads once, caches the reduced variant, and only marks dirty when the source texture reference changes.

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 ImageSource(Texture2D texture)

No description is available for this member.

Parameters

Name Type Description
texture UnityEngine.Texture2D

public void SetTexture(Texture2D texture)

No description is available for this member.

Parameters

Name Type Description
texture UnityEngine.Texture2D
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.