TextureDimension


class TextureDimension


Defines the dimensionality of a texture.

Summary

Constants

const Int

Indicates that no texture dimension is specified.

const Int
_1D = 1

A one-dimensional texture.

const Int
_2D = 2

A two-dimensional texture.

const Int
_3D = 3

A three-dimensional texture.

Public companion functions

String
toString(value: Int)

Constants

Undefined

const val Undefined = 0: Int

Indicates that no texture dimension is specified.

_1D

const val _1D = 1: Int

A one-dimensional texture.

_2D

const val _2D = 2: Int

A two-dimensional texture.

_3D

const val _3D = 3: Int

A three-dimensional texture.

Public companion functions

toString

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