BackendType


public final class BackendType


Specifies the underlying graphics API used by the WebGPU implementation.

Summary

Constants

static final int
D3D11 = 3

Direct3D 11 backend.

static final int
D3D12 = 4

Direct3D 12 backend.

static final int
Metal = 5

Apple Metal backend.

static final int
Null = 1

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

static final int
OpenGL = 7

OpenGL backend.

static final int

OpenGL ES backend.

static final int

Indicates that no backend type is specified.

static final int
Vulkan = 6

Vulkan backend.

static final int
WebGPU = 2

The WebGPU backend.

Public methods

static final @NonNull String
toString(int value)

Constants

D3D11

public static final int D3D11 = 3

Direct3D 11 backend.

D3D12

public static final int D3D12 = 4

Direct3D 12 backend.

Metal

public static final int Metal = 5

Apple Metal backend.

Null

public static final int Null = 1

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

OpenGL

public static final int OpenGL = 7

OpenGL backend.

OpenGLES

public static final int OpenGLES = 8

OpenGL ES backend.

Undefined

public static final int Undefined = 0

Indicates that no backend type is specified.

Vulkan

public static final int Vulkan = 6

Vulkan backend.

WebGPU

public static final int WebGPU = 2

The WebGPU backend.

Public methods

toString

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