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
6namespace Grindstone {
7 namespace GraphicsAPI {
8 class DirectX12UniformBufferBinding : public UniformBufferBinding {
9 public:
10 DirectX12UniformBufferBinding(UniformBufferBindingCreateInfo ci);
12 public:
13 //VkDescriptorSetLayout getDescriptorSetLayout();
14 private:
15 //VkDescriptorSetLayout descriptor_set_layout_;
16 };
17
19 public:
20 DirectX12UniformBuffer(UniformBufferCreateInfo ci);
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};
Definition DirectX12UniformBuffer.hpp:8
Definition DirectX12UniformBuffer.hpp:18
Definition UniformBuffer.hpp:10