Flutter Engine
The Flutter Engine
Public Attributes | List of all members
SkSL::Variable::ScratchVariable Struct Reference

#include <SkSLVariable.h>

Public Attributes

const VariablefVarSymbol
 
std::unique_ptr< StatementfVarDecl
 

Detailed Description

Creates a local scratch variable and the associated VarDeclaration statement. Useful when doing IR rewrites, e.g. inlining a function call.

Definition at line 79 of file SkSLVariable.h.

Member Data Documentation

◆ fVarDecl

std::unique_ptr<Statement> SkSL::Variable::ScratchVariable::fVarDecl

Definition at line 81 of file SkSLVariable.h.

◆ fVarSymbol

const Variable* SkSL::Variable::ScratchVariable::fVarSymbol

Definition at line 80 of file SkSLVariable.h.


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