Function Prototype
vkDestroyVideoSessionParametersKHR
Destroy video session parameters object
To destroy a video session parameters object, call:
void vkDestroyVideoSessionParametersKHR(
VkDevice device,
VkVideoSessionParametersKHR videoSessionParameters,
const VkAllocationCallbacks* pAllocator);
deviceis the logical device that destroys the video session parameters object.videoSessionParametersis the video session parameters object to destroy.pAllocatorcontrols host memory allocation as described in the Memory Allocation chapter.
Valid Usage
VUID-vkDestroyVideoSessionParametersKHR-videoSessionParameters-07212
All submitted commands that refer to videoSessionParameters must
have completed execution
VUID-vkDestroyVideoSessionParametersKHR-videoSessionParameters-07213
If VkAllocationCallbacks were provided when
videoSessionParameters was created, a compatible set of callbacks
must be provided here
VUID-vkDestroyVideoSessionParametersKHR-videoSessionParameters-07214
If no VkAllocationCallbacks were provided when
videoSessionParameters was created, pAllocator must be
NULL
Valid Usage (Implicit)
VUID-vkDestroyVideoSessionParametersKHR-device-parameter
device must be a valid VkDevice handle
VUID-vkDestroyVideoSessionParametersKHR-videoSessionParameters-parameter
If videoSessionParameters is not VK_NULL_HANDLE, videoSessionParameters must be a valid VkVideoSessionParametersKHR handle
VUID-vkDestroyVideoSessionParametersKHR-pAllocator-parameter
If pAllocator is not NULL, pAllocator must be a valid pointer to a valid VkAllocationCallbacks structure
VUID-vkDestroyVideoSessionParametersKHR-videoSessionParameters-parent
If videoSessionParameters is a valid handle, it must have been created, allocated, or retrieved from device
Host Synchronization
- Host access to
videoSessionParametersmust be externally synchronized ::