Flutter Impeller
impeller::ShaderStageIOSlot Struct Reference

#include <shader_types.h>

Public Member Functions

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

Public Attributes

const char * name
 
size_t location
 
size_t set
 
size_t binding
 
ShaderType type
 
size_t bit_width
 
size_t vec_size
 
size_t columns
 
size_t offset
 
bool relaxed_precision
 

Detailed Description

Definition at line 112 of file shader_types.h.

Member Function Documentation

◆ GetHash()

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

◆ operator==()

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

Definition at line 129 of file shader_types.h.

129  {
130  return name == other.name && //
131  location == other.location && //
132  set == other.set && //
133  binding == other.binding && //
134  type == other.type && //
135  bit_width == other.bit_width && //
136  vec_size == other.vec_size && //
137  columns == other.columns && //
138  offset == other.offset && //
139  relaxed_precision == other.relaxed_precision //
140  ;
141  }

References binding, bit_width, columns, location, name, offset, relaxed_precision, set, type, and vec_size.

Member Data Documentation

◆ binding

size_t impeller::ShaderStageIOSlot::binding

◆ bit_width

◆ columns

◆ location

size_t impeller::ShaderStageIOSlot::location

◆ name

const char* impeller::ShaderStageIOSlot::name

◆ offset

size_t impeller::ShaderStageIOSlot::offset

◆ relaxed_precision

bool impeller::ShaderStageIOSlot::relaxed_precision

◆ set

size_t impeller::ShaderStageIOSlot::set

◆ type

◆ vec_size


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