Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
SkSL::WGSLCodeGenerator::PointerLValue Class Reference
Inheritance diagram for SkSL::WGSLCodeGenerator::PointerLValue:
SkSL::WGSLCodeGenerator::LValue

Public Member Functions

 PointerLValue (std::string name)
 
std::string load () override
 
std::string store (const std::string &value) override
 
- Public Member Functions inherited from SkSL::WGSLCodeGenerator::LValue
virtual ~LValue ()=default
 
virtual std::string load ()=0
 
virtual std::string store (const std::string &value)=0
 

Detailed Description

Definition at line 1124 of file SkSLWGSLCodeGenerator.cpp.

Constructor & Destructor Documentation

◆ PointerLValue()

SkSL::WGSLCodeGenerator::PointerLValue::PointerLValue ( std::string  name)
inline

Definition at line 1128 of file SkSLWGSLCodeGenerator.cpp.

1128: fName(std::move(name)) {}
DEF_SWITCHES_START aot vmservice shared library name
Definition: switches.h:32

Member Function Documentation

◆ load()

std::string SkSL::WGSLCodeGenerator::PointerLValue::load ( )
inlineoverridevirtual

Implements SkSL::WGSLCodeGenerator::LValue.

Definition at line 1130 of file SkSLWGSLCodeGenerator.cpp.

1130 {
1131 return fName;
1132 }

◆ store()

std::string SkSL::WGSLCodeGenerator::PointerLValue::store ( const std::string &  value)
inlineoverridevirtual

Implements SkSL::WGSLCodeGenerator::LValue.

Definition at line 1134 of file SkSLWGSLCodeGenerator.cpp.

1134 {
1135 return fName + " = " + value + ";";
1136 }
uint8_t value

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