# VkViewportSwizzleNV(3) Manual Page

## Name

VkViewportSwizzleNV - Structure specifying a viewport swizzle

## C Specification

The `VkViewportSwizzleNV` structure is defined as:

    typedef struct VkViewportSwizzleNV {
        VkViewportCoordinateSwizzleNV    x;
        VkViewportCoordinateSwizzleNV    y;
        VkViewportCoordinateSwizzleNV    z;
        VkViewportCoordinateSwizzleNV    w;
    } VkViewportSwizzleNV;

## Members

- `x` is a VkViewportCoordinateSwizzleNV value specifying the swizzle operation to apply to the x component of the primitive

- `y` is a VkViewportCoordinateSwizzleNV value specifying the swizzle operation to apply to the y component of the primitive

- `z` is a VkViewportCoordinateSwizzleNV value specifying the swizzle operation to apply to the z component of the primitive

- `w` is a VkViewportCoordinateSwizzleNV value specifying the swizzle operation to apply to the w component of the primitive

## Description

Valid Usage (Implicit)

- `x` must be a valid VkViewportCoordinateSwizzleNV value

- `y` must be a valid VkViewportCoordinateSwizzleNV value

- `z` must be a valid VkViewportCoordinateSwizzleNV value

- `w` must be a valid VkViewportCoordinateSwizzleNV value

## See Also

VkPipelineViewportSwizzleStateCreateInfoNV, VkViewportCoordinateSwizzleNV

## 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 (c) 2014-2020 Khronos Group. This work is licensed under a Creative Commons Attribution 4.0 International License.