TextureSampler.CompareFunc


object TextureSampler.CompareFunc


Comparison functions for the depth sampler. Although these values are based on the public Filament values, they may diverge over time.

Summary

Constants

const Int
A = 6

Always.

const Int
E = 4

Equal

const Int
G = 3

Strictly greater than

const Int
GE = 1

Greater or equal

const Int
L = 2

Strictly less than

const Int
LE = 0

Less or equal

const Int
N = 7

Never.

const Int
NE = 5

Not equal

Constants

A

Added in 1.0.0-alpha04
const val A = 6: Int

Always. Depth testing is deactivated.

E

Added in 1.0.0-alpha04
const val E = 4: Int

Equal

G

Added in 1.0.0-alpha04
const val G = 3: Int

Strictly greater than

GE

Added in 1.0.0-alpha04
const val GE = 1: Int

Greater or equal

L

Added in 1.0.0-alpha04
const val L = 2: Int

Strictly less than

LE

Added in 1.0.0-alpha04
const val LE = 0: Int

Less or equal

N

Added in 1.0.0-alpha04
const val N = 7: Int

Never. The depth test always fails.

NE

Added in 1.0.0-alpha04
const val NE = 5: Int

Not equal