GraphicsAPI_2020C
importerdesc.h
Go to the documentation of this file.
1 /*
2 ---------------------------------------------------------------------------
3 Open Asset Import Library (assimp)
4 ---------------------------------------------------------------------------
5 
6 Copyright (c) 2006-2017, assimp team
7 
8 
9 All rights reserved.
10 
11 Redistribution and use of this software in source and binary forms,
12 with or without modification, are permitted provided that the following
13 conditions are met:
14 
15 * Redistributions of source code must retain the above
16  copyright notice, this list of conditions and the
17  following disclaimer.
18 
19 * Redistributions in binary form must reproduce the above
20  copyright notice, this list of conditions and the
21  following disclaimer in the documentation and/or other
22  materials provided with the distribution.
23 
24 * Neither the name of the assimp team, nor the names of its
25  contributors may be used to endorse or promote products
26  derived from this software without specific prior
27  written permission of the assimp team.
28 
29 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
30 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
31 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
32 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
33 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
34 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
35 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
36 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
37 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
38 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
39 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
40 ---------------------------------------------------------------------------
41 */
42 
46 #pragma once
47 #ifndef AI_IMPORTER_DESC_H_INC
48 #define AI_IMPORTER_DESC_H_INC
49 
50 
54 {
58 
62 
66 
72 
78 };
79 
80 
90 {
92  const char* mName;
93 
95  const char* mAuthor;
96 
98  const char* mMaintainer;
99 
101  const char* mComments;
102 
105  unsigned int mFlags;
106 
110  unsigned int mMinMajor;
111  unsigned int mMinMinor;
112 
119  unsigned int mMaxMajor;
120  unsigned int mMaxMinor;
121 
134  const char* mFileExtensions;
135 };
136 
143 ASSIMP_API const C_STRUCT aiImporterDesc* aiGetImporterDesc( const char *extension );
144 
145 #endif // AI_IMPORTER_DESC_H_INC
unsigned int mMaxMajor
Maximum format version that can be loaded im major.minor format, both are set to 0 if there is either...
Definition: importerdesc.h:119
unsigned int mFlags
These flags indicate some characteristics common to many importers.
Definition: importerdesc.h:105
ASSIMP_API const C_STRUCT aiImporterDesc * aiGetImporterDesc(const char *extension)
Returns the Importer description for a given extension.
const char * mMaintainer
Current maintainer, left blank if the author maintains.
Definition: importerdesc.h:98
aiImporterFlags
Mixed set of flags for aiImporterDesc, indicating some features common to many importers.
Definition: importerdesc.h:53
Indicates that there is a compressed encoding of the file format; and that it is supported.
Definition: importerdesc.h:65
const char * mAuthor
Original author (left blank if unknown or whole assimp team)
Definition: importerdesc.h:95
Indicates that the importer is highly experimental and should be used with care.
Definition: importerdesc.h:77
Indicates that the importer reads only a very particular subset of the file format.
Definition: importerdesc.h:71
Meta information about a particular importer.
Definition: importerdesc.h:89
unsigned int mMinMajor
Minimum format version that can be loaded im major.minor format, both are set to 0 if there is either...
Definition: importerdesc.h:110
const char * mName
Full name of the importer (i.e.
Definition: importerdesc.h:92
Indicates that there is a binary encoding of the file format; and that it is supported.
Definition: importerdesc.h:61
const char * mComments
Implementation comments, i.e.
Definition: importerdesc.h:101
Indicates that there is a textual encoding of the file format; and that it is supported.
Definition: importerdesc.h:57
const char * mFileExtensions
List of file extensions this importer can handle.
Definition: importerdesc.h:134