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

#include <fixtures.h>

Classes

struct  PerVertexData
 

Static Public Attributes

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

Detailed Description

Definition at line 47 of file fixtures.h.

Member Data Documentation

◆ kAllShaderStageInputs

constexpr std::array<const impeller::ShaderStageIOSlot*, 3> FlutterGPUTextureVertexShader::kAllShaderStageInputs
staticconstexpr
Initial value:
= {
}
static constexpr auto kInputPosition
Definition fixtures.h:80
static constexpr auto kInputColor
Definition fixtures.h:67
static constexpr auto kInputTextureCoords
Definition fixtures.h:54

Definition at line 94 of file fixtures.h.

94 {
95 &kInputTextureCoords, // texture_coords
96 &kInputColor, // color
97 &kInputPosition, // position
98 };

◆ kInputColor

constexpr auto FlutterGPUTextureVertexShader::kInputColor
staticconstexpr
Initial value:

Definition at line 67 of file fixtures.h.

67 {
68 // color
69 "color", // name
70 2u, // attribute location
71 0u, // attribute set
72 0u, // attribute binding
74 32u, // bit width of type
75 4u, // vec size
76 1u, // number of columns
77 20u, // offset for interleaved layout
78 };

◆ kInputPosition

constexpr auto FlutterGPUTextureVertexShader::kInputPosition
staticconstexpr
Initial value:
"position",
0u,
0u,
0u,
32u,
3u,
1u,
0u,
}

Definition at line 80 of file fixtures.h.

80 {
81 // position
82 "position", // name
83 0u, // attribute location
84 0u, // attribute set
85 0u, // attribute binding
87 32u, // bit width of type
88 3u, // vec size
89 1u, // number of columns
90 0u, // offset for interleaved layout
91 };

◆ kInputTextureCoords

constexpr auto FlutterGPUTextureVertexShader::kInputTextureCoords
staticconstexpr
Initial value:
"texture_coords",
1u,
0u,
0u,
32u,
2u,
1u,
12u,
}

Definition at line 54 of file fixtures.h.

54 {
55 // texture_coords
56 "texture_coords", // name
57 1u, // attribute location
58 0u, // attribute set
59 0u, // attribute binding
61 32u, // bit width of type
62 2u, // vec size
63 1u, // number of columns
64 12u, // offset for interleaved layout
65 };

◆ kInterleavedBufferLayout

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

Definition at line 105 of file fixtures.h.

static constexpr auto kInterleavedLayout
Definition fixtures.h:100

◆ kInterleavedLayout

constexpr auto FlutterGPUTextureVertexShader::kInterleavedLayout
staticconstexpr
Initial value:

Definition at line 100 of file fixtures.h.

100 {
101 sizeof(PerVertexData), // stride for interleaved layout
102 0u, // attribute binding
103 };

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