Axiom.Graphics.VertexElement.ConvertColorValue C# (CSharp) 메소드

ConvertColorValue() 공개 정적인 메소드

public static ConvertColorValue ( ColorEx color, VertexElementType colorVertexElementType ) : int
color ColorEx
colorVertexElementType VertexElementType
리턴 int
	    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();
            }
	    }
	}