Files
rez_demo/sources/GL_STUFF/EFFECTS/Screen.h
beno bbede61723 updated makefile for supporting different target architectures
use "ARCH=arch_name make"

restructured project folder, implementations and headers together under sources/
2026-03-16 00:10:52 +01:00

31 lines
561 B
C++
Executable File

#ifndef SCREEN_H
#define SCREEN_H
#include "../SCENE/Model3D.hpp"
#include "PseudoContext.h"
class Screen: public PseudoContext {
private:
//aux
GLuint inputTexture = 0;
GLuint quadVAO, vertVBO;
GLuint program2;
GLuint shaderTexId;
GLfloat quadVerts[18] = {
-1.0f, -1.0f, -1.0f,
1.0f, -1.0f, -1.0f,
-1.0f, 1.0f, -1.0f,
-1.0f, 1.0f, -1.0f,
1.0f, -1.0f, -1.0f,
1.0f, 1.0f, -1.0f
};
public:
Screen(int left, int top, int width, int height);
void setInputTexture(GLuint inputTexture);
void draw();
};
#endif