Changeset 83b5b4b in opengl-game for graphics-pipeline.hpp


Ignore:
Timestamp:
Oct 4, 2019, 8:19:15 PM (5 years ago)
Author:
Dmitry Portnoy <dmitry.portnoy@…>
Branches:
feature/imgui-sdl, master, points-test
Children:
0b1b52d
Parents:
5b02676
git-author:
Dmitry Portnoy <dmitry.portnoy@…> (10/04/19 20:16:22)
git-committer:
Dmitry Portnoy <dmitry.portnoy@…> (10/04/19 20:19:15)
Message:

Handle window resize events in openglgame

File:
1 edited

Legend:

Unmodified
Added
Removed
  • graphics-pipeline.hpp

    r5b02676 r83b5b4b  
    66using namespace std;
    77
     8struct Viewport {
     9   int x;
     10   int y;
     11   int width;
     12   int height;
     13};
     14
    815class GraphicsPipeline {
    916public:
     
    1118
    1219   virtual void createPipeline(string vertShaderFile, string fragShaderFile) = 0;
     20
     21protected:
     22   Viewport viewport; // So far, not used for GraphicsPipeline_OpenGL
    1323};
    1424
Note: See TracChangeset for help on using the changeset viewer.