Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:03:50

0001 // Created on: 1993-03-31
0002 // Created by: NW,JPB,CAL
0003 // Copyright (c) 1993-1999 Matra Datavision
0004 // Copyright (c) 1999-2014 OPEN CASCADE SAS
0005 //
0006 // This file is part of Open CASCADE Technology software library.
0007 //
0008 // This library is free software; you can redistribute it and/or modify it under
0009 // the terms of the GNU Lesser General Public License version 2.1 as published
0010 // by the Free Software Foundation, with special exception defined in the file
0011 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0012 // distribution for complete text of the license and disclaimer of any warranty.
0013 //
0014 // Alternatively, this file may be used under the terms of Open CASCADE
0015 // commercial license or contractual agreement.
0016 
0017 #ifndef _Graphic3d_TypeOfTexture_HeaderFile
0018 #define _Graphic3d_TypeOfTexture_HeaderFile
0019 
0020 //! Type of the texture file format.
0021 enum Graphic3d_TypeOfTexture
0022 {
0023   //! 1D texture (array).
0024   //! Note that this texture type might be unsupported by graphics API (emulated by 2D texture with 1 pixel height).
0025   Graphic3d_TypeOfTexture_1D,
0026 
0027   //! 2D texture (image plane).
0028   Graphic3d_TypeOfTexture_2D,
0029 
0030   //! 3D texture (a set of image planes).
0031   Graphic3d_TypeOfTexture_3D,
0032 
0033   //! Cubemap texture (6 image planes defining cube sides).
0034   Graphic3d_TypeOfTexture_CUBEMAP,
0035 
0036   //! Obsolete type - Graphic3d_TextureRoot::SetMipmapsGeneration() should be used instead.
0037   Graphic3d_TOT_2D_MIPMAP,
0038 
0039   // old aliases
0040   Graphic3d_TOT_1D      = Graphic3d_TypeOfTexture_1D,
0041   Graphic3d_TOT_2D      = Graphic3d_TypeOfTexture_2D,
0042   Graphic3d_TOT_CUBEMAP = Graphic3d_TypeOfTexture_CUBEMAP
0043 };
0044 
0045 #endif // _Graphic3d_TypeOfTexture_HeaderFile