Grindstone Game Engine v0.2.0
An open source game engine and toolkit.
Loading...
Searching...
No Matches
GLDepthStencilTarget.hpp
1#pragma once
2
3#include <stdint.h>
4
5#include <Common/Graphics/DepthStencilTarget.hpp>
6
7namespace Grindstone::GraphicsAPI::OpenGL {
9 public:
11 uint32_t GetHandle() const;
12
13 bool IsCubemap() const;
14
15 virtual void Resize(uint32_t width, uint32_t height);
16 virtual void BindFace(int k);
17 virtual void Bind(int i);
18 virtual ~DepthStencilTarget();
19 private:
20 void CreateDepthStencilTarget();
21 private:
22 DepthFormat depthFormat;
23 uint32_t width;
24 uint32_t height;
25
26 uint32_t handle;
27 bool isShadowMap;
28 bool isCubemap;
29 };
30}
Definition DepthStencilTarget.hpp:15
Definition GLDepthStencilTarget.hpp:8