ShaderStage


class ShaderStage


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

Summary

Constants

const Int

The compute shader stage.

const Int

The fragment shader stage.

const Int
None = 0

No shader stage is specified.

const Int
Vertex = 1

The vertex shader stage.

Public companion functions

String
toString(value: Int)

Constants

Compute

const val Compute = 4: Int

The compute shader stage.

Fragment

const val Fragment = 2: Int

The fragment shader stage.

None

const val None = 0: Int

No shader stage is specified.

Vertex

const val Vertex = 1: Int

The vertex shader stage.

Public companion functions

toString

Added in 1.0.0-alpha05
fun toString(value: Int): String