Flutter Engine
 
Loading...
Searching...
No Matches
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 144 of file shader_types.h.

Member Function Documentation

◆ GetHash()

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

Definition at line 148 of file shader_types.h.

References binding, fml::HashCombine(), and stride.

◆ operator==()

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

Definition at line 150 of file shader_types.h.

150 {
151 return stride == other.stride && //
152 binding == other.binding;
153 }

References binding, and stride.

Member Data Documentation

◆ binding

size_t impeller::ShaderStageBufferLayout::binding

Definition at line 146 of file shader_types.h.

Referenced by GetHash(), and operator==().

◆ stride

size_t impeller::ShaderStageBufferLayout::stride

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