Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-09-26 09:03:28

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
0027                                                  //!< multitexturing
0028   Graphic3d_TypeOfLimit_MaxMsaa,                 //!< maximum number of MSAA samples
0029   Graphic3d_TypeOfLimit_HasPBR, //!< indicates whether PBR metallic-roughness shading model is
0030                                 //!< supported
0031   Graphic3d_TypeOfLimit_HasRayTracing,         //!< indicates whether ray tracing is supported
0032   Graphic3d_TypeOfLimit_HasRayTracingTextures, //!< indicates whether ray tracing textures are
0033                                                //!< supported
0034   Graphic3d_TypeOfLimit_HasRayTracingAdaptiveSampling,       //!< indicates whether adaptive screen
0035                                                              //!< sampling is supported
0036   Graphic3d_TypeOfLimit_HasRayTracingAdaptiveSamplingAtomic, //!< indicates whether optimized
0037                                                              //!< adaptive screen sampling is
0038                                                              //!< supported (hardware supports
0039                                                              //!< atomic float operations)
0040   Graphic3d_TypeOfLimit_HasSRGB,       //!< indicates whether sRGB rendering is supported
0041   Graphic3d_TypeOfLimit_HasBlendedOit, //!< indicates whether necessary GL extensions for Weighted,
0042                                        //!< Blended OIT available (without MSAA).
0043   Graphic3d_TypeOfLimit_HasBlendedOitMsaa, //!< indicates whether necessary GL extensions for
0044                                            //!< Weighted, Blended OIT available (with MSAA).
0045   Graphic3d_TypeOfLimit_HasFlatShading,    //!< indicates whether Flat shading
0046                                         //!< (Graphic3d_TypeOfShadingModel_PhongFacet) is supported
0047   Graphic3d_TypeOfLimit_HasMeshEdges,    //!< indicates whether advanced mesh edges presentation is
0048                                          //!< supported
0049   Graphic3d_TypeOfLimit_IsWorkaroundFBO, //!< indicates whether workaround for Intel driver problem
0050                                          //!< with empty FBO for images with big width is applied.
0051   Graphic3d_TypeOfLimit_NB               //!< number of elements in this enumeration
0052 };
0053 
0054 #endif // _Graphic3d_TypeOfLimit_HeaderFile