#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 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}