![]() |
Ankush's Garage
A collection of stuff made by Ankush Roy
|
Namespaces | |
| namespace | Common |
Functions | |
| const std::filesystem::path & | Common::GetBasePath () |
| 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. | |
| SDL_Surface * | Common::LoadImage (const std::string &imageFileName, int desiredChannels) |