Vulkan-Docs/doc/specs/vulkan/man/VkPipelineViewportStateCrea...

63 lines
2.0 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/
VkPipelineViewportStateCreateInfo(3)
====================================
Name
----
VkPipelineViewportStateCreateInfo - Structure specifying parameters of a newly created pipeline viewport state
C Specification
---------------
// refBegin VkPipelineViewportStateCreateInfo - Structure specifying parameters of a newly created pipeline viewport state
The sname:VkPipelineViewportStateCreateInfo structure is defined as:
include::../api/structs/VkPipelineViewportStateCreateInfo.txt[]
Members
-------
* pname:sType is the type of this structure.
* pname:pNext is `NULL` or a pointer to an extension-specific structure.
* pname:flags is reserved for future use.
* pname:viewportCount is the number of viewports used by the pipeline.
* pname:pViewports is a pointer to an array of slink:VkViewport
structures, defining the viewport transforms. If the viewport state is
dynamic, this member is ignored.
* pname:scissorCount is the number of <<fragops-scissor,scissors>> and
must: match the number of viewports.
* pname:pScissors is a pointer to an array of sname:VkRect2D structures
which define the rectangular bounds of the scissor for the corresponding
viewport. If the scissor state is dynamic, this member is ignored.
Description
-----------
include::../validity/structs/VkPipelineViewportStateCreateInfo.txt[]
See Also
--------
slink:VkGraphicsPipelineCreateInfo, elink:VkPipelineViewportStateCreateFlags, slink:VkRect2D, elink:VkStructureType, slink:VkViewport
Document Notes
--------------
For more information, see the Vulkan Specification at URL
https://www.khronos.org/registry/vulkan/specs/1.0/xhtml/vkspec.html#VkPipelineViewportStateCreateInfo
This page is extracted from the Vulkan Specification.
Fixes and changes should be made to the Specification,not directly.
include::footer.txt[]