Module: DepthFunction

Determines the function used to compare two depths for the depth test.
Source:

Members

(static, constant) ALWAYS :Number

The depth test always passes.
Type:
  • Number
Source:

(static, constant) EQUAL :Number

The depth test passes if the incoming depth is equal to the stored depth.
Type:
  • Number
Source:

(static, constant) GREATER :Number

The depth test passes if the incoming depth is greater than the stored depth.
Type:
  • Number
Source:

(static, constant) GREATER_OR_EQUAL :Number

The depth test passes if the incoming depth is greater than or equal to the stored depth.
Type:
  • Number
Source:

(static, constant) LESS :Number

The depth test passes if the incoming depth is less than the stored depth.
Type:
  • Number
Source:

(static, constant) LESS_OR_EQUAL :Number

The depth test passes if the incoming depth is less than or equal to the stored depth.
Type:
  • Number
Source:

(static, constant) NEVER :Number

The depth test never passes.
Type:
  • Number
Source:

(static, constant) NOT_EQUAL :Number

The depth test passes if the incoming depth is not equal to the stored depth.
Type:
  • Number
Source: