60 lines
1.6 KiB
Plaintext
60 lines
1.6 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/
|
|
|
|
VkPushConstantRange(3)
|
|
======================
|
|
|
|
Name
|
|
----
|
|
VkPushConstantRange - Structure specifying a push constant range
|
|
|
|
C Specification
|
|
---------------
|
|
|
|
// refBegin VkPushConstantRange - Structure specifying a push constant range
|
|
|
|
The sname:VkPushConstantRange structure is defined as:
|
|
|
|
include::../structs/VkPushConstantRange.txt[]
|
|
|
|
|
|
Members
|
|
-------
|
|
|
|
* pname:stageFlags is a set of stage flags describing the shader
|
|
stages that will access a range of push constants. If a particular stage
|
|
is not included in the range, then accessing members of that range of
|
|
push constants from the corresponding shader stage will result in
|
|
undefined data being read.
|
|
* pname:offset and pname:size are the start offset and size,
|
|
respectively, consumed by the range. Both pname:offset and pname:size
|
|
are in units of bytes and must: be a multiple of 4. The layout of
|
|
the push constant variables is specified in the shader.
|
|
|
|
|
|
Description
|
|
-----------
|
|
|
|
include::../validity/structs/VkPushConstantRange.txt[]
|
|
|
|
|
|
See Also
|
|
--------
|
|
|
|
slink:VkPipelineLayoutCreateInfo, elink:VkShaderStageFlags
|
|
|
|
|
|
Document Notes
|
|
--------------
|
|
|
|
For more information, see the Vulkan Specification at URL
|
|
|
|
https://www.khronos.org/registry/vulkan/specs/1.0/xhtml/vkspec.html#VkPushConstantRange
|
|
|
|
This page is extracted from the Vulkan Specification.
|
|
Fixes and changes should be made to the Specification,not directly.
|
|
|
|
include::footer.txt[]
|
|
|