Blending

Package: Libraries.Game.Graphics · Inherits from: Libraries.Language.Object

This class is used to set the type of blending used in OpenGL for a particular PixelMap. This class is used primarily for internal use, and most users will never need to use this class directly.

Variables

  • integer NONE
  • integer SOURCE_OVER: This gets the value of the Blending object. The value should either be Blending:NONE or Blending:SOURCE_OVER.

Actions

GetValue()

This gets the value of the Blending object. The value should either be Blending:NONE or Blending:SOURCE_OVER.

Returns

integer

Example

use Libraries.Game.Graphics.Blending

Blending blending
integer value = blending:GetValue()

SetValue(integer type)

This sets the value of the Blending object. The value should either be Blending:NONE or Blending:SOURCE_OVER.

Parameters

  • type integer

Example

use Libraries.Game.Graphics.Blending

Blending blending
blending:SetValue(blending:SOURCE_OVER)

Inherited Actions

3 actions from Libraries.Language.Object