8#ifndef SKSL_PIPELINESTAGECODEGENERATOR
9#define SKSL_PIPELINESTAGECODEGENERATOR
20namespace PipelineStage {
27 virtual void defineFunction(
const char* declaration,
const char* body,
bool isMain) = 0;
33 virtual std::string
sampleShader(
int index, std::string coords) = 0;
58 const char* sampleCoords,
59 const char* inputColor,
60 const char* destColor,
virtual std::string sampleShader(int index, std::string coords)=0
virtual std::string getMainName()
virtual std::string sampleBlender(int index, std::string src, std::string dst)=0
virtual void defineStruct(const char *definition)=0
virtual void declareFunction(const char *declaration)=0
virtual std::string toLinearSrgb(std::string color)=0
virtual ~Callbacks()=default
virtual void declareGlobal(const char *declaration)=0
virtual std::string sampleColorFilter(int index, std::string color)=0
virtual std::string fromLinearSrgb(std::string color)=0
virtual void defineFunction(const char *declaration, const char *body, bool isMain)=0
virtual std::string declareUniform(const VarDeclaration *)=0
virtual std::string getMangledName(const char *name)
void ConvertProgram(const Program &program, const char *sampleCoords, const char *inputColor, const char *destColor, Callbacks *callbacks)
DEF_SWITCHES_START aot vmservice shared library name