3#include "Resources/MaterialDefinition.h"
7#include "Foundation/StringView.h"
13 [[nodiscard]]
bool readMaterialProperties(Context * context,
const Value & jsonValue, MaterialProperties & materialProperties,
bool isShared);
15 [[nodiscard]]
bool readMaterialVariants(Context * context,
const Value & value, std::vector<ShaderVariantDefinition> & variants,
bool isShared=
false);
17 [[nodiscard]]
bool parseMaterial(
class Context * context,
const StringView & path, MaterialDefinition & definition);
19 [[nodiscard]]
bool inheritMaterialVariants(std::vector<ShaderVariantDefinition>& definitionVariants,
20 std::span<const ShaderVariantDefinition> sourceVariants,
23 bool errorOnExisting =
true);
Provides a weakly referenced view over the contents of a string.
Contains the Engine, Renderer, resource managers and other systems needed to run Cogs....