Grindstone Game Engine
v0.2.0
An open source game engine and toolkit.
Loading...
Searching...
No Matches
DirectX12Texture.hpp
1
#pragma once
2
3
#include "../GraphicsCommon/Texture.hpp"
4
#include <d3d12.h>
5
6
namespace
Grindstone {
7
namespace
GraphicsAPI {
8
class
DirectX12TextureBindingLayout
:
public
TextureBindingLayout {
9
public
:
10
DirectX12TextureBindingLayout
(TextureBindingLayoutCreateInfo ci);
11
~DirectX12TextureBindingLayout
() {};
12
//VkDescriptorSetLayout getDescriptorSetLayout();
13
private
:
14
//VkDescriptorSetLayout descriptor_set_layout_;
15
};
16
17
class
DirectX12Texture
:
public
Texture
{
18
public
:
19
DirectX12Texture
(TextureCreateInfo ci);
20
virtual
~DirectX12Texture
() {};
21
public
:
22
//VkImageView getImageView();
23
//VkSampler getSampler();
24
void
createTextureImage(TextureCreateInfo &ci, uint32_t &mipLevels);
25
void
createTextureSampler(TextureCreateInfo &ci, uint32_t mipLevels);
26
private
:
27
/*VkImage image_;
28
VkDeviceMemory image_memory_;
29
VkImageView image_view_;
30
VkSampler sampler_;
31
VkFormat format_;*/
32
};
33
34
class
DirectX12TextureBinding
:
public
TextureBinding {
35
public
:
36
DirectX12TextureBinding
(TextureBindingCreateInfo ci);
37
~DirectX12TextureBinding
() {};
38
public
:
39
//VkDescriptorSet getDescriptorSet();
40
private
:
41
//VkDescriptorSet descriptor_set_;
42
};
43
};
44
};
Grindstone::GraphicsAPI::DirectX12TextureBindingLayout
Definition
DirectX12Texture.hpp:8
Grindstone::GraphicsAPI::DirectX12TextureBinding
Definition
DirectX12Texture.hpp:34
Grindstone::GraphicsAPI::DirectX12Texture
Definition
DirectX12Texture.hpp:17
Grindstone::GraphicsAPI::Texture
Definition
Texture.hpp:40
sources
code
Plugins
GraphicsDirectX12
DirectX12Texture.hpp
Generated by
1.12.0