SpiecsEngine
 
Loading...
Searching...
No Matches

◆ FileLibrary_Exists()

bool Spices::FileLibrary::FileLibrary_Exists ( const char * path)
static

Determine whether the given string is existing a file.

Parameters
[in]pathThe file path.
Returns
true if there exising a file.

Definition at line 14 of file FileLibrary.cpp.

15 {
17
18 struct _stat buffer {};
19 return _stat (path, &buffer) == 0;
20 }
#define SPICES_PROFILE_ZONE

Referenced by FileLibrary_CopyFile(), FileLibrary_Delete(), Spices::MeshLoader::LoadFromOBJ(), Spices::MeshLoader::LoadFromSASSET(), Spices::ImGuiH::SetFonts(), SpicesTest::TEST(), Spices::VulkanShaderModule::VulkanShaderModule(), and Spices::MeshLoader::WriteSASSET().