Blowbox 2017
A 3D Game Engine by Riko Ophorst using DirectX 12
|
#include <vertex.h>
Static Public Member Functions | |
static Vector< D3D12_INPUT_ELEMENT_DESC > | GetInputElements () |
Public Attributes | |
DirectX::XMFLOAT3 | position |
DirectX::XMFLOAT3 | normal |
DirectX::XMFLOAT3 | tangent |
DirectX::XMFLOAT2 | uv |
DirectX::XMFLOAT4 | color |
Describes a Vertex.
Meshes consist of vertices. Every vertex has a bunch of information attached to it. This class stores the data for every vertex.
|
inlinestatic |
DirectX::XMFLOAT4 blowbox::Vertex::color |
The color of the vertex.
DirectX::XMFLOAT3 blowbox::Vertex::normal |
The normal of the vertex.
DirectX::XMFLOAT3 blowbox::Vertex::position |
The position of the vertex.
DirectX::XMFLOAT3 blowbox::Vertex::tangent |
The tangent of the vertex.
DirectX::XMFLOAT2 blowbox::Vertex::uv |
The UV coordinates of the vertex.