Public Member Functions | Public Attributes

sp::video::SPrimitiveVertex Struct Reference

Primitive vertex structure used for some 2D drawing functions. More...

#include <spMaterialConfigTypes.hpp>

List of all members.

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.

Detailed Description

Primitive vertex structure used for some 2D drawing functions.


Constructor & Destructor Documentation

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]

Member Data Documentation

Vertex color. By default 0xFF000000.

3D coordinate.

Reciprocal homogenous W coordinate (RHW). By default 1.0.

Texture coordinate.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines