group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
ShaderUtils.hpp
Go to the documentation of this file.
1
3
4#pragma once
5
6#include <SDL3/SDL.h>
7
18SDL_GPUShader* loadShader(SDL_GPUDevice* dev,
19 const char* path,
20 SDL_GPUShaderFormat format,
21 SDL_GPUShaderStage stage,
22 Uint32 samplerCount,
23 Uint32 uniformBufferCount,
24 Uint32 storageBufferCount,
25 Uint32 storageTextureCount);
SDL_GPUShader * loadShader(SDL_GPUDevice *dev, const char *path, SDL_GPUShaderFormat format, SDL_GPUShaderStage stage, Uint32 samplerCount, Uint32 uniformBufferCount, Uint32 storageBufferCount, Uint32 storageTextureCount)
Load a compiled shader from disk and create an SDL GPU shader object.
Definition ShaderUtils.cpp:6