Grindstone Game Engine
v0.2.0
An open source game engine and toolkit.
Loading...
Searching...
No Matches
DirectX12UniformBuffer.hpp
1
#pragma once
2
3
#include "../GraphicsCommon/UniformBuffer.hpp"
4
#include <d3d12.h>
5
6
namespace
Grindstone {
7
namespace
GraphicsAPI {
8
class
DirectX12UniformBufferBinding
:
public
UniformBufferBinding {
9
public
:
10
DirectX12UniformBufferBinding
(UniformBufferBindingCreateInfo ci);
11
virtual
~DirectX12UniformBufferBinding
();
12
public
:
13
//VkDescriptorSetLayout getDescriptorSetLayout();
14
private
:
15
//VkDescriptorSetLayout descriptor_set_layout_;
16
};
17
18
class
DirectX12UniformBuffer
:
public
UniformBuffer
{
19
public
:
20
DirectX12UniformBuffer
(UniformBufferCreateInfo ci);
21
virtual
~DirectX12UniformBuffer
();
22
public
:
23
//VkDescriptorSet getDescriptorSet();
24
public
:
25
virtual
void
UpdateUniformBuffer(
void
* content)
override
;
26
virtual
void
Bind()
override
;
27
private
:
28
//VkDescriptorSet descriptor_set_;
29
//VkBuffer buffer_;
30
//VkDeviceMemory memory_;
31
uint32_t size_;
32
};
33
};
34
};
Grindstone::GraphicsAPI::DirectX12UniformBufferBinding
Definition
DirectX12UniformBuffer.hpp:8
Grindstone::GraphicsAPI::DirectX12UniformBuffer
Definition
DirectX12UniformBuffer.hpp:18
Grindstone::GraphicsAPI::UniformBuffer
Definition
UniformBuffer.hpp:10
sources
code
Plugins
GraphicsDirectX12
DirectX12UniformBuffer.hpp
Generated by
1.12.0