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

◆ depth_only()

GraphicsPipelineConfig MayaFlux::Core::GraphicsPipelineConfig::depth_only ( )
static

Definition at line 58 of file VKGraphicsPipeline.cpp.

59{
60 GraphicsPipelineConfig config;
61 config.topology = vk::PrimitiveTopology::eTriangleList;
62 config.polygon_mode = vk::PolygonMode::eFill;
63 config.cull_mode = vk::CullModeFlagBits::eBack;
64 config.rasterizer_discard_enable = false;
65 config.depth_test_enable = true;
66 config.depth_write_enable = true;
67 config.depth_compare_op = vk::CompareOp::eLess;
68 config.color_blend_attachments.clear();
69 return config;
70}

References color_blend_attachments, cull_mode, depth_compare_op, depth_test_enable, depth_write_enable, polygon_mode, rasterizer_discard_enable, and topology.