API Docs for: 2.2.1
Show:

File: pixi/renderers/webgl/utils/WebGLBlendModeManager.hx

  1. package pixi.renderers.webgl.utils;
  2. @:native("PIXI.WebGLBlendModeManager")
  3. extern class WebGLBlendModeManager {
  4. /**
  5. * @class WebGLMaskManager
  6. * @constructor
  7. */
  8. function new();
  9. /**
  10. * Sets the WebGL Context.
  11. *
  12. * @method setContext
  13. * @param gl {WebGLContext} the current WebGL drawing context
  14. */
  15. function setContext(gl:Dynamic):Void;
  16. /**
  17. * Sets-up the given blendMode from WebGL's point of view
  18. * @method setBlendMode
  19. *
  20. * @param blendMode {Number} the blendMode, should be a Pixi const, such as PIXI.BlendModes.ADD
  21. */
  22. function setBlendMode(blendMode:Float):Void;
  23. /**
  24. * Destroys this object.
  25. *
  26. * @method destroy
  27. */
  28. function destroy():Void;
  29. }