Structures
VkPipelineViewportWScalingStateCreateInfoNV
Structure specifying parameters of a newly created pipeline viewport W scaling state
The VkPipelineViewportWScalingStateCreateInfoNV
structure is defined
as:
typedef struct VkPipelineViewportWScalingStateCreateInfoNV {
VkStructureType sType;
const void* pNext;
VkBool32 viewportWScalingEnable;
uint32_t viewportCount;
const VkViewportWScalingNV* pViewportWScalings;
} VkPipelineViewportWScalingStateCreateInfoNV;
sType
is a VkStructureType value identifying this structure.pNext
isNULL
or a pointer to a structure extending this structure.viewportWScalingEnable
controls whether viewport W scaling is enabled.viewportCount
is the number of viewports used by W scaling, and must match the number of viewports in the pipeline if viewport W scaling is enabled.pViewportWScalings
is a pointer to an array of VkViewportWScalingNV structures defining the W scaling parameters for the corresponding viewports. If the viewport W scaling state is dynamic, this member is ignored.
Valid Usage (Implicit)
VUID-VkPipelineViewportWScalingStateCreateInfoNV-sType-sType
sType
must be VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_W_SCALING_STATE_CREATE_INFO_NV
VUID-VkPipelineViewportWScalingStateCreateInfoNV-viewportCount-arraylength
viewportCount
must be greater than 0