InstanceFeatureName


public final class InstanceFeatureName


An enumeration of optional features that an instance may support.

Summary

Constants

static final int

Allows creating multiple devices from a single adapter.

static final int

Enables passing SPIR-V shaders to @see GPUDevice.createShaderModule via @see ShaderSourceSPIRV.

static final int

Enables the use of timeoutNS > 0 with @see GPUInstance.waitAny.

Public methods

static final @NonNull String
toString(int value)

Constants

MultipleDevicesPerAdapter

public static final int MultipleDevicesPerAdapter = 3

Allows creating multiple devices from a single adapter.

ShaderSourceSPIRV

public static final int ShaderSourceSPIRV = 2

Enables passing SPIR-V shaders to @see GPUDevice.createShaderModule via @see ShaderSourceSPIRV.

TimedWaitAny

public static final int TimedWaitAny = 1

Enables the use of timeoutNS > 0 with @see GPUInstance.waitAny.

Public methods

toString

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