// Returns an array of attribute data as well as the type of data in // data_type. On input, data must be null. The returned data must be // released with ReleaseDracoData. [DllImport("dracodec_unity")] private static extern bool GetAttributeData( DracoMesh *mesh, DracoAttribute *attr, DracoData **data);
// Release attribute data. [DllImport("dracodec_unity")] private static extern void ReleaseDracoData( DracoData **data);
// Returns an array of attribute data as well as the type of data in // data_type. On input, data must be null. The returned data must be // released with ReleaseDracoData. [DllImport(DRACODEC_UNITY_LIB)] private static extern bool GetAttributeData( DracoMesh *mesh, DracoAttribute *attr, DracoData **data);
// Returns an array of indices as well as the type of data in data_type. On // input, indices must be null. The returned indices must be released with // ReleaseDracoData. [DllImport("dracodec_unity")] private static extern bool GetMeshIndices( DracoMesh *mesh, DracoData **indices);
// Release attribute data. [DllImport(DRACODEC_UNITY_LIB)] private static extern void ReleaseDracoData( DracoData **data);
// Returns an array of indices as well as the type of data in data_type. On // input, indices must be null. The returned indices must be released with // ReleaseDracoData. [DllImport(DRACODEC_UNITY_LIB)] private static extern bool GetMeshIndices( DracoMesh *mesh, DracoData **indices);
// Returns an array of attribute data as well as the type of data in // data_type. On input, data must be null. The returned data must be // released with ReleaseDracoData. [DllImport(DRACODEC_UNITY_LIB)] unsafe static extern bool GetAttributeData( DracoMesh *mesh, DracoAttribute *attr, DracoData **data, bool flip);
// Returns an array of indices as well as the type of data in data_type. On // input, indices must be null. The returned indices must be released with // ReleaseDracoData. [DllImport(DRACODEC_UNITY_LIB)] unsafe static extern bool GetMeshIndices( DracoMesh *mesh, DracoData **indices, bool flip);
private static extern bool GetAttributeData( DracoMesh *mesh, DracoAttribute *attr, DracoData **data);
private static extern bool GetMeshIndices( DracoMesh *mesh, DracoData **indices);
private static extern void ReleaseDracoData( DracoData **data);