|
|
|||
File indexing completed on 2026-09-10 09:17:55
0001 // Copyright (c) 2022 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 _RWGltf_DracoParameters_HeaderFile 0015 #define _RWGltf_DracoParameters_HeaderFile 0016 0017 //! Draco compression parameters 0018 struct RWGltf_DracoParameters 0019 { 0020 RWGltf_DracoParameters() 0021 : DracoCompression(false), 0022 CompressionLevel(7), 0023 QuantizePositionBits(14), 0024 QuantizeNormalBits(10), 0025 QuantizeTexcoordBits(12), 0026 QuantizeColorBits(8), 0027 QuantizeGenericBits(12), 0028 UnifiedQuantization(false) 0029 { 0030 } 0031 0032 // clang-format off 0033 bool DracoCompression; //!< flag to use Draco compression (FALSE by default). If it is TRUE, compression is used 0034 int CompressionLevel; //!< Draco compression level [0-10] (7 by default) 0035 int QuantizePositionBits; //!< quantization bits for position attribute (14 by default) 0036 int QuantizeNormalBits; //!< quantization bits for normal attribute (10 by default) 0037 int QuantizeTexcoordBits; //!< quantization bits for texture coordinate attribute (12 by default) 0038 int QuantizeColorBits; //!< quantization bits for color attributes (8 by default) 0039 int QuantizeGenericBits; //!< quantization bits for skinning and custom attributes (12 by default) 0040 bool UnifiedQuantization; //!< quantize positions of all primitives using the same quantization grid (FALSE by default) 0041 // clang-format on 0042 }; 0043 0044 #endif
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|