Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • BlendingOptions

Index

Properties

color?: Vec4
enable?: boolean

equation can be either a string or an object with the fields {rgb, alpha}. The former corresponds to gl.blendEquation and the latter to gl.blendEquationSeparate. Default: 'add'

func can be an object with the fields {src, dst} or {srcRGB, srcAlpha, dstRGB, dstAlpha}, with the former corresponding to gl.blendFunc and the latter to gl.blendFuncSeparate. Default: { src: 'src alpha', dst: 'one minus src alpha' }

Generated using TypeDoc