Grindstone Game Engine
v0.2.0
An open source game engine and toolkit.
Loading...
Searching...
No Matches
DirectX12RenderTarget.hpp
1
#pragma once
2
3
#include "../GraphicsCommon/RenderTarget.hpp"
4
#include <d3d12.h>
5
6
namespace
Grindstone {
7
namespace
GraphicsAPI {
8
class
DirectX12RenderTarget
:
public
RenderTarget
{
9
public
:
10
//DirectX12RenderTarget(VkImage swapchain_image, VkFormat); // Build from swapchain
11
DirectX12RenderTarget
(RenderTargetCreateInfo ci);
12
virtual
~DirectX12RenderTarget
()
override
;
13
public
:
14
//VkImageView getImageView();
15
public
:
16
virtual
float
getAverageValue(uint32_t i)
override
;
17
virtual
void
RenderScreen(
unsigned
int
i,
unsigned
int
resx,
unsigned
int
resy,
unsigned
char
*data)
override
;
18
private
:
19
//VkImage image_;
20
//VkImageView image_view_;
21
//VkDeviceMemory image_memory_;
22
};
23
}
24
}
Grindstone::GraphicsAPI::DirectX12RenderTarget
Definition
DirectX12RenderTarget.hpp:8
Grindstone::GraphicsAPI::RenderTarget
Definition
RenderTarget.hpp:12
sources
code
Plugins
GraphicsDirectX12
DirectX12RenderTarget.hpp
Generated by
1.12.0