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
6
namespace
Grindstone {
7
namespace
GraphicsAPI {
8
class
DirectX12VertexBuffer
:
public
VertexBuffer
{
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
};
Grindstone::GraphicsAPI::DirectX12VertexBuffer
Definition
DirectX12VertexBuffer.hpp:8
Grindstone::GraphicsAPI::VertexBuffer
Definition
VertexBuffer.hpp:130
sources
code
Plugins
GraphicsDirectX12
DirectX12VertexBuffer.hpp
Generated by
1.12.0