@xpadev-net/niconicomments
    Preparing search index...

    Interface IPlugin

    interface IPlugin {
        addComments?: (comments: IComment[]) => void;
        draw?: (vpos: number) => boolean | undefined;
        transformComments?: (comments: IComment[]) => IComment[];
    }
    Index

    Properties

    addComments?: (comments: IComment[]) => void
    draw?: (vpos: number) => boolean | undefined

    Returning false skips texture invalidation only; compositing still runs. Do not return false before your canvas has been rendered at least once. Plugins with static canvases should still implement draw() and return false after first render to skip per-frame texture invalidation.

    transformComments?: (comments: IComment[]) => IComment[]