Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Classes | Static Public Attributes | List of all members
FlutterGPUUnlitVertexShader Struct Reference

#include <fixtures.h>

Classes

struct  PerVertexData
 

Static Public Attributes

static constexpr auto kInputPosition
 
static constexpr std::array< const impeller::ShaderStageIOSlot *, 1 > kAllShaderStageInputs
 
static constexpr auto kInterleavedLayout
 
static constexpr std::array< const impeller::ShaderStageBufferLayout *, 1 > kInterleavedBufferLayout = {&kInterleavedLayout}
 

Detailed Description

Definition at line 10 of file fixtures.h.

Member Data Documentation

◆ kAllShaderStageInputs

constexpr std::array<const impeller::ShaderStageIOSlot*, 1> FlutterGPUUnlitVertexShader::kAllShaderStageInputs
staticconstexpr
Initial value:
= {
}
static constexpr auto kInputPosition
Definition fixtures.h:15

Definition at line 29 of file fixtures.h.

29 {
30 &kInputPosition, // position
31 };

◆ kInputPosition

constexpr auto FlutterGPUUnlitVertexShader::kInputPosition
staticconstexpr
Initial value:

Definition at line 15 of file fixtures.h.

15 {
16 // position
17 "position", // name
18 0u, // attribute location
19 0u, // attribute set
20 0u, // attribute binding
22 32u, // bit width of type
23 2u, // vec size
24 1u, // number of columns
25 0u, // offset for interleaved layout
26 };

◆ kInterleavedBufferLayout

constexpr std::array<const impeller::ShaderStageBufferLayout*, 1> FlutterGPUUnlitVertexShader::kInterleavedBufferLayout = {&kInterleavedLayout}
staticconstexpr

Definition at line 38 of file fixtures.h.

static constexpr auto kInterleavedLayout
Definition fixtures.h:33

◆ kInterleavedLayout

constexpr auto FlutterGPUUnlitVertexShader::kInterleavedLayout
staticconstexpr
Initial value:

Definition at line 33 of file fixtures.h.

33 {
34 sizeof(PerVertexData), // stride for interleaved layout
35 0u, // attribute binding
36 };

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