abort function
Submits an error message to the information queue and terminates the current draw or dispatch call being executed.
Syntax
void abort(
);
Parameters
-
None
Return value
This function does not return a value.
Remarks
This operation does nothing on rasterizers that do not support it.
Minimum Shader Model
This function is supported in the following shader models.
Shader Model | Supported |
---|---|
Shader Model 4 (DirectX HLSL) or later. | yes |
Requirements
Requirement | Value |
---|---|
Header |
|
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for