Flutter Engine
The Flutter Engine
|
#include <shader_library_mtl.h>
Public Member Functions | |
ShaderLibraryMTL () | |
~ShaderLibraryMTL () override | |
bool | IsValid () const override |
Public Member Functions inherited from impeller::ShaderLibrary | |
virtual | ~ShaderLibrary () |
virtual bool | IsValid () const =0 |
virtual std::shared_ptr< const ShaderFunction > | GetFunction (std::string_view name, ShaderStage stage)=0 |
virtual void | RegisterFunction (std::string name, ShaderStage stage, std::shared_ptr< fml::Mapping > code, RegistrationCallback callback) |
virtual void | UnregisterFunction (std::string name, ShaderStage stage)=0 |
Friends | |
class | ContextMTL |
Additional Inherited Members | |
Public Types inherited from impeller::ShaderLibrary | |
using | RegistrationCallback = std::function< void(bool)> |
Protected Member Functions inherited from impeller::ShaderLibrary | |
ShaderLibrary () | |
Definition at line 22 of file shader_library_mtl.h.
impeller::ShaderLibraryMTL::ShaderLibraryMTL | ( | ) |
|
overridedefault |
|
overridevirtual |
Implements impeller::ShaderLibrary.
Definition at line 24 of file shader_library_mtl.mm.
|
friend |
Definition at line 33 of file shader_library_mtl.h.