ShaderStage


public final class ShaderStage


A bitmask that specifies the shader stages where a resource is accessible.

Summary

Constants

static final int

The compute shader stage.

static final int

The fragment shader stage.

static final int
None = 0

No shader stage is specified.

static final int
Vertex = 1

The vertex shader stage.

Public methods

static final @NonNull String
toString(int value)

Constants

Compute

public static final int Compute = 4

The compute shader stage.

Fragment

public static final int Fragment = 2

The fragment shader stage.

None

public static final int None = 0

No shader stage is specified.

Vertex

public static final int Vertex = 1

The vertex shader stage.

Public methods

toString

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