couch/core/Shaders/ScreenShader.cpp
2021-01-22 15:27:32 -06:00

12 lines
292 B
C++

#include "ScreenShader.h"
#include "screen.vert.h"
#include "screen.frag.h"
ScreenShader::ScreenShader() : Shader(screen_vert, screen_frag) {}
void ScreenShader::UpdateTex(Texture tex){
glBindTexture(GL_TEXTURE_2D, tex.id);
}
Name ScreenShader::GetName() const {return "Screen Shader";}