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

    Class BlendState

    머티리얼(Material)의 GPU 렌더 파이프라인에서 색상 및 알파 블렌딩 동작을 제어하는 상태 객체입니다.

    BlendState를 통해 머티리얼별로 다양한 블렌드 팩터와 연산을 설정하여, 투명/반투명 효과 및 다양한 합성 효과를 구현할 수 있습니다.

    Index

    Buffer

    • BlendState 생성자

      Parameters

      • targetMaterial: any

        블렌드 상태가 적용될 머티리얼 객체

      • OptionalsrcFactor: GPUBlendFactor

        소스 블렌드 팩터

      • OptionaldstFactor: GPUBlendFactor

        대상 블렌드 팩터

      • Optionaloperation: GPUBlendOperation

        블렌드 연산

      Returns BlendState

    • get operation(): GPUBlendOperation

      블렌드 연산 반환

      Returns GPUBlendOperation

    • set operation(newOperation: GPUBlendOperation): void

      블렌드 연산 설정

      Parameters

      • newOperation: GPUBlendOperation

        GPUBlendOperation 값

      Returns void

    Other

    state: GPUBlendComponent

    GPUBlendComponent 상태 객체