void dbLockVertexDataForLimb ( int iID, int iLimbID, int iReplaceOrUpdate );
void dbLockVertexDataForLimb ( int iID, int iLimbID );
void dbLockVertexDataForMesh ( int iID );
void dbUnlockVertexData ( void );
void dbSetVertexDataPosition ( int iVertex, float fX, float fY, float fZ );
void dbSetVertexDataNormals ( int iVertex, float fNX, float fNY, float fNZ );
void dbSetVertexDataDiffuse ( int iVertex, DWORD dwDiffuse );
void dbSetVertexDataUV ( int iVertex, float fU, float fV );
void dbSetVertexDataSize ( int iVertex, float fSize );
void dbSetIndexData ( int iIndex, int iValue );
void dbSetVertexDataUV ( int iVertex, int iIndex, float fU, float fV );
You would create an object -> mesh then lock it using dbLockVertexDataForMesh().
Be sure to dbUnlcokVertexData() when you are done. Also you will need to update the mesh if you made changes using dbChangeMesh()
Below are some other functions you might need:
void dbLoadMesh ( char* pFilename, int iID );
void dbDeleteMesh ( int iID );
void dbSaveMesh ( char* pFilename, int iMeshID );
void dbChangeMesh ( int iObjectID, int iLimbID, int iMeshID );
void dbMakeMeshFromObject ( int iID, int iObjectID );
void dbReduceMesh ( int iMeshID, int iBlockMode, int iNearMode, int iGX, int iGY, int iGZ );
void dbMakeLODFromMesh ( int iMeshID, int iVertNum, int iNewMeshID );
All of these can be found in DarkSDKBasic3D.h in the /Includes/ folder of your DarkGDK installation.