Nameless Engine
Loading...
Searching...
No Matches
VertexFormat.h
1
#pragma once
2
3
// Standard.
4
#include <memory>
5
6
namespace
ne {
7
class
Renderer;
8
10
enum class
VertexFormat {
11
MESH_NODE,
//< Vertex format used by mesh nodes.
12
};
13
15
class
VertexFormatDescription
{
16
public
:
17
VertexFormatDescription
() =
default
;
18
virtual
~VertexFormatDescription
() =
default
;
19
28
static
std::unique_ptr<VertexFormatDescription>
29
createDescription
(VertexFormat type,
Renderer
* pRenderer);
30
};
31
}
ne::Renderer
Definition:
Renderer.h:43
ne::VertexFormatDescription
Definition:
VertexFormat.h:15
ne::VertexFormatDescription::createDescription
static std::unique_ptr< VertexFormatDescription > createDescription(VertexFormat type, Renderer *pRenderer)
Definition:
VertexFormat.cpp:18
src
engine_lib
private
shader
general
format
VertexFormat.h
Generated by
1.9.5