RedGPU API - v3.0.0-Alpha
    Preparing search index...

    Class Threshold

    임계값(Threshold) 후처리 이펙트입니다. 지정한 임계값을 기준으로 픽셀을 흑백으로 변환합니다.

    const effect = new RedGPU.PostEffect.Threshold(redGPUContext);
    effect.threshold = 200; // 임계값 조절
    view.postEffectManager.addEffect(effect);

    Hierarchy (View Summary)

    Index

    Constructors

    Accessors

    Methods