Grindstone Game Engine
v0.2.0
An open source game engine and toolkit.
Toggle main menu visibility
Loading...
Searching...
No Matches
DirectX12CommandBuffer.hpp
1
#pragma once
2
3
#include "../GraphicsCommon/CommandBuffer.hpp"
4
#include <d3d12.h>
5
6
namespace
Grindstone
{
7
namespace
GraphicsAPI
{
8
class
DirectX12CommandBuffer :
public
CommandBuffer
{
9
public
:
10
DirectX12CommandBuffer(CommandBufferCreateInfo createInfo);
11
virtual
~DirectX12CommandBuffer()
override
;
12
public
:
13
ID3D12CommandList* getCommandList();
14
void
handleStep(CommandCreateInfo* step);
15
// VkCommandBuffer getCommandBuffer();
16
private
:
17
void
uploadCmdBindRenderPass(CommandBindRenderPass* ci);
18
void
uploadCmdUnbindRenderPass(CommandUnbindRenderPass* ci);
19
void
uploadCmdBindDescriptorSet(CommandBindDescriptorSets* ci);
20
void
uploadCmdBindCommandBuffers(CommandCallCmdBuffer* ci);
21
void
uploadCmdBindGraphicsPipeline(CommandBindGraphicsPipeline* ci);
22
void
uploadCmdBindVertexBuffers(CommandBindVBOs* ci);
23
void
uploadCmdBindIndexBuffer(CommandBindIBO* ci);
24
void
uploadCmdDrawVertices(CommandDrawVertices* ci);
25
void
uploadCmdDrawIndices(CommandDrawIndices* ci);
26
private
:
27
ID3D12GraphicsCommandList* command_list_;
28
29
CommandBufferSecondaryInfo
secondaryInfo;
30
};
31
};
32
};
Grindstone::GraphicsAPI::CommandBuffer
Definition
CommandBuffer.hpp:109
Grindstone::GraphicsAPI
Definition
Buffer.hpp:9
Grindstone
Definition
ArchiveContentFile.hpp:8
Grindstone::GraphicsAPI::CommandBuffer::CommandBufferSecondaryInfo
Definition
CommandBuffer.hpp:180
plugins
Grindstone.RHI.DirectX12
include
DirectX12CommandBuffer.hpp
Generated by
1.17.0