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