#include <algorithm>
#include <memory>
#include <string>
#include "flutter/lib/gpu/context.h"
#include "flutter/lib/ui/dart_wrapper.h"
#include "fml/memory/ref_ptr.h"
#include "impeller/core/shader_types.h"
#include "impeller/renderer/shader_function.h"
#include "impeller/renderer/vertex_descriptor.h"
Go to the source code of this file.
◆ InternalFlutterGpu_Shader_GetUniformMemberOffset()
Definition at line 132 of file shader.cc.
135 {
138 if (uniform == nullptr) {
139 return -1;
140 }
141
143 const auto* member = uniform->GetMemberMetadata(member_name);
144 if (member == nullptr) {
145 return -1;
146 }
147
148 return member->offset;
149}
const Shader::UniformBinding * GetUniformStruct(const std::string &name) const
std::string StdStringFromDart(Dart_Handle handle)
◆ InternalFlutterGpu_Shader_GetUniformStructSize()
Exports
Definition at line 120 of file shader.cc.
122 {
125 if (uniform == nullptr) {
126 return -1;
127 }
128
130}