Describe the color attachment that will be used with this pipeline. More...
#include <formats.h>
Public Member Functions | |
constexpr bool | operator== (const ColorAttachmentDescriptor &o) const |
constexpr size_t | Hash () const |
Describe the color attachment that will be used with this pipeline.
Blending at specific color attachments follows the pseudo-code:
The default blend mode is 1 - source alpha.
|
inlineconstexpr |
Definition at line 544 of file formats.h.
References alpha_blend_op, blending_enabled, color_blend_op, dst_alpha_blend_factor, dst_color_blend_factor, format, src_alpha_blend_factor, src_color_blend_factor, and write_mask.
|
inlineconstexpr |
Definition at line 532 of file formats.h.
References alpha_blend_op, blending_enabled, color_blend_op, dst_alpha_blend_factor, dst_color_blend_factor, format, src_alpha_blend_factor, src_color_blend_factor, and write_mask.
BlendOperation impeller::ColorAttachmentDescriptor::alpha_blend_op = BlendOperation::kAdd |
Definition at line 527 of file formats.h.
Referenced by impeller::ContentContextOptions::ApplyToPipelineDescriptor(), impeller::ConfigureBlending(), Hash(), operator==(), impeller::ToMTLRenderPipelineColorAttachmentDescriptor(), and impeller::ToVKPipelineColorBlendAttachmentState().
bool impeller::ColorAttachmentDescriptor::blending_enabled = false |
Definition at line 520 of file formats.h.
Referenced by impeller::ContentContextOptions::ApplyToPipelineDescriptor(), impeller::ConfigureBlending(), Hash(), impeller::PipelineBuilder< VertexShader_, FragmentShader_ >::InitializePipelineDescriptorDefaults(), operator==(), impeller::ToMTLRenderPipelineColorAttachmentDescriptor(), and impeller::ToVKPipelineColorBlendAttachmentState().
BlendOperation impeller::ColorAttachmentDescriptor::color_blend_op = BlendOperation::kAdd |
Definition at line 523 of file formats.h.
Referenced by impeller::ContentContextOptions::ApplyToPipelineDescriptor(), impeller::ConfigureBlending(), Hash(), operator==(), impeller::ToMTLRenderPipelineColorAttachmentDescriptor(), and impeller::ToVKPipelineColorBlendAttachmentState().
BlendFactor impeller::ColorAttachmentDescriptor::dst_alpha_blend_factor = BlendFactor::kOneMinusSourceAlpha |
Definition at line 528 of file formats.h.
Referenced by impeller::ContentContextOptions::ApplyToPipelineDescriptor(), impeller::ConfigureBlending(), Hash(), operator==(), impeller::ToMTLRenderPipelineColorAttachmentDescriptor(), and impeller::ToVKPipelineColorBlendAttachmentState().
BlendFactor impeller::ColorAttachmentDescriptor::dst_color_blend_factor = BlendFactor::kOneMinusSourceAlpha |
Definition at line 524 of file formats.h.
Referenced by impeller::ContentContextOptions::ApplyToPipelineDescriptor(), impeller::ConfigureBlending(), Hash(), operator==(), impeller::ToMTLRenderPipelineColorAttachmentDescriptor(), and impeller::ToVKPipelineColorBlendAttachmentState().
PixelFormat impeller::ColorAttachmentDescriptor::format = PixelFormat::kUnknown |
Definition at line 519 of file formats.h.
Referenced by impeller::ContentContextOptions::ApplyToPipelineDescriptor(), Hash(), impeller::PipelineBuilder< VertexShader_, FragmentShader_ >::InitializePipelineDescriptorDefaults(), operator==(), impeller::testing::TEST_P(), and impeller::ToMTLRenderPipelineColorAttachmentDescriptor().
BlendFactor impeller::ColorAttachmentDescriptor::src_alpha_blend_factor = BlendFactor::kSourceAlpha |
Definition at line 526 of file formats.h.
Referenced by impeller::ContentContextOptions::ApplyToPipelineDescriptor(), impeller::ConfigureBlending(), Hash(), operator==(), impeller::ToMTLRenderPipelineColorAttachmentDescriptor(), and impeller::ToVKPipelineColorBlendAttachmentState().
BlendFactor impeller::ColorAttachmentDescriptor::src_color_blend_factor = BlendFactor::kSourceAlpha |
Definition at line 522 of file formats.h.
Referenced by impeller::ContentContextOptions::ApplyToPipelineDescriptor(), impeller::ConfigureBlending(), Hash(), operator==(), impeller::ToMTLRenderPipelineColorAttachmentDescriptor(), and impeller::ToVKPipelineColorBlendAttachmentState().
ColorWriteMask impeller::ColorAttachmentDescriptor::write_mask = ColorWriteMaskBits::kAll |
Definition at line 530 of file formats.h.
Referenced by impeller::ContentContextOptions::ApplyToPipelineDescriptor(), impeller::ConfigureBlending(), Hash(), operator==(), impeller::ToMTLRenderPipelineColorAttachmentDescriptor(), and impeller::ToVKPipelineColorBlendAttachmentState().