abort

Description

Try to terminate the current draw or dispatch call (HLSL SM 4.0)

Signature

void abort();

void abort<each T>(
    NativeString format,
    const T args);

Generic Parameters

T

Parameters

format : NativeString

args : T

Availability and Requirements

Defined for the following targets:

glsl

Available in all stages.

spirv

Available in all stages.

Requires capability: spvAbort.