Vulkan-Docs/doc/specs/vulkan/man/vkCreateShaderModule.txt

62 lines
1.6 KiB
Plaintext
Raw Normal View History

// 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/
2016-02-16 09:53:44 +00:00
vkCreateShaderModule(3)
=======================
2016-02-16 09:53:44 +00:00
Name
----
vkCreateShaderModule - Creates a new shader module object.
C Specification
---------------
// refBegin vkCreateShaderModule Creates a new shader module object.
To create a shader module, call:
2016-02-16 09:53:44 +00:00
include::../protos/vkCreateShaderModule.txt[]
2016-02-16 09:53:44 +00:00
Parameters
----------
* pname:device is the logical device that creates the shader module.
* pname:pCreateInfo parameter is a pointer to an instance of the
sname:VkShaderModuleCreateInfo structure.
* pname:pAllocator controls host memory allocation as described in the
<<memory-allocation, Memory Allocation>> chapter.
* pname:pShaderModule points to a sname:VkShaderModule handle in which the
resulting shader module object is returned.
2016-02-16 09:53:44 +00:00
Description
-----------
Once a shader module has been created, any entry points it contains can: be
used in pipeline shader stages as described in <<pipelines-compute,Compute
Pipelines>> and <<pipelines-graphics,Graphics Pipelines>>.
2016-02-16 09:53:44 +00:00
include::../validity/protos/vkCreateShaderModule.txt[]
2016-02-16 09:53:44 +00:00
See Also
--------
slink:VkAllocationCallbacks, slink:VkDevice, slink:VkShaderModule, slink:VkShaderModuleCreateInfo
Document Notes
--------------
For more information, see the Vulkan Specification at URL
https://www.khronos.org/registry/vulkan/specs/1.0/xhtml/vkspec.html#vkCreateShaderModule
This page is extracted from the Vulkan Specification.
Fixes and changes should be made to the Specification,not directly.
2016-02-16 09:53:44 +00:00
include::footer.txt[]