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

#include <shader_types.h>

Public Member Functions

constexpr size_t GetHash () const
 
constexpr bool operator== (const ShaderStageBufferLayout &other) const
 

Public Attributes

size_t stride
 
size_t binding
 

Detailed Description

Definition at line 141 of file shader_types.h.

Member Function Documentation

◆ GetHash()

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

Definition at line 145 of file shader_types.h.

145{ return fml::HashCombine(stride, binding); }
constexpr std::size_t HashCombine()
Definition: hash_combine.h:25

◆ operator==()

constexpr bool impeller::ShaderStageBufferLayout::operator== ( const ShaderStageBufferLayout other) const
inlineconstexpr

Definition at line 147 of file shader_types.h.

147 {
148 return stride == other.stride && //
149 binding == other.binding;
150 }

Member Data Documentation

◆ binding

size_t impeller::ShaderStageBufferLayout::binding

Definition at line 143 of file shader_types.h.

◆ stride

size_t impeller::ShaderStageBufferLayout::stride

Definition at line 142 of file shader_types.h.


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