| // Copyright (c) 2016-2020 NVIDIA Corporation |
| // |
| // SPDX-License-Identifier: CC-BY-4.0 |
| |
| include::{generated}/meta/{refprefix}VK_NV_fill_rectangle.txt[] |
| |
| === Other Extension Metadata |
| |
| *Last Modified Date*:: |
| 2017-05-22 |
| *Contributors*:: |
| - Jeff Bolz, NVIDIA |
| |
| === Description |
| |
| This extension adds a new elink:VkPolygonMode code: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. |
| |
| include::{generated}/interfaces/VK_NV_fill_rectangle.txt[] |
| |
| === Version History |
| |
| * Revision 1, 2017-05-22 (Jeff Bolz) |
| - Internal revisions |