9#include <ser20/external/simdjson/simdjson.h>
35 -> material_apply_result;
Base class for materials used in rendering.
std::shared_ptr< material > sptr
auto list_material_property_schema_json() -> std::string
auto resolve_material_asset(rtti::context &ctx, const std::string &key, const std::string &uid, std::string &error) -> asset_handle< material >
auto material_to_json(const material &mat) -> std::string
auto as_pbr_material(const material::sptr &mat, std::string &error) -> std::shared_ptr< pbr_material >
auto apply_material_properties(rtti::context &ctx, material::sptr mat, const simdjson::dom::object &properties) -> material_apply_result
auto save_material_asset(rtti::context &ctx, const asset_handle< material > &handle, std::string &error) -> bool
auto normalize_material_key(const std::string &path_or_key) -> std::string
Thread-safe handle to an asset.
std::vector< std::string > unknown
std::vector< std::string > errors
std::vector< std::string > applied