Back to home page

EIC code displayed by LXR

 
 

    


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

0001 // Copyright (c) 2018 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_ArrayFlags_HeaderFile
0015 #define _Graphic3d_ArrayFlags_HeaderFile
0016 
0017 //! Bitmask for primitive array creation.
0018 typedef Standard_Integer Graphic3d_ArrayFlags;
0019 
0020 //! Graphic3d_ArrayFlags bitmask values.
0021 enum
0022 {
0023   Graphic3d_ArrayFlags_None          = 0x00,  //!< no flags
0024   Graphic3d_ArrayFlags_VertexNormal  = 0x01,  //!< per-vertex normal attribute
0025   Graphic3d_ArrayFlags_VertexColor   = 0x02,  //!< per-vertex color  attribute
0026   Graphic3d_ArrayFlags_VertexTexel   = 0x04,  //!< per-vertex texel coordinates (UV) attribute
0027   Graphic3d_ArrayFlags_BoundColor    = 0x10,
0028   // advanced
0029   Graphic3d_ArrayFlags_AttribsMutable       = 0x20,  //!< mutable array, which can be invalidated during lifetime without re-creation
0030   Graphic3d_ArrayFlags_AttribsDeinterleaved = 0x40,  //!< non-interleaved vertex attributes packed into single array
0031   Graphic3d_ArrayFlags_IndexesMutable       = 0x80,  //!< mutable index array, which can be invalidated during lifetime without re-creation
0032 };
0033 
0034 #endif // _Graphic3d_ArrayFlags_HeaderFile