Nameless Engine
Loading...
Searching...
No Matches
HlslVertexFormatDescription.h
1
#pragma once
2
3
// Standard.
4
#include <vector>
5
#include <string>
6
7
// Custom.
8
#include "shader/general/format/VertexFormat.h"
9
10
// External.
11
#include "directx/d3dx12.h"
12
13
namespace
ne {
15
class
HlslVertexFormatDescription
:
public
VertexFormatDescription
{
16
public
:
17
HlslVertexFormatDescription
() =
default
;
18
virtual
~HlslVertexFormatDescription
()
override
=
default
;
19
27
static
std::unique_ptr<HlslVertexFormatDescription>
createDescription
(VertexFormat type);
28
34
virtual
std::vector<std::string>
getVertexSemanticLocations
() = 0;
35
41
virtual
std::vector<D3D12_INPUT_ELEMENT_DESC>
getShaderInputElementDescription
() = 0;
42
};
43
}
ne::HlslVertexFormatDescription
Definition:
HlslVertexFormatDescription.h:15
ne::HlslVertexFormatDescription::getVertexSemanticLocations
virtual std::vector< std::string > getVertexSemanticLocations()=0
ne::HlslVertexFormatDescription::createDescription
static std::unique_ptr< HlslVertexFormatDescription > createDescription(VertexFormat type)
Definition:
HlslVertexFormatDescription.cpp:13
ne::HlslVertexFormatDescription::getShaderInputElementDescription
virtual std::vector< D3D12_INPUT_ELEMENT_DESC > getShaderInputElementDescription()=0
ne::VertexFormatDescription
Definition:
VertexFormat.h:15
src
engine_lib
private
shader
hlsl
format
HlslVertexFormatDescription.h
Generated by
1.9.5