SamplerBindingType


public final class SamplerBindingType


Specifies the type of a sampler binding in a bind group layout.

Summary

Constants

static final int

Indicates that this binding is not used.

static final int

A comparison sampler for depth textures.

static final int

A filtering sampler.

static final int

A non-filtering sampler.

static final int

Indicates that no sampler binding type is specified.

Public methods

static final @NonNull String
toString(int value)

Constants

BindingNotUsed

public static final int BindingNotUsed = 0

Indicates that this binding is not used.

Comparison

public static final int Comparison = 4

A comparison sampler for depth textures.

Filtering

public static final int Filtering = 2

A filtering sampler.

NonFiltering

public static final int NonFiltering = 3

A non-filtering sampler.

Undefined

public static final int Undefined = 1

Indicates that no sampler binding type is specified.

Public methods

toString

Added in 1.0.0-alpha05
public static final @NonNull String toString(int value)