Flutter Engine
The Flutter Engine
Public Member Functions | Friends | List of all members
impeller::ShaderLibraryMTL Class Referencefinal

#include <shader_library_mtl.h>

Inheritance diagram for impeller::ShaderLibraryMTL:
impeller::ShaderLibrary

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 ShaderFunctionGetFunction (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 ()
 

Detailed Description

Definition at line 22 of file shader_library_mtl.h.

Constructor & Destructor Documentation

◆ ShaderLibraryMTL()

impeller::ShaderLibraryMTL::ShaderLibraryMTL ( )

◆ ~ShaderLibraryMTL()

impeller::ShaderLibraryMTL::~ShaderLibraryMTL ( )
overridedefault

Member Function Documentation

◆ IsValid()

bool impeller::ShaderLibraryMTL::IsValid ( ) const
overridevirtual

Implements impeller::ShaderLibrary.

Definition at line 24 of file shader_library_mtl.mm.

24 {
25 return is_valid_;
26}

Friends And Related Function Documentation

◆ ContextMTL

friend class ContextMTL
friend

Definition at line 33 of file shader_library_mtl.h.


The documentation for this class was generated from the following files: