TextureSampler.CompareFunc


public static class 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

static final int
A = 6

Always.

static final int
E = 4

Equal

static final int
G = 3

Strictly greater than

static final int
GE = 1

Greater or equal

static final int
L = 2

Strictly less than

static final int
LE = 0

Less or equal

static final int
N = 7

Never.

static final int
NE = 5

Not equal

Constants

A

Added in 1.0.0-alpha04
public static final int A = 6

Always. Depth testing is deactivated.

E

Added in 1.0.0-alpha04
public static final int E = 4

Equal

G

Added in 1.0.0-alpha04
public static final int G = 3

Strictly greater than

GE

Added in 1.0.0-alpha04
public static final int GE = 1

Greater or equal

L

Added in 1.0.0-alpha04
public static final int L = 2

Strictly less than

LE

Added in 1.0.0-alpha04
public static final int LE = 0

Less or equal

N

Added in 1.0.0-alpha04
public static final int N = 7

Never. The depth test always fails.

NE

Added in 1.0.0-alpha04
public static final int NE = 5

Not equal

Public fields

INSTANCE

Added in 1.0.0-alpha04
public static @NonNull TextureSampler.CompareFunc INSTANCE