| Flutter Impeller |

Public Attributes | List of all members
impeller::ShaderUniformSlot Struct Reference

Metadata required to bind a buffer. More...

`#include <shader_types.h>`

## Public Attributes
const char * | name
| The name of the uniform slot. More...
size_t | ext_res_0
| `ext_res_0` is the Metal binding value. More...
size_t | set
| The Vulkan descriptor set index. More...
size_t | binding
| The Vulkan binding value. More...

## Detailed Description

Metadata required to bind a buffer.

OpenGL binding requires the usage of the separate shader metadata struct.

Definition at line 81 of file shader_types.h.

## Member Data Documentation

## ◆ binding

size_t impeller::ShaderUniformSlot::binding

The Vulkan binding value.

Definition at line 92 of file shader_types.h.

Referenced by impeller::RuntimeEffectContents::Render().

## ◆ ext_res_0

size_t impeller::ShaderUniformSlot::ext_res_0

`ext_res_0` is the Metal binding value.

Definition at line 86 of file shader_types.h.

Referenced by impeller::RenderPass::BindDynamicResource(), impeller::RenderPass::BindResource(), and impeller::RuntimeEffectContents::Render().

## ◆ name

const char* impeller::ShaderUniformSlot::name

The name of the uniform slot.

Definition at line 83 of file shader_types.h.

Referenced by impeller::RuntimeEffectContents::Render().

## ◆ set

size_t impeller::ShaderUniformSlot::set

The Vulkan descriptor set index.

Definition at line 89 of file shader_types.h.

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

- impeller/core/shader_types.h