VkShaderModule(3)

# VkShaderModule(3) Manual Page

## Name

VkShaderModule - Opaque handle to a shader module object

Loading… please wait.

## C Specification

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 pipeline 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 Vulkan Environment for SPIR-V appendix.

Shader modules are represented by `VkShaderModule` handles:

    // Provided by VK_VERSION_1_0
    VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkShaderModule)

## Description

## See Also

VK_DEFINE_NON_DISPATCHABLE_HANDLE, VK_VERSION_1_0, VkPipelineShaderStageCreateInfo, vkCreateShaderModule, vkDestroyShaderModule, vkGetShaderModuleIdentifierEXT

## Document Notes

For more information, see the Vulkan Specification

This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.

## Copyright

Copyright 2014-2025 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0