CompilerMSL mark the legacy version of the compile() function as deprecated.
This commit is contained in:
Родитель
b03d789dd6
Коммит
6a42051d6a
|
@ -117,6 +117,7 @@ public:
|
|||
|
||||
// This legacy method is deprecated.
|
||||
typedef Options MSLConfiguration;
|
||||
SPIRV_CROSS_DEPRECATED("Please use get_options() and set_options() instead.")
|
||||
std::string compile(MSLConfiguration &msl_cfg, std::vector<MSLVertexAttr> *p_vtx_attrs = nullptr,
|
||||
std::vector<MSLResourceBinding> *p_res_bindings = nullptr);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче