public static int ConvertColorValue( ColorEx color, VertexElementType colorVertexElementType )
{
switch (colorVertexElementType)
{
#if AXIOM_PLATFORM == AXIOM_PLATFORM_WIN32
default:
#endif
case VertexElementType.Color_ARGB:
return color.ToARGB();
#if AXIOM_PLATFORM != OGRE_PLATFORM_WIN32
default:
#endif
case VertexElementType.Color_ABGR:
return color.ToABGR();
}
}
}