PointSize(3)
Description
PointSize
-
Decorating a variable with the
PointSize
built-in decoration will make that variable contain the size of point primitives or the final rasterization of polygons if polygon mode isVK_POLYGON_MODE_POINT
whenVkPhysicalDeviceMaintenance5Properties
::polygonModePointSize
is set toVK_TRUE
. The value written to the variable decorated withPointSize
by the last pre-rasterization shader stage in the pipeline is used as the framebuffer-space size of points produced by rasterization. If themaintenance5
feature is enabled and a value is not written to a variable decorated withPointSize
, a value of 1.0 is used as the size of points.
When |
Document Notes
For more information, see the Vulkan Specification (NOTE: cannot determine Specification page containing this refpage).
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.