// 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/ VkShaderModule(3) ================= Name ---- VkShaderModule - Opaque handle to a shader module object C Specification --------------- // refBegin VkShaderModule - Opaque handle to a shader module object _Shader modules_ contain _shader code_ and one or more entry points. Shaders are selected from a shader module by specifying an entry point as part of <> creation. The stages of a pipeline can: use shaders that come from different modules. The shader code defining a shader module must: be in the SPIR-V format, as described by the <> appendix. Shader modules are represented by sname:VkShaderModule handles: include::../api/handles/VkShaderModule.txt[] Description ----------- // refEnd VkShaderModule See Also -------- slink:VkPipelineShaderStageCreateInfo, flink:vkCreateShaderModule, flink:vkDestroyShaderModule Document Notes -------------- For more information, see the Vulkan Specification at URL https://www.khronos.org/registry/vulkan/specs/1.0/xhtml/vkspec.html#VkShaderModule This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification,not directly. include::footer.txt[]