Back to home page

EIC code displayed by LXR

 
 

    


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

0001 // Copyright (c) 2016 OPEN CASCADE SAS
0002 //
0003 // This file is part of Open CASCADE Technology software library.
0004 //
0005 // This library is free software; you can redistribute it and/or modify it under
0006 // the terms of the GNU Lesser General Public License version 2.1 as published
0007 // by the Free Software Foundation, with special exception defined in the file
0008 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0009 // distribution for complete text of the license and disclaimer of any warranty.
0010 //
0011 // Alternatively, this file may be used under the terms of Open CASCADE
0012 // commercial license or contractual agreement.
0013 
0014 #ifndef _Graphic3d_TypeOfLimit_HeaderFile
0015 #define _Graphic3d_TypeOfLimit_HeaderFile
0016 
0017 //! Type of graphic resource limit.
0018 enum Graphic3d_TypeOfLimit
0019 {
0020   Graphic3d_TypeOfLimit_MaxNbLights,                    //!< maximum number of active light sources
0021   Graphic3d_TypeOfLimit_MaxNbClipPlanes,                //!< maximum number of active clipping planes
0022   Graphic3d_TypeOfLimit_MaxNbViews,                     //!< maximum number of views
0023   Graphic3d_TypeOfLimit_MaxTextureSize,                 //!< maximum size of texture
0024   Graphic3d_TypeOfLimit_MaxViewDumpSizeX,               //!< maximum width  for image dump
0025   Graphic3d_TypeOfLimit_MaxViewDumpSizeY,               //!< maximum height for image dump
0026   Graphic3d_TypeOfLimit_MaxCombinedTextureUnits,        //!< maximum number of combined texture units for multitexturing
0027   Graphic3d_TypeOfLimit_MaxMsaa,                        //!< maximum number of MSAA samples
0028   Graphic3d_TypeOfLimit_HasPBR,                         //!< indicates whether PBR metallic-roughness shading model is supported
0029   Graphic3d_TypeOfLimit_HasRayTracing,                  //!< indicates whether ray tracing is supported
0030   Graphic3d_TypeOfLimit_HasRayTracingTextures,          //!< indicates whether ray tracing textures are supported
0031   Graphic3d_TypeOfLimit_HasRayTracingAdaptiveSampling,  //!< indicates whether adaptive screen sampling is supported
0032   Graphic3d_TypeOfLimit_HasRayTracingAdaptiveSamplingAtomic,//!< indicates whether optimized adaptive screen sampling is supported (hardware supports atomic float operations)
0033   Graphic3d_TypeOfLimit_HasSRGB,                        //!< indicates whether sRGB rendering is supported
0034   Graphic3d_TypeOfLimit_HasBlendedOit,                  //!< indicates whether necessary GL extensions for Weighted, Blended OIT available (without MSAA).
0035   Graphic3d_TypeOfLimit_HasBlendedOitMsaa,              //!< indicates whether necessary GL extensions for Weighted, Blended OIT available (with MSAA).
0036   Graphic3d_TypeOfLimit_HasFlatShading,                 //!< indicates whether Flat shading (Graphic3d_TypeOfShadingModel_PhongFacet) is supported
0037   Graphic3d_TypeOfLimit_HasMeshEdges,                   //!< indicates whether advanced mesh edges presentation is supported
0038   Graphic3d_TypeOfLimit_IsWorkaroundFBO,                //!< indicates whether workaround for Intel driver problem with empty FBO for images with big width is applied.
0039   Graphic3d_TypeOfLimit_NB                              //!< number of elements in this enumeration
0040 };
0041 
0042 #endif // _Graphic3d_TypeOfLimit_HeaderFile