Flutter Engine
 
Loading...
Searching...
No Matches
impeller::DepthAttachmentDescriptor Struct Reference

#include <formats.h>

Public Member Functions

constexpr bool operator== (const DepthAttachmentDescriptor &o) const
 
constexpr size_t GetHash () const
 

Public Attributes

CompareFunction depth_compare = CompareFunction::kAlways
 
bool depth_write_enabled = false
 

Detailed Description

Definition at line 590 of file formats.h.

Member Function Documentation

◆ GetHash()

constexpr size_t impeller::DepthAttachmentDescriptor::GetHash ( ) const
inlineconstexpr

◆ operator==()

constexpr bool impeller::DepthAttachmentDescriptor::operator== ( const DepthAttachmentDescriptor o) const
inlineconstexpr

Definition at line 600 of file formats.h.

600 {
601 return depth_compare == o.depth_compare &&
602 depth_write_enabled == o.depth_write_enabled;
603 }

References depth_compare, and depth_write_enabled.

Member Data Documentation

◆ depth_compare

◆ depth_write_enabled

bool impeller::DepthAttachmentDescriptor::depth_write_enabled = false

Indicates when writes must be performed to the depth buffer.

Definition at line 598 of file formats.h.

Referenced by impeller::ContentContextOptions::ApplyToPipelineDescriptor(), GetHash(), InternalFlutterGpu_RenderPass_SetDepthWriteEnable(), and operator==().


The documentation for this struct was generated from the following file: