Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FilterEffectで複数のターゲットを処理できるようにする #935

Closed
yuto-trd opened this issue Feb 18, 2024 · 0 comments · Fixed by #938
Closed

FilterEffectで複数のターゲットを処理できるようにする #935

yuto-trd opened this issue Feb 18, 2024 · 0 comments · Fixed by #938

Comments

@yuto-trd
Copy link
Member

API案

public readonly struct Rect
{
    // X: NegativeInfinity, Y: NegativeInfinity, Width: PositiveInfinity, Height: PositiveInfinity
    public static readonly Rect Infinity;
    // X: NaN, Y: NaN, Width: NaN, Height: NaN
    public static readonly Rect Invalid;

    public bool IsInvalid { get; }
}

public class FilterEffectContext
{
    public Rect Bounds { get; }

    public void Custom<T>(T data, Action<T, FilterEffectCustomOperationContext> action);
}

public class FilterEffectCustomOperationContext
{
    public IList<EffectTarget> Targets { get; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant