Defines vertex which is used in triangle drawing.
You can find more information in comments below.
template<unsigned char Channels, class ChannelType, class PointType, class FloatType>
struct TVertex
{
math::TPoint<PointType> Position; // Vertex position in screen coordinates
math::TPoint<FloatType> TexCoord; // Texture coordinates
TPixel<Channels, ChannelType> Color; // Vertex color
// Since 3.0.0
math::TPoint<FloatType> BCoord; // Bitmask coordinates
};
Namespace: | nitisa::graphics |
Include: | Nitisa/Modules/Graphics/Vertex.h |