BackendType


class BackendType


Specifies the underlying graphics API used by the WebGPU implementation.

Summary

Constants

const Int
D3D11 = 3

Direct3D 11 backend.

const Int
D3D12 = 4

Direct3D 12 backend.

const Int
Metal = 5

Apple Metal backend.

const Int
Null = 1

A {@code null} backend with no-op rendering.

const Int
OpenGL = 7

OpenGL backend.

const Int

OpenGL ES backend.

const Int

Indicates that no backend type is specified.

const Int
Vulkan = 6

Vulkan backend.

const Int
WebGPU = 2

The WebGPU backend.

Public companion functions

String
toString(value: Int)

Constants

D3D11

const val D3D11 = 3: Int

Direct3D 11 backend.

D3D12

const val D3D12 = 4: Int

Direct3D 12 backend.

Metal

const val Metal = 5: Int

Apple Metal backend.

Null

const val Null = 1: Int

A {@code null} backend with no-op rendering.

OpenGL

const val OpenGL = 7: Int

OpenGL backend.

OpenGLES

const val OpenGLES = 8: Int

OpenGL ES backend.

Undefined

const val Undefined = 0: Int

Indicates that no backend type is specified.

Vulkan

const val Vulkan = 6: Int

Vulkan backend.

WebGPU

const val WebGPU = 2: Int

The WebGPU backend.

Public companion functions

toString

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