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

#include <shader_library_gles.h>

Inheritance diagram for impeller::ShaderLibraryGLES:
impeller::ShaderLibrary

Public Member Functions

 ~ShaderLibraryGLES () 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 ContextGLES
 

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 18 of file shader_library_gles.h.

Constructor & Destructor Documentation

◆ ~ShaderLibraryGLES()

impeller::ShaderLibraryGLES::~ShaderLibraryGLES ( )
overridedefault

Member Function Documentation

◆ IsValid()

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

Implements impeller::ShaderLibrary.

Definition at line 87 of file shader_library_gles.cc.

87 {
88 return is_valid_;
89}

Friends And Related Function Documentation

◆ ContextGLES

friend class ContextGLES
friend

Definition at line 27 of file shader_library_gles.h.


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