sl@0: /* sl@0: * Copyright (c) 2003 Nokia Corporation and/or its subsidiary(-ies). sl@0: * All rights reserved. sl@0: * This component and the accompanying materials are made available sl@0: * under the terms of the License "Eclipse Public License v1.0" sl@0: * which accompanies this distribution, and is available sl@0: * at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: * sl@0: * Initial Contributors: sl@0: * Nokia Corporation - initial contribution. sl@0: * sl@0: * Contributors: sl@0: * sl@0: * Description: Texture2D interface sl@0: * sl@0: */ sl@0: sl@0: sl@0: /*! sl@0: * \internal sl@0: * \file sl@0: * \brief Texture2D interface sl@0: */ sl@0: sl@0: #ifndef __M3G_TEXTURE_H__ sl@0: #define __M3G_TEXTURE_H__ sl@0: sl@0: #include "m3g_defs.h" sl@0: sl@0: /*---------------------------------------------------------------------- sl@0: * Internal functions sl@0: *--------------------------------------------------------------------*/ sl@0: sl@0: static void m3gDisableTextures(void); sl@0: static void m3gBindTexture(Texture *texture); sl@0: static void m3gReleaseTexture(Texture *texture); sl@0: #if defined(M3G_NGL_TEXTURE_API) sl@0: static M3Gbool m3gValidateTextureMipmapping(Texture *texture); sl@0: #endif sl@0: sl@0: #endif /*__M3G_TEXTURE_H__*/