MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ default_2d()

GraphicsPipelineConfig MayaFlux::Core::GraphicsPipelineConfig::default_2d ( )
static

Definition at line 28 of file VKGraphicsPipeline.cpp.

29{
30 GraphicsPipelineConfig config;
31 config.topology = vk::PrimitiveTopology::eTriangleList;
32 config.polygon_mode = vk::PolygonMode::eFill;
33 config.cull_mode = vk::CullModeFlagBits::eNone;
34 config.depth_test_enable = false;
35 config.depth_write_enable = false;
36
37 ColorBlendAttachment attachment;
38 attachment.blend_enable = false;
39 config.color_blend_attachments.push_back(attachment);
40
41 return config;
42}

References MayaFlux::Core::ColorBlendAttachment::blend_enable, color_blend_attachments, cull_mode, depth_test_enable, depth_write_enable, polygon_mode, and topology.