그레이스케일(Grayscale) 후처리 이펙트입니다. 화면을 흑백으로 변환합니다.
const effect = new RedGPU.PostEffect.Grayscale(redGPUContext);view.postEffectManager.addEffect(effect); Copy
const effect = new RedGPU.PostEffect.Grayscale(redGPUContext);view.postEffectManager.addEffect(effect);
Grayscale 인스턴스 생성
렌더링 컨텍스트
Optional
그레이스케일(Grayscale) 후처리 이펙트입니다. 화면을 흑백으로 변환합니다.
Example