Package org.lwjgl.assimp
@NullMarked
package org.lwjgl.assimp
Contains bindings to the Assimp library, a library to import and export various 3d-model-formats including
scene-post-processing to generate missing render data.
Assimp aims to provide a full asset conversion pipeline for use in game engines / realtime rendering systems of any kind, but it is not limited to this purpose. In the past, it has been used in a wide range of applications.
Written in C++, it is available under a liberal BSD license. Assimp loads all input model formats into one straightforward data structure for further processing. This feature set is augmented by various post processing tools, including frequently-needed operations such as computing normal and tangent vectors.
Resources
-
ClassDescription
struct aiAABB {struct aiVector3DmMin;struct aiVector3DmMax; }An array ofAIAABBstructs.struct aiAnimation {struct aiStringmName; double mDuration; double mTicksPerSecond; unsigned int mNumChannels;struct aiNodeAnim** mChannels; unsigned int mNumMeshChannels;struct aiMeshAnim** mMeshChannels; unsigned int mNumMorphMeshChannels;struct aiMeshMorphAnim** mMorphMeshChannels; }An array ofAIAnimationstructs.struct aiAnimMesh {struct aiStringmName;struct aiVector3D* mVertices;struct aiVector3D* mNormals;struct aiVector3D* mTangents;struct aiVector3D* mBitangents;struct aiColor4D* mColors[Assimp.AI_MAX_NUMBER_OF_COLOR_SETS];struct aiVector3D* mTextureCoords[Assimp.AI_MAX_NUMBER_OF_TEXTURECOORDS]; unsigned int mNumVertices; float mWeight; }An array ofAIAnimMeshstructs.struct aiBone {struct aiStringmName; unsigned int mNumWeights;struct aiNode* mArmature;struct aiNode* mNode;struct aiVertexWeight* mWeights;struct aiMatrix4x4mOffsetMatrix; }An array ofAIBonestructs.struct aiCamera {struct aiStringmName;struct aiVector3DmPosition;struct aiVector3DmUp;struct aiVector3DmLookAt; float mHorizontalFOV; float mClipPlaneNear; float mClipPlaneFar; float mAspect; float mOrthographicWidth; }An array ofAICamerastructs.struct aiColor3D { float r; float g; float b; }An array ofAIColor3Dstructs.struct aiColor4D { float r; float g; float b; float a; }An array ofAIColor4Dstructs.struct aiExportDataBlob { size_t size; void * data;struct aiStringname;struct aiExportDataBlob* next; }An array ofAIExportDataBlobstructs.struct aiExportFormatDesc { char const * id; char const * description; char const * fileExtension; }An array ofAIExportFormatDescstructs.struct aiFace { unsigned int mNumIndices; unsigned int * mIndices; }An array ofAIFacestructs.struct aiFile {aiFileReadProcReadProc;aiFileWriteProcWriteProc;aiFileTellProcTellProc;aiFileTellProcFileSizeProc;aiFileSeekSeekProc;aiFileFlushProcFlushProc; aiUserData UserData; }An array ofAIFilestructs.Callback function:aiFileCloseProcCallback function:aiFileCloseProcCallback function:aiFileFlushProcCallback function:aiFileFlushProcstruct aiFileIO {aiFileOpenProcOpenProc;aiFileCloseProcCloseProc; aiUserData UserData; }An array ofAIFileIOstructs.Callback function:aiFileOpenProcCallback function:aiFileOpenProcCallback function:aiFileReadProcCallback function:aiFileReadProcCallback function:aiFileSeekCallback function:aiFileSeekCallback function:aiFileTellProcCallback function:aiFileTellProcCallback function:aiFileWriteProcCallback function:aiFileWriteProcstruct aiImporterDesc { char const * mName; char const * mAuthor; char const * mMaintainer; char const * mComments; unsigned int mFlags; unsigned int mMinMajor; unsigned int mMinMinor; unsigned int mMaxMajor; unsigned int mMaxMinor; char const * mFileExtensions; }An array ofAIImporterDescstructs.struct aiLight {struct aiStringmName; aiLightSourceType mType;struct aiVector3DmPosition;struct aiVector3DmDirection;struct aiVector3DmUp; float mAttenuationConstant; float mAttenuationLinear; float mAttenuationQuadratic;struct aiColor3DmColorDiffuse;struct aiColor3DmColorSpecular;struct aiColor3DmColorAmbient; float mAngleInnerCone; float mAngleOuterCone;struct aiVector2DmSize; }An array ofAILightstructs.struct aiLogStream {aiLogStreamCallbackcallback; char * user; }An array ofAILogStreamstructs.Callback function:aiLogStreamCallbackCallback function:aiLogStreamCallbackstruct aiMaterial {struct aiMaterialProperty** mProperties; unsigned int mNumProperties; unsigned int mNumAllocated; }An array ofAIMaterialstructs.struct aiMaterialProperty {struct aiStringmKey; unsigned int mSemantic; unsigned int mIndex; unsigned int mDataLength; aiPropertyTypeInfo mType; char * mData; }An array ofAIMaterialPropertystructs.struct aiMatrix3x3 { float a1; float a2; float a3; float b1; float b2; float b3; float c1; float c2; float c3; }An array ofAIMatrix3x3structs.struct aiMatrix4x4 { float a1; float a2; float a3; float a4; float b1; float b2; float b3; float b4; float c1; float c2; float c3; float c4; float d1; float d2; float d3; float d4; }An array ofAIMatrix4x4structs.struct aiMemoryInfo { unsigned int textures; unsigned int materials; unsigned int meshes; unsigned int nodes; unsigned int animations; unsigned int cameras; unsigned int lights; unsigned int total; }An array ofAIMemoryInfostructs.struct aiMesh { unsigned int mPrimitiveTypes; unsigned int mNumVertices; unsigned int mNumFaces;struct aiVector3D* mVertices;struct aiVector3D* mNormals;struct aiVector3D* mTangents;struct aiVector3D* mBitangents;struct aiColor4D* mColors[AI_MAX_NUMBER_OF_COLOR_SETS];struct aiVector3D* mTextureCoords[AI_MAX_NUMBER_OF_TEXTURECOORDS]; unsigned int mNumUVComponents[AI_MAX_NUMBER_OF_TEXTURECOORDS];struct aiFace* mFaces; unsigned int mNumBones;struct aiBone** mBones; unsigned int mMaterialIndex;struct aiStringmName; unsigned int mNumAnimMeshes;struct aiAnimMesh** mAnimMeshes; aiMorphingMethod mMethod;struct aiAABBmAABB;struct aiString** mTextureCoordsNames; }An array ofAIMeshstructs.struct aiMeshAnim {struct aiStringmName; unsigned int mNumKeys;struct aiMeshKey* mKeys; }An array ofAIMeshAnimstructs.struct aiMeshKey { double mTime; unsigned int mValue; }An array ofAIMeshKeystructs.struct aiMeshMorphAnim {struct aiStringmName; unsigned int mNumKeys;struct aiMeshMorphKey* mKeys; }An array ofAIMeshMorphAnimstructs.struct aiMeshMorphKey { double mTime; unsigned int * mValues; double * mWeights; unsigned int mNumValuesAndWeights; }An array ofAIMeshMorphKeystructs.struct aiMetadata { unsigned int mNumProperties;struct aiString* mKeys;struct aiMetadataEntry* mValues; }An array ofAIMetaDatastructs.struct aiMetadataEntry { aiMetadataType mType; void * mData; }An array ofAIMetaDataEntrystructs.struct aiNode {struct aiStringmName;struct aiMatrix4x4mTransformation;struct aiNode* mParent; unsigned int mNumChildren;struct aiNode** mChildren; unsigned int mNumMeshes; unsigned int * mMeshes;struct aiMetadata* mMetadata; }An array ofAINodestructs.struct aiNodeAnim {struct aiStringmNodeName; unsigned int mNumPositionKeys;struct aiVectorKey* mPositionKeys; unsigned int mNumRotationKeys;struct aiQuatKey* mRotationKeys; unsigned int mNumScalingKeys;struct aiVectorKey* mScalingKeys; aiAnimBehaviour mPreState; aiAnimBehaviour mPostState; }An array ofAINodeAnimstructs.struct aiPropertyStore { char sentinel; }An array ofAIPropertyStorestructs.struct aiQuaternion { float w; float x; float y; float z; }An array ofAIQuaternionstructs.struct aiQuatKey { double mTime;struct aiQuaternionmValue; aiAnimInterpolation mInterpolation; }An array ofAIQuatKeystructs.struct aiScene { unsigned int mFlags;struct aiNode* mRootNode; unsigned int mNumMeshes;struct aiMesh** mMeshes; unsigned int mNumMaterials;struct aiMaterial** mMaterials; unsigned int mNumAnimations;struct aiAnimation** mAnimations; unsigned int mNumTextures;struct aiTexture** mTextures; unsigned int mNumLights;struct aiLight** mLights; unsigned int mNumCameras;struct aiCamera** mCameras;struct aiMetadata* mMetaData;struct aiStringmName; unsigned int mNumSkeletons;struct aiSkeleton** mSkeletons; char * mPrivate; }An array ofAIScenestructs.struct aiSkeleton {struct aiStringmName; unsigned int mNumBones;struct aiSkeletonBone** mBones; }An array ofAISkeletonstructs.struct aiSkeletonBone { int mParent;struct aiNode* mArmature;struct aiNode* mNode; unsigned int mNumnWeights;struct aiMesh* mMeshId;struct aiVertexWeight* mWeights;struct aiMatrix4x4mOffsetMatrix;struct aiMatrix4x4mLocalMatrix; }An array ofAISkeletonBonestructs.struct aiString { ai_uint32 length; char data[Assimp.MAXLEN]; }An array ofAIStringstructs.struct aiTexel { unsigned char b; unsigned char g; unsigned char r; unsigned char a; }An array ofAITexelstructs.struct aiTexture { unsigned int mWidth; unsigned int mHeight; char achFormatHint[9];struct aiTexel* pcData;struct aiStringmFilename; }An array ofAITexturestructs.struct aiUVTransform {struct aiVector2DmTranslation;struct aiVector2DmScaling; float mRotation; }An array ofAIUVTransformstructs.struct aiVector2D { float x; float y; }An array ofAIVector2Dstructs.struct aiVector3D { float x; float y; float z; }An array ofAIVector3Dstructs.struct aiVectorKey { double mTime;struct aiVector3DmValue; aiAnimInterpolation mInterpolation; }An array ofAIVectorKeystructs.struct aiVertexWeight { unsigned int mVertexId; float mWeight; }An array ofAIVertexWeightstructs.Contains the function pointers loaded from the assimpSharedLibrary.