GraphicsAPI_2020C
postprocess.h
Go to the documentation of this file.
1 /*
2 Open Asset Import Library (assimp)
3 ----------------------------------------------------------------------
4 
5 Copyright (c) 2006-2017, assimp team
6 
7 All rights reserved.
8 
9 Redistribution and use of this software in source and binary forms,
10 with or without modification, are permitted provided that the
11 following conditions are met:
12 
13 * Redistributions of source code must retain the above
14  copyright notice, this list of conditions and the
15  following disclaimer.
16 
17 * Redistributions in binary form must reproduce the above
18  copyright notice, this list of conditions and the
19  following disclaimer in the documentation and/or other
20  materials provided with the distribution.
21 
22 * Neither the name of the assimp team, nor the names of its
23  contributors may be used to endorse or promote products
24  derived from this software without specific prior
25  written permission of the assimp team.
26 
27 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
28 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
29 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
30 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
31 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
32 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
33 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
34 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
35 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
36 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
37 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
38 
39 ----------------------------------------------------------------------
40 */
41 
45 #pragma once
46 #ifndef AI_POSTPROCESS_H_INC
47 #define AI_POSTPROCESS_H_INC
48 
49 #include "types.h"
50 
51 #ifdef __cplusplus
52 extern "C" {
53 #endif
54 
55 // -----------------------------------------------------------------------------------
66 // -----------------------------------------------------------------------------------
68 {
69 
70  // -------------------------------------------------------------------------
81 
82  // -------------------------------------------------------------------------
94 
95  // -------------------------------------------------------------------------
110 
111  // -------------------------------------------------------------------------
126 
127  // -------------------------------------------------------------------------
152 
153  // -------------------------------------------------------------------------
166 
167  // -------------------------------------------------------------------------
183 
184  // -------------------------------------------------------------------------
202 
203  // -------------------------------------------------------------------------
223 
224  // -------------------------------------------------------------------------
239 
240  // -------------------------------------------------------------------------
267 
268  // -------------------------------------------------------------------------
282 
283  // -------------------------------------------------------------------------
303 
304  // -------------------------------------------------------------------------
317 
318  // -------------------------------------------------------------------------
331 
332  // -------------------------------------------------------------------------
369 
370  // -------------------------------------------------------------------------
384 
385  // -------------------------------------------------------------------------
401 
402  // -------------------------------------------------------------------------
418 
419  // -------------------------------------------------------------------------
433 
434  // -------------------------------------------------------------------------
444 
445 
446  // -------------------------------------------------------------------------
473 
474  // -------------------------------------------------------------------------
492  aiProcess_FlipUVs = 0x800000,
493 
494  // -------------------------------------------------------------------------
508 
509  // -------------------------------------------------------------------------
514 
515  // -------------------------------------------------------------------------
528  aiProcess_Debone = 0x4000000,
529 
530  // -------------------------------------------------------------------------
539 
540  // aiProcess_GenEntityMeshes = 0x100000,
541  // aiProcess_OptimizeAnimations = 0x200000
542  // aiProcess_FixTexturePaths = 0x200000
543 };
544 
545 
546 // ---------------------------------------------------------------------------------------
557 #define aiProcess_ConvertToLeftHanded ( \
558  aiProcess_MakeLeftHanded | \
559  aiProcess_FlipUVs | \
560  aiProcess_FlipWindingOrder | \
561  0 )
562 
563 
564 // ---------------------------------------------------------------------------------------
578 #define aiProcessPreset_TargetRealtime_Fast ( \
579  aiProcess_CalcTangentSpace | \
580  aiProcess_GenNormals | \
581  aiProcess_JoinIdenticalVertices | \
582  aiProcess_Triangulate | \
583  aiProcess_GenUVCoords | \
584  aiProcess_SortByPType | \
585  0 )
586 
587  // ---------------------------------------------------------------------------------------
603 #define aiProcessPreset_TargetRealtime_Quality ( \
604  aiProcess_CalcTangentSpace | \
605  aiProcess_GenSmoothNormals | \
606  aiProcess_JoinIdenticalVertices | \
607  aiProcess_ImproveCacheLocality | \
608  aiProcess_LimitBoneWeights | \
609  aiProcess_RemoveRedundantMaterials | \
610  aiProcess_SplitLargeMeshes | \
611  aiProcess_Triangulate | \
612  aiProcess_GenUVCoords | \
613  aiProcess_SortByPType | \
614  aiProcess_FindDegenerates | \
615  aiProcess_FindInvalidData | \
616  0 )
617 
618  // ---------------------------------------------------------------------------------------
633 #define aiProcessPreset_TargetRealtime_MaxQuality ( \
634  aiProcessPreset_TargetRealtime_Quality | \
635  aiProcess_FindInstances | \
636  aiProcess_ValidateDataStructure | \
637  aiProcess_OptimizeMeshes | \
638  0 )
639 
640 
641 #ifdef __cplusplus
642 } // end of extern "C"
643 #endif
644 
645 #endif // AI_POSTPROCESS_H_INC
Definition: postprocess.h:492
Basic data types and primitives, such as vectors or colors.
Definition: postprocess.h:151
Definition: postprocess.h:80
Definition: postprocess.h:368
Definition: postprocess.h:507
Definition: postprocess.h:302
Definition: postprocess.h:109
Definition: postprocess.h:281
Definition: postprocess.h:222
Definition: postprocess.h:330
Definition: postprocess.h:417
Definition: postprocess.h:316
Definition: postprocess.h:201
Definition: postprocess.h:432
Definition: postprocess.h:443
Definition: postprocess.h:266
Definition: postprocess.h:538
Definition: postprocess.h:165
Definition: postprocess.h:125
Definition: postprocess.h:513
Definition: postprocess.h:472
Definition: postprocess.h:383
Definition: postprocess.h:238
Definition: postprocess.h:400
Definition: postprocess.h:93
Definition: postprocess.h:528
Definition: postprocess.h:182
aiPostProcessSteps
Defines the flags for all possible post processing steps.
Definition: postprocess.h:67