Structures

VkViewportWScalingNV

Structure specifying a viewport

The VkViewportWScalingNV structure is defined as:

typedef struct VkViewportWScalingNV {
    float xcoeff;
    float ycoeff;
} VkViewportWScalingNV;
  • xcoeff and ycoeff are the viewport’s W scaling factor for x and y respectively.