Flutter Engine
The Flutter Engine
Public Member Functions | Public Attributes | List of all members
impeller::RenderTargetConfig Struct Reference

#include <render_target.h>

Public Member Functions

constexpr bool operator== (const RenderTargetConfig &o) const
 
constexpr size_t Hash () const
 

Public Attributes

ISize size = ISize{0, 0}
 
size_t mip_count = 0
 
bool has_msaa = false
 
bool has_depth_stencil = false
 

Detailed Description

Definition at line 21 of file render_target.h.

Member Function Documentation

◆ Hash()

constexpr size_t impeller::RenderTargetConfig::Hash ( ) const
inlineconstexpr

Definition at line 32 of file render_target.h.

◆ operator==()

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

Definition at line 27 of file render_target.h.

27 {
28 return size == o.size && mip_count == o.mip_count &&
29 has_msaa == o.has_msaa && has_depth_stencil == o.has_depth_stencil;
30 }

Member Data Documentation

◆ has_depth_stencil

bool impeller::RenderTargetConfig::has_depth_stencil = false

Definition at line 25 of file render_target.h.

◆ has_msaa

bool impeller::RenderTargetConfig::has_msaa = false

Definition at line 24 of file render_target.h.

◆ mip_count

size_t impeller::RenderTargetConfig::mip_count = 0

Definition at line 23 of file render_target.h.

◆ size

ISize impeller::RenderTargetConfig::size = ISize{0, 0}

Definition at line 22 of file render_target.h.


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