GpaEndCommandList
Syntax
Description
Ends command list for sampling. You will be unable to create samples on the specified command list after GpaEndCommandList is called. For DirectX 12, GpaEndCommandList should be called before the application calls Close on the underlying command list. For Vulkan, it should be called before the application calls vkEndCommandBuffer on the underlying command buffer.
Parameters
Name |
Description |
---|---|
|
Unique identifier of a previously-created command list. |
Return value
Return value |
Description |
---|---|
kGpaStatusOk |
The command list was successfully ended. |
kGpaStatusErrorNullPointer |
The supplied |
kGpaStatusErrorCommandListNotFound |
The supplied |
GpaStatusErrorCommandListAlreadyEnded |
The supplied command list has already been ended. |
kGpaStatusErrorFailed |
The command list could not be ended. |
kGpaStatusErrorException |
Exception occurred. |