10 lines
408 B
C++
10 lines
408 B
C++
#pragma once
|
|
|
|
#include <SDL3/SDL.h> // Para SDL_Texture, SDL_Window
|
|
#include <string> // Para basic_string, string
|
|
|
|
namespace shader {
|
|
bool init(SDL_Window *ventana, SDL_Texture *texturaBackBuffer, const std::string &vertexShader, const std::string &fragmentShader = "");
|
|
void render();
|
|
void setTextureSize(float width, float height); // Establece el tamaño de textura como uniform
|
|
} // namespace shader
|