Flutter Engine
The Flutter Engine
Public Member Functions | Public Attributes | List of all members
CapturingShaderErrorHandler Class Reference
Inheritance diagram for CapturingShaderErrorHandler:
skgpu::ShaderErrorHandler

Public Member Functions

void compileError (const char *shader, const char *errors) override
 
void reset ()
 
- Public Member Functions inherited from skgpu::ShaderErrorHandler
virtual ~ShaderErrorHandler ()=default
 
virtual void compileError (const char *shader, const char *errors)
 
virtual void compileError (const char *shader, const char *errors, bool shaderWasCached)
 

Public Attributes

TArray< SkStringfShaders
 
TArray< SkStringfErrors
 

Additional Inherited Members

- Protected Member Functions inherited from skgpu::ShaderErrorHandler
 ShaderErrorHandler ()=default
 
 ShaderErrorHandler (const ShaderErrorHandler &)=delete
 
ShaderErrorHandleroperator= (const ShaderErrorHandler &)=delete
 

Detailed Description

Definition at line 149 of file Viewer.cpp.

Member Function Documentation

◆ compileError()

void CapturingShaderErrorHandler::compileError ( const char *  shader,
const char *  errors 
)
inlineoverridevirtual

compileError(shader, errors) is kept for backward compatibility with older clients.

Reimplemented from skgpu::ShaderErrorHandler.

Definition at line 151 of file Viewer.cpp.

◆ reset()

void CapturingShaderErrorHandler::reset ( )
inline

Definition at line 156 of file Viewer.cpp.

156 {
157 fShaders.clear();
158 fErrors.clear();
159 }

Member Data Documentation

◆ fErrors

TArray<SkString> CapturingShaderErrorHandler::fErrors

Definition at line 162 of file Viewer.cpp.

◆ fShaders

TArray<SkString> CapturingShaderErrorHandler::fShaders

Definition at line 161 of file Viewer.cpp.


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