#include <SkSLCodeGenerator.h>
Definition at line 68 of file SkSLCodeGenerator.h.
◆ AutoOutputStream() [1/2]
Definition at line 71 of file SkSLCodeGenerator.h.
72 : fCodeGen(codeGen)
73 , fOldOutput(codeGen->outputStream()) {
75 }
void setOutputStream(OutputStream *output)
◆ AutoOutputStream() [2/2]
Definition at line 77 of file SkSLCodeGenerator.h.
78 : fCodeGen(codeGen)
79 , fOldOutput(codeGen->outputStream())
80 , fIndentationPtr(indentationPtr)
81 , fOldIndentation(indentationPtr ? *indentationPtr : 0) {
83 *fIndentationPtr = 0;
84 }
◆ ~AutoOutputStream()
SkSL::AutoOutputStream::~AutoOutputStream |
( |
| ) |
|
|
inline |
Definition at line 85 of file SkSLCodeGenerator.h.
85 {
87 if (fIndentationPtr) {
88 *fIndentationPtr = fOldIndentation;
89 }
90 }
The documentation for this class was generated from the following file: