Grindstone Game Engine
v0.2.0
An open source game engine and toolkit.
Loading...
Searching...
No Matches
DirectX12Framebuffer.hpp
1
#pragma once
2
3
#include "../GraphicsCommon/Framebuffer.hpp"
4
#include <d3d12.h>
5
#include <vector>
6
#include <stdint.h>
7
8
9
namespace
Grindstone {
10
namespace
GraphicsAPI {
11
class
DirectX12Framebuffer
:
public
Framebuffer
{
12
public
:
13
DirectX12Framebuffer
(FramebufferCreateInfo ci);
14
virtual
~DirectX12Framebuffer
()
override
;
15
public
:
16
// VkFramebuffer getFramebuffer();
17
public
:
18
virtual
float
getExposure(
int
i)
override
;
19
virtual
void
Clear(ClearMode mask)
override
;
20
virtual
void
CopyFrom(
Framebuffer
*)
override
;
21
virtual
void
BindWrite(
bool
depth)
override
;
22
virtual
void
BindTextures(
int
i)
override
;
23
virtual
void
Bind(
bool
depth)
override
;
24
virtual
void
BindRead()
override
;
25
virtual
void
Unbind()
override
;
26
private
:
27
// VkFramebuffer framebuffer_;
28
};
29
}
30
}
Grindstone::GraphicsAPI::DirectX12Framebuffer
Definition
DirectX12Framebuffer.hpp:11
Grindstone::GraphicsAPI::Framebuffer
Definition
Framebuffer.hpp:19
sources
code
Plugins
GraphicsDirectX12
DirectX12Framebuffer.hpp
Generated by
1.12.0