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
7
namespace
Grindstone::GraphicsAPI::OpenGL {
8
class
DepthStencilTarget
:
public
Grindstone::GraphicsAPI::DepthStencilTarget
{
9
public
:
10
DepthStencilTarget
(
const
CreateInfo
& cis);
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
}
Grindstone::GraphicsAPI::DepthStencilTarget
Definition
DepthStencilTarget.hpp:15
Grindstone::GraphicsAPI::OpenGL::DepthStencilTarget
Definition
GLDepthStencilTarget.hpp:8
Grindstone::GraphicsAPI::DepthStencilTarget::CreateInfo
Definition
DepthStencilTarget.hpp:17
sources
code
Plugins
GraphicsOpenGL
GLDepthStencilTarget.hpp
Generated by
1.12.0