![]() |
Ankush's Garage
A collection of stuff made by Ankush Roy
|
Classes | |
| class | BaseProject |
| Structure representing an project application instance. More... | |
| class | ImGuiUI |
| class | ProjectManager |
Functions | |
| const std::filesystem::path & | GetBasePath () |
| std::expected< SDL_GPUShader *, std::string > | LoadShader (SDL_GPUDevice *device, const std::string &shaderFilename, Uint32 samplerCount, Uint32 uniformBufferCount, Uint32 storageBufferCount, Uint32 storageTextureCount) |
| This is a function that returns a compiled shader after taking the path to shader. | |
| SDL_Surface * | LoadImage (const std::string &imageFileName, int desiredChannels) |
| const std::filesystem::path & Common::GetBasePath | ( | ) |
| SDL_Surface * Common::LoadImage | ( | const std::string & | imageFileName, |
| int | desiredChannels = 4 ) |
| std::expected< SDL_GPUShader *, std::string > Common::LoadShader | ( | SDL_GPUDevice * | device, |
| const std::string & | shaderFilename, | ||
| Uint32 | samplerCount, | ||
| Uint32 | uniformBufferCount, | ||
| Uint32 | storageBufferCount, | ||
| Uint32 | storageTextureCount ) |
This is a function that returns a compiled shader after taking the path to shader.