5#ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_METAL_SHADER_FUNCTION_MTL_H_
6#define FLUTTER_IMPELLER_RENDERER_BACKEND_METAL_SHADER_FUNCTION_MTL_H_
8#include <Metal/Metal.h>
17 public BackendCast<ShaderFunctionMTL, ShaderFunction> {
32 id<MTLFunction> function_ =
nullptr;
33 id<MTLLibrary> library_ =
nullptr;
37 id<MTLLibrary> library,
~ShaderFunctionMTL() override
void GetMTLFunctionSpecialized(const std::vector< Scalar > &constants, const CompileCallback &callback) const
std::function< void(id< MTLFunction >)> CompileCallback
id< MTLFunction > GetMTLFunction() const
FlKeyEvent uint64_t FlKeyResponderAsyncCallback callback
Dart_NativeFunction function
DEF_SWITCHES_START aot vmservice shared library name