![]() |
MAGE
v0.171.0
Matthias Advanced Game Engine
|
#include <vertex.hpp>
Static Public Member Functions | |
static constexpr bool | HasPosition () noexcept |
static constexpr bool | HasNormal () noexcept |
static constexpr bool | HasTexture () noexcept |
static constexpr bool | HasColor () noexcept |
Public Attributes | |
Point3 | m_p |
Normal3 | m_n |
Static Public Attributes | |
static const D3D11_INPUT_ELEMENT_DESC | s_input_element_descs [2u] |
A struct of vertices containing position and normal coordinates.
|
staticnoexcept |
Checks whether vertices have a color.
true
if vertices have a color. false
otherwise.
|
staticnoexcept |
Checks whether vertices have a normal.
true
if vertices have a normal. false
otherwise.
|
staticnoexcept |
Checks whether vertices have a position.
true
if vertices have a position. false
otherwise.
|
staticnoexcept |
Checks whether vertices have a texture.
true
if vertices have a texture. false
otherwise. Normal3 mage::rendering::VertexPositionNormal::m_n |
The normal of this vertex.
Point3 mage::rendering::VertexPositionNormal::m_p |
The position of this vertex.
|
static |
The input element descriptors of a vertex.