Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
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 572 of file formats.h.

Member Function Documentation

◆ GetHash()

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

Definition at line 587 of file formats.h.

587 {
589 }
constexpr std::size_t HashCombine()

◆ operator==()

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

Definition at line 582 of file formats.h.

582 {
583 return depth_compare == o.depth_compare &&
584 depth_write_enabled == o.depth_write_enabled;
585 }

Member Data Documentation

◆ depth_compare

CompareFunction impeller::DepthAttachmentDescriptor::depth_compare = CompareFunction::kAlways

Indicates how to compare the value with that in the depth buffer.

Definition at line 576 of file formats.h.

◆ depth_write_enabled

bool impeller::DepthAttachmentDescriptor::depth_write_enabled = false

Indicates when writes must be performed to the depth buffer.

Definition at line 580 of file formats.h.


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