Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- newtype PolygonMode where
- PolygonMode Int32
- pattern POLYGON_MODE_FILL :: PolygonMode
- pattern POLYGON_MODE_LINE :: PolygonMode
- pattern POLYGON_MODE_POINT :: PolygonMode
- pattern POLYGON_MODE_FILL_RECTANGLE_NV :: PolygonMode
Documentation
newtype PolygonMode Source #
VkPolygonMode - Control polygon rasterization mode
Description
These modes affect only the final rasterization of polygons: in particular, a polygon’s vertices are shaded and the polygon is clipped and possibly culled before these modes are applied.
If
PhysicalDeviceMaintenance5PropertiesKHR
::polygonModePointSize
is set to TRUE
, the point size of the
final rasterization of polygons is taken from PointSize
when
polygon mode
is POLYGON_MODE_POINT
.
Otherwise, if
PhysicalDeviceMaintenance5PropertiesKHR
::polygonModePointSize
is set to FALSE
, the point size of the
final rasterization of polygons is 1.0 when
polygon mode
is POLYGON_MODE_POINT
.
See Also
VK_VERSION_1_0,
PipelineRasterizationStateCreateInfo
,
cmdSetPolygonModeEXT
pattern POLYGON_MODE_FILL :: PolygonMode |
|
pattern POLYGON_MODE_LINE :: PolygonMode |
|
pattern POLYGON_MODE_POINT :: PolygonMode |
|
pattern POLYGON_MODE_FILL_RECTANGLE_NV :: PolygonMode |
Polygons rendered in Area calculation and facingness are determined for
|