Function Prototype
vkDestroyPipelineLayout
Destroy a pipeline layout object
To destroy a pipeline layout, call:
void vkDestroyPipelineLayout(
VkDevice device,
VkPipelineLayout pipelineLayout,
const VkAllocationCallbacks* pAllocator);
pub fn destroy_pipeline_layout(
device: vk::Device,
pipeline_layout: vk::PipelineLayout,
p_allocator: *const vk::AllocationCallbacks,
);
deviceis the logical device that destroys the pipeline layout.pipelineLayoutis the pipeline layout to destroy.pAllocatorcontrols host memory allocation as described in the Memory Allocation chapter.
Valid Usage
VUID-vkDestroyPipelineLayout-pipelineLayout-00299
If VkAllocationCallbacks were provided when pipelineLayout
was created, a compatible set of callbacks must be provided here
VUID-vkDestroyPipelineLayout-pipelineLayout-00300
If no VkAllocationCallbacks were provided when
pipelineLayout was created, pAllocator must be NULL
Valid Usage (Implicit)
VUID-vkDestroyPipelineLayout-device-parameter
device must be a valid VkDevice handle
VUID-vkDestroyPipelineLayout-pipelineLayout-parameter
If pipelineLayout is not VK_NULL_HANDLE, pipelineLayout must be a valid VkPipelineLayout handle
VUID-vkDestroyPipelineLayout-pAllocator-parameter
If pAllocator is not NULL, pAllocator must be a valid pointer to a valid VkAllocationCallbacks structure
VUID-vkDestroyPipelineLayout-pipelineLayout-parent
If pipelineLayout is a valid handle, it must have been created, allocated, or retrieved from device
Host Synchronization
- Host access to
pipelineLayoutmust be externally synchronized
Parent
VK_VERSION_1_0Type
Function Prototype