58 lines
1.3 KiB
Plaintext
58 lines
1.3 KiB
Plaintext
// Copyright (c) 2014-2016 Khronos Group. This work is licensed under a
|
|
// Creative Commons Attribution 4.0 International License; see
|
|
// http://creativecommons.org/licenses/by/4.0/
|
|
|
|
vkDestroyShaderModule(3)
|
|
========================
|
|
|
|
Name
|
|
----
|
|
vkDestroyShaderModule - Destroy a shader module module
|
|
|
|
C Specification
|
|
---------------
|
|
|
|
// refBegin vkDestroyShaderModule Destroy a shader module module
|
|
|
|
To destroy a shader module, call:
|
|
|
|
include::../protos/vkDestroyShaderModule.txt[]
|
|
|
|
|
|
Parameters
|
|
----------
|
|
|
|
* pname:device is the logical device that destroys the shader module.
|
|
* pname:shaderModule is the handle of the shader module to destroy.
|
|
* pname:pAllocator controls host memory allocation as described in the
|
|
<<memory-allocation, Memory Allocation>> chapter.
|
|
|
|
|
|
Description
|
|
-----------
|
|
|
|
A shader module can: be destroyed while pipelines created using its
|
|
shaders are still in use.
|
|
|
|
include::../validity/protos/vkDestroyShaderModule.txt[]
|
|
|
|
|
|
See Also
|
|
--------
|
|
|
|
slink:VkAllocationCallbacks, slink:VkDevice, slink:VkShaderModule
|
|
|
|
|
|
Document Notes
|
|
--------------
|
|
|
|
For more information, see the Vulkan Specification at URL
|
|
|
|
https://www.khronos.org/registry/vulkan/specs/1.0/xhtml/vkspec.html#vkDestroyShaderModule
|
|
|
|
This page is extracted from the Vulkan Specification.
|
|
Fixes and changes should be made to the Specification,not directly.
|
|
|
|
include::footer.txt[]
|
|
|