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
13namespace ne {
16 public:
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}
Definition: HlslVertexFormatDescription.h:15
virtual std::vector< std::string > getVertexSemanticLocations()=0
static std::unique_ptr< HlslVertexFormatDescription > createDescription(VertexFormat type)
Definition: HlslVertexFormatDescription.cpp:13
virtual std::vector< D3D12_INPUT_ELEMENT_DESC > getShaderInputElementDescription()=0
Definition: VertexFormat.h:15