Vulkan-Docs/doc/specs/vulkan/appendices/VK_NV_fill_rectangle.txt

62 lines
1.2 KiB
Plaintext

[[VK_NV_fill_rectangle]]
== VK_NV_fill_rectangle
*Name String*::
+VK_NV_fill_rectangle+
*Extension Type*::
Device extension
*Registered Extension Number*::
154
*Status*::
Complete
*Last Modified Data*::
2017-05-22
*Revision*::
1
*Dependencies*::
- This extension is written against version 1.0 of the Vulkan API.
- This extension requires Vulkan 1.0.
*Contributors*::
- Jeff Bolz, NVIDIA
*Contact*::
- Jeff Bolz (jbolz 'at' nvidia.com)
This extension adds a new elink:VkPolygonMode enum where a triangle is
rasterized by computing and filling its axis-aligned screen-space bounding
box, disregarding the actual triangle edges.
This can be useful for drawing a rectangle without being split into two
triangles with an internal edge.
It is also useful to minimize the number of primitives that need to be
drawn, particularly for a user interface.
=== New Object Types
None.
=== New Enum Constants
* Extending elink:VkPolygonMode
** ename:VK_POLYGON_MODE_FILL_RECTANGLE_NV
=== New Enums
None.
=== New Structures
None.
=== New Functions
None.
=== Issues
None.
=== Version History
* Revision 1, 2017-05-22 (Jeff Bolz)
- Internal revisions