We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
PolygonMode_Point
1 parent ab1489f commit 6832da7Copy full SHA for 6832da7
lvk/LVK.h
@@ -420,6 +420,7 @@ struct DepthState {
420
enum PolygonMode : uint8_t {
421
PolygonMode_Fill = 0,
422
PolygonMode_Line = 1,
423
+ PolygonMode_Point = 2,
424
};
425
426
enum class VertexFormat {
lvk/vulkan/VulkanClasses.cpp
@@ -301,6 +301,8 @@ VkPolygonMode polygonModeToVkPolygonMode(lvk::PolygonMode mode) {
301
return VK_POLYGON_MODE_FILL;
302
case lvk::PolygonMode_Line:
303
return VK_POLYGON_MODE_LINE;
304
+ case lvk::PolygonMode_Point:
305
+ return VK_POLYGON_MODE_POINT;
306
}
307
LVK_ASSERT_MSG(false, "Implement a missing polygon fill mode");
308
0 commit comments