BRE12
postprocess.h
Go to the documentation of this file.
1 /*
2 Open Asset Import Library (assimp)
3 ----------------------------------------------------------------------
4 
5 Copyright (c) 2006-2012, assimp team
6 All rights reserved.
7 
8 Redistribution and use of this software in source and binary forms,
9 with or without modification, are permitted provided that the
10 following conditions are met:
11 
12 * Redistributions of source code must retain the above
13  copyright notice, this list of conditions and the
14  following disclaimer.
15 
16 * Redistributions in binary form must reproduce the above
17  copyright notice, this list of conditions and the
18  following disclaimer in the documentation and/or other
19  materials provided with the distribution.
20 
21 * Neither the name of the assimp team, nor the names of its
22  contributors may be used to endorse or promote products
23  derived from this software without specific prior
24  written permission of the assimp team.
25 
26 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
27 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
28 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
29 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
30 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
31 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
32 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
33 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
34 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
35 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
36 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
37 
38 ----------------------------------------------------------------------
39 */
40 
44 #ifndef AI_POSTPROCESS_H_INC
45 #define AI_POSTPROCESS_H_INC
46 
47 #include "types.h"
48 
49 #ifdef __cplusplus
50 extern "C" {
51 #endif
52 
53 // -----------------------------------------------------------------------------------
64 // -----------------------------------------------------------------------------------
66 {
67 
68  // -------------------------------------------------------------------------
79 
80  // -------------------------------------------------------------------------
92 
93  // -------------------------------------------------------------------------
108 
109  // -------------------------------------------------------------------------
124 
125  // -------------------------------------------------------------------------
150 
151  // -------------------------------------------------------------------------
164 
165  // -------------------------------------------------------------------------
181 
182  // -------------------------------------------------------------------------
200 
201  // -------------------------------------------------------------------------
221 
222  // -------------------------------------------------------------------------
237 
238  // -------------------------------------------------------------------------
265 
266  // -------------------------------------------------------------------------
280 
281  // -------------------------------------------------------------------------
301 
302  // -------------------------------------------------------------------------
315 
316  // -------------------------------------------------------------------------
329 
330  // -------------------------------------------------------------------------
367 
368  // -------------------------------------------------------------------------
382 
383  // -------------------------------------------------------------------------
399 
400  // -------------------------------------------------------------------------
416 
417  // -------------------------------------------------------------------------
431 
432  // -------------------------------------------------------------------------
442 
443 
444  // -------------------------------------------------------------------------
471 
472  // -------------------------------------------------------------------------
490  aiProcess_FlipUVs = 0x800000,
491 
492  // -------------------------------------------------------------------------
506 
507  // -------------------------------------------------------------------------
512 
513  // -------------------------------------------------------------------------
526  aiProcess_Debone = 0x4000000
527 
528  // aiProcess_GenEntityMeshes = 0x100000,
529  // aiProcess_OptimizeAnimations = 0x200000
530  // aiProcess_FixTexturePaths = 0x200000
531 };
532 
533 
534 // ---------------------------------------------------------------------------------------
545 #define aiProcess_ConvertToLeftHanded ( \
546  aiProcess_MakeLeftHanded | \
547  aiProcess_FlipUVs | \
548  aiProcess_FlipWindingOrder | \
549  0 )
550 
551 
552 // ---------------------------------------------------------------------------------------
566 #define aiProcessPreset_TargetRealtime_Fast ( \
567  aiProcess_CalcTangentSpace | \
568  aiProcess_GenNormals | \
569  aiProcess_JoinIdenticalVertices | \
570  aiProcess_Triangulate | \
571  aiProcess_GenUVCoords | \
572  aiProcess_SortByPType | \
573  0 )
574 
575  // ---------------------------------------------------------------------------------------
591 #define aiProcessPreset_TargetRealtime_Quality ( \
592  aiProcess_CalcTangentSpace | \
593  aiProcess_GenSmoothNormals | \
594  aiProcess_JoinIdenticalVertices | \
595  aiProcess_ImproveCacheLocality | \
596  aiProcess_LimitBoneWeights | \
597  aiProcess_RemoveRedundantMaterials | \
598  aiProcess_SplitLargeMeshes | \
599  aiProcess_Triangulate | \
600  aiProcess_GenUVCoords | \
601  aiProcess_SortByPType | \
602  aiProcess_FindDegenerates | \
603  aiProcess_FindInvalidData | \
604  0 )
605 
606  // ---------------------------------------------------------------------------------------
621 #define aiProcessPreset_TargetRealtime_MaxQuality ( \
622  aiProcessPreset_TargetRealtime_Quality | \
623  aiProcess_FindInstances | \
624  aiProcess_ValidateDataStructure | \
625  aiProcess_OptimizeMeshes | \
626  0 )
627 
628 
629 #ifdef __cplusplus
630 } // end of extern "C"
631 #endif
632 
633 #endif // AI_POSTPROCESS_H_INC
Definition: postprocess.h:490
Basic data types and primitives, such as vectors or colors.
Definition: postprocess.h:149
Definition: postprocess.h:78
Definition: postprocess.h:366
Definition: postprocess.h:505
Definition: postprocess.h:300
Definition: postprocess.h:107
Definition: postprocess.h:279
Definition: postprocess.h:220
Definition: postprocess.h:328
Definition: postprocess.h:415
Definition: postprocess.h:314
Definition: postprocess.h:199
Definition: postprocess.h:430
Definition: postprocess.h:441
Definition: postprocess.h:264
Definition: postprocess.h:163
Definition: postprocess.h:123
Definition: postprocess.h:511
Definition: postprocess.h:470
Definition: postprocess.h:381
Definition: postprocess.h:236
Definition: postprocess.h:398
Definition: postprocess.h:91
Definition: postprocess.h:526
Definition: postprocess.h:180
aiPostProcessSteps
Defines the flags for all possible post processing steps.
Definition: postprocess.h:65