#include "Core/Common/pch.h"
#include <expected>
#include <string>
Go to the source code of this file.
|
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) |
|
◆ PROFILE_FRAME
◆ PROFILE_SCOPE
◆ PROFILE_SCOPE_N
#define PROFILE_SCOPE_N |
( |
| name | ) |
|