Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BlendState

GFX 混合状态。

Hierarchy

  • BlendState

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

Private _token

_token: never

blendColor

blendColor: Color

isA2C

isA2C: boolean

isIndepend

isIndepend: boolean

targets

targets: BlendTarget[]

Accessors

handle

  • get handle(): RawBufferHandle

Methods

destroy

  • destroy(): void

reset

  • reset(): void

setTarget

  • en

    Should use this function to set target, or it will not work on native platforms, as native can not support this feature, such as blendState[i] = target;.

    Parameters

    • index: number

      The index to set target.

    • target: BlendTarget

      The target to be set.

    Returns void

Generated using TypeDoc