Remove imgui from ship release, script to export fast. Can read assets from dev folder and ship folder.
21 lines
781 B
C++
21 lines
781 B
C++
#pragma once
|
|
|
|
#include <Core/Common/String.h>
|
|
|
|
namespace Juliet
|
|
{
|
|
// Returns the path to the application directory
|
|
[[nodiscard]] extern JULIET_API String GetBasePath();
|
|
|
|
// Returns the resolved base path to the compiled shaders directory.
|
|
// In dev, this resolves to ../../Assets/compiled/ relative to the exe.
|
|
// In shipping, this resolves to Assets/Shaders/ next to the exe.
|
|
[[nodiscard]] extern JULIET_API String GetAssetBasePath();
|
|
|
|
// Builds a full path to an asset file given its filename (e.g. "Triangle.vert.dxil").
|
|
// The caller owns the returned buffer and must free it.
|
|
[[nodiscard]] extern JULIET_API String GetAssetPath(String filename);
|
|
|
|
[[nodiscard]]extern JULIET_API bool IsAbsolutePath(String path);
|
|
} // namespace Juliet
|