First public contribution.
2 * Copyright (c) 2003 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of the License "Eclipse Public License v1.0"
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
14 * Description: Material interface
18 #ifndef __M3G_MATERIAL_H__
19 #define __M3G_MATERIAL_H__
24 * \brief Material interface
27 #include "m3g_object.h"
32 * \brief Material object
34 struct M3GMaterialImpl
38 GLboolean vertexColorTracking;
41 M3Guint emissiveColor;
42 M3Guint specularColor;
46 /*----------------------------------------------------------------------
48 *--------------------------------------------------------------------*/
50 static void m3gApplyMaterial(Material *material, M3Gint alphaFactor);
51 static void m3gApplyDefaultMaterial(void);
53 #endif /*__M3G_MATERIAL_H__*/