#include <formats.h>
Public Member Functions | |
constexpr bool | operator== (const StencilAttachmentDescriptor &o) const |
constexpr size_t | GetHash () const |
Public Attributes | |
CompareFunction | stencil_compare = CompareFunction::kAlways |
StencilOperation | stencil_failure = StencilOperation::kKeep |
StencilOperation | depth_failure = StencilOperation::kKeep |
StencilOperation | depth_stencil_pass = StencilOperation::kKeep |
uint32_t | read_mask = ~0 |
uint32_t | write_mask = ~0 |
|
inlineconstexpr |
Definition at line 650 of file formats.h.
References depth_failure, depth_stencil_pass, read_mask, stencil_compare, stencil_failure, and write_mask.
Referenced by std::hash< impeller::StencilAttachmentDescriptor >::operator()().
|
inlineconstexpr |
Definition at line 642 of file formats.h.
References depth_failure, depth_stencil_pass, read_mask, stencil_compare, stencil_failure, and write_mask.
StencilOperation impeller::StencilAttachmentDescriptor::depth_failure = StencilOperation::kKeep |
Indicates what to do when the stencil test passes but the depth test fails.
Definition at line 625 of file formats.h.
Referenced by impeller::ConfigureStencil(), GetHash(), operator==(), impeller::ToMTLStencilDescriptor(), and impeller::ToVKStencilOpState().
StencilOperation impeller::StencilAttachmentDescriptor::depth_stencil_pass = StencilOperation::kKeep |
Indicates what to do when both the stencil and depth tests pass.
Definition at line 629 of file formats.h.
Referenced by impeller::ContentContextOptions::ApplyToPipelineDescriptor(), impeller::ConfigureStencil(), GetHash(), operator==(), impeller::ToMTLStencilDescriptor(), and impeller::ToVKStencilOpState().
uint32_t impeller::StencilAttachmentDescriptor::read_mask = ~0 |
The mask applied to the reference and stencil buffer values before performing the stencil_compare operation.
Definition at line 635 of file formats.h.
Referenced by impeller::ConfigureStencil(), GetHash(), operator==(), impeller::ToMTLStencilDescriptor(), and impeller::ToVKStencilOpState().
CompareFunction impeller::StencilAttachmentDescriptor::stencil_compare = CompareFunction::kAlways |
Indicates the operation to perform between the reference value and the value in the stencil buffer. Both values have the read_mask applied to them before performing this operation.
Definition at line 616 of file formats.h.
Referenced by impeller::ContentContextOptions::ApplyToPipelineDescriptor(), impeller::ConfigureStencil(), GetHash(), impeller::PipelineBuilder< VertexShader_, FragmentShader_ >::InitializePipelineDescriptorDefaults(), operator==(), impeller::testing::TEST_P(), impeller::ToMTLStencilDescriptor(), and impeller::ToVKStencilOpState().
StencilOperation impeller::StencilAttachmentDescriptor::stencil_failure = StencilOperation::kKeep |
Indicates what to do when the stencil test has failed.
Definition at line 620 of file formats.h.
Referenced by impeller::ContentContextOptions::ApplyToPipelineDescriptor(), impeller::ConfigureStencil(), GetHash(), operator==(), impeller::ToMTLStencilDescriptor(), and impeller::ToVKStencilOpState().
uint32_t impeller::StencilAttachmentDescriptor::write_mask = ~0 |
The mask applied to the new stencil value before it is written into the stencil buffer.
Definition at line 640 of file formats.h.
Referenced by impeller::ConfigureStencil(), GetHash(), operator==(), impeller::ToMTLStencilDescriptor(), and impeller::ToVKStencilOpState().