// A list of modules used in SkSL. // Using an X-Macro (https://en.wikipedia.org/wiki/X_Macro) to manage the list. #define SKSL_MODULE_LIST(M) \
M(sksl_shared) \
M(sksl_compute) \
M(sksl_frag) \
M(sksl_gpu) \
M(sksl_public) \
M(sksl_rt_shader) \
M(sksl_vert) \
M(sksl_graphite_frag) \
M(sksl_graphite_frag_es2) \
M(sksl_graphite_vert) \
M(sksl_graphite_vert_es2)
enumclass ModuleType : int8_t { // `program` code is not in a module at all.
program = 0, // `unknown` code exists in a module outside of SKSL_MODULE_LIST.
unknown = 1, #define M(type) type,
SKSL_MODULE_LIST(M) #undef M
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.