5 #ifndef FLUTTER_IMPELLER_RENDERER_VERTEX_DESCRIPTOR_H_
6 #define FLUTTER_IMPELLER_RENDERER_VERTEX_DESCRIPTOR_H_
33 template <
size_t Size,
size_t LayoutSize>
35 const std::array<const ShaderStageIOSlot*, Size>& inputs,
36 const std::array<const ShaderStageBufferLayout*, LayoutSize>& layout) {
42 const std::vector<ShaderStageBufferLayout>& layout);
44 template <
size_t Size>
46 const std::array<DescriptorSetLayout, Size>& inputs) {
65 std::size_t
GetHash()
const override;
73 std::vector<ShaderStageIOSlot> inputs_;
74 std::vector<ShaderStageBufferLayout> layouts_;
75 std::vector<DescriptorSetLayout> desc_set_layouts_;
76 bool uses_input_attachments_ =
false;
85 #endif // FLUTTER_IMPELLER_RENDERER_VERTEX_DESCRIPTOR_H_