couch/core/Shaders/ScreenShader.cpp

12 lines
292 B
C++
Raw Permalink Normal View History

2021-01-19 16:01:37 -06:00
#include "ScreenShader.h"
#include "screen.vert.h"
#include "screen.frag.h"
ScreenShader::ScreenShader() : Shader(screen_vert, screen_frag) {}
2021-01-20 20:49:12 -06:00
2021-01-22 15:27:32 -06:00
void ScreenShader::UpdateTex(Texture tex){
glBindTexture(GL_TEXTURE_2D, tex.id);
}
2021-01-20 20:49:12 -06:00
Name ScreenShader::GetName() const {return "Screen Shader";}