mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-12 14:31:50 +00:00
frontend/gui refactor
This commit is contained in:
parent
49fdcdfb27
commit
8c722b146e
17 changed files with 331 additions and 332 deletions
|
|
@ -15,6 +15,7 @@ class GfxContext {
|
|||
bool depthTest_ = false;
|
||||
bool cullFace_ = false;
|
||||
blendmode blendMode_ = blendmode::normal;
|
||||
int scissorsCount = 0;
|
||||
public:
|
||||
GfxContext(const GfxContext* parent, Viewport& viewport, Batch2D* g2d);
|
||||
~GfxContext();
|
||||
|
|
@ -27,6 +28,7 @@ public:
|
|||
void depthTest(bool flag);
|
||||
void cullFace(bool flag);
|
||||
void blendMode(blendmode mode);
|
||||
void scissors(glm::vec4 area);
|
||||
};
|
||||
|
||||
#endif // GRAPHICS_GFX_CONTEXT_H_
|
||||
Loading…
Add table
Add a link
Reference in a new issue