Primitive vertex structure used for some 2D drawing functions. More...
#include <spMaterialConfigTypes.hpp>
Public Member Functions | |
SPrimitiveVertex () | |
SPrimitiveVertex (f32 X, f32 Y, f32 Z, const video::color &Clr, f32 U=0.0f, f32 V=0.0f, f32 AspectRHW=1.0f) | |
SPrimitiveVertex (f32 X, f32 Y, f32 Z, u32 Clr, f32 U=0.0f, f32 V=0.0f, f32 AspectRHW=1.0f) | |
Public Attributes | |
dim::vector3df | Coord |
3D coordinate. | |
f32 | RHW |
Reciprocal homogenous W coordinate (RHW). By default 1.0. | |
u32 | Color |
Vertex color. By default 0xFF000000. | |
dim::point2df | TexCoord |
Texture coordinate. |
Primitive vertex structure used for some 2D drawing functions.
sp::video::SPrimitiveVertex::SPrimitiveVertex | ( | ) | [inline] |
sp::video::SPrimitiveVertex::SPrimitiveVertex | ( | f32 | X, | |
f32 | Y, | |||
f32 | Z, | |||
const video::color & | Clr, | |||
f32 | U = 0.0f , |
|||
f32 | V = 0.0f , |
|||
f32 | AspectRHW = 1.0f | |||
) | [inline] |
sp::video::SPrimitiveVertex::SPrimitiveVertex | ( | f32 | X, | |
f32 | Y, | |||
f32 | Z, | |||
u32 | Clr, | |||
f32 | U = 0.0f , |
|||
f32 | V = 0.0f , |
|||
f32 | AspectRHW = 1.0f | |||
) | [inline] |
Vertex color. By default 0xFF000000.
3D coordinate.
Reciprocal homogenous W coordinate (RHW). By default 1.0.