The MDL SDK API is based on and uses the base API and the math API.
The base API provides basic types, functions on them, assertions, and configurations. The math API provides vector, matrix, bbox, and color classes and math functions.
The MDL SDK API contains the base API and math API include files as well. The mi/base.h
include file and all include files in the mi/base/
subdirectory are from the base API. The mi/math.h
include file and all include files in the mi/math/
subdirectory are from the math API. The mi/mdl_sdk.h
include file and all include files in the mi/neuraylib/
subdirectory are from the MDL SDK API.
The MDL SDK API offers two groups of include files. One group contains the mi/mdl_sdk.h
, mi/math.h
, and mi/base.h
include files, which provide the full functionality of the MDL SDK API, the math API, and the base API, respectively. The other group consists of several include files named mi/neuraylib/
<functional-name>.h
, which provide individual parts of the MDL SDK API grouped by functionality, mi/math/
<functional-name>.h
, which provide individual parts of the math API grouped by functionality, and mi/base/
<functional-name>.h
, which provide individual parts of the base API grouped by functionality. The files of the first group, mi/mdl_sdk.h
, mi/math.h
, and mi/base.h
, include all relevant files of the second group.
See Base API Include Files for the individual base API include files grouped by component.
See Math API Include Files for the individual math API include files grouped by component.
Include files are self-contained. Internal dependencies are resolved automatically. As a consequence, their inclusion is order independent.
Main Include File | Description |
---|---|
mi/base.h | Includes all sub-include files of the base API. |
mi/math.h | Includes all sub-include files of the math API and mi/base.h . |
mi/mdl_sdk.h | Includes all sub-include files of the MDL SDK API, mi/base.h , and mi/math.h . Simply including this header gives you access to all the functionality of MDL SDK API. |
There may be include files that are not documented below. They are automatically included if needed and their independent use is not supported. Their naming and organization might change in the future.
MDL SDK Include Files Grouped by Component | Description | Documentation |
---|---|---|
mi/neuraylib/version.h | Version number for the MDL SDK API. | Versioning of the MDL SDK API |
mi/neuraylib/assert.h | Assertions and static assertions. | MDL SDK API Assertions |