#include "flutter/lib/gpu/shader.h"
#include <utility>
#include "flutter/lib/gpu/formats.h"
#include "fml/make_copyable.h"
#include "impeller/core/runtime_types.h"
#include "impeller/renderer/shader_function.h"
#include "impeller/renderer/shader_library.h"
#include "tonic/converter/dart_converter.h"
Go to the source code of this file.
◆ InternalFlutterGpu_Shader_GetUniformMemberOffset()
Definition at line 143 of file shader.cc.
146 {
149 if (uniform == nullptr) {
150 return -1;
151 }
152
154 const auto* member = uniform->GetMemberMetadata(member_name);
155 if (member == nullptr) {
156 return -1;
157 }
158
159 return member->offset;
160}
const Shader::UniformBinding * GetUniformStruct(const std::string &name) const
std::string StdStringFromDart(Dart_Handle handle)
◆ InternalFlutterGpu_Shader_GetUniformStructSize()
Exports
Definition at line 131 of file shader.cc.
133 {
136 if (uniform == nullptr) {
137 return -1;
138 }
139
141}
DEF_SWITCHES_START aot vmservice shared library name