TextureSampleType


public final class TextureSampleType


Specifies the data type of a sampled texture in a bind group layout.

Summary

Constants

static final int

Indicates that this binding is not used.

static final int
Depth = 4

A depth texture.

static final int
Float = 2

A floating-point texture.

static final int
Sint = 5

A signed integer texture.

static final int
Uint = 6

An unsigned integer texture.

static final int

Indicates that no texture sample type is specified.

static final int

A non-filterable floating-point texture.

Public methods

static final @NonNull String
toString(int value)

Constants

BindingNotUsed

public static final int BindingNotUsed = 0

Indicates that this binding is not used.

Depth

public static final int Depth = 4

A depth texture.

Float

public static final int Float = 2

A floating-point texture.

Sint

public static final int Sint = 5

A signed integer texture.

Uint

public static final int Uint = 6

An unsigned integer texture.

Undefined

public static final int Undefined = 1

Indicates that no texture sample type is specified.

UnfilterableFloat

public static final int UnfilterableFloat = 3

A non-filterable floating-point texture.

Public methods

toString

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