Grindstone Game Engine v0.2.0
An open source game engine and toolkit.
Loading...
Searching...
No Matches
DirectX12VertexBuffer.hpp
1#pragma once
2
3#include "../GraphicsCommon/VertexBuffer.hpp"
4#include <d3d12.h>
5
6namespace Grindstone {
7 namespace GraphicsAPI {
9 public:
10 DirectX12VertexBuffer(VertexBufferCreateInfo ci);
11 virtual ~DirectX12VertexBuffer() override;
12 public:
13 //VkBuffer getBuffer();
14 private:
15 ID3D12Resource* vertex_buffer_;
16 D3D12_VERTEX_BUFFER_VIEW vertex_buffer_view_;
17 };
18 };
19};
Definition DirectX12VertexBuffer.hpp:8
Definition VertexBuffer.hpp:130