MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / IsAsset

Function IsAsset

modules/tools/resource_compiler/main.cpp:30–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28#include "SkrProfile/profile.h"
29
30bool IsAsset(skr::filesystem::path path)
31{
32 if (path.extension() == ".meta")
33 return true;
34 return false;
35}
36
37skr::renderer::SShaderResourceFactory* shaderResourceFactory = nullptr;
38skr::renderer::SShaderOptionsFactory* shaderOptionsFactory = nullptr;

Callers 1

compile_projectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected