Refactor Shader uniform API + Added back NuakeUI

This commit is contained in:
Antoine Pilote
2024-09-09 20:55:51 -04:00
parent 5a0f7c06f0
commit aef5f65f75
87 changed files with 21929 additions and 478 deletions

View File

@@ -0,0 +1,25 @@
#pragma once
#include <string>
#include <vector>
namespace NuakeUI
{
namespace StringHelper
{
/// <summary>
/// Splits a string into a vector of substrings.
/// </summary>
/// <param name="string">The string to be split</param>
/// <param name="delimiter">The token</param>
/// <returns></returns>
std::vector<std::string> Split(std::string string, const char delimiter);
std::string RemoveChar(std::string string, char character);
std::vector<std::string> Split(std::string s, const std::string& delimiter);
bool StartsWith(const std::string& str, const std::string& start);
bool EndsWith(const std::string& str, const std::string& end);
}
}