Exemple #1
0
 // 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);
Exemple #2
0
 // Release attribute data.
 [DllImport("dracodec_unity")] private static extern void ReleaseDracoData(
     DracoData **data);
Exemple #3
0
 // 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);
Exemple #4
0
 // 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);
Exemple #5
0
 // Release attribute data.
 [DllImport(DRACODEC_UNITY_LIB)] private static extern void ReleaseDracoData(
     DracoData **data);
Exemple #6
0
 // 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);
Exemple #7
0
 // 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);
Exemple #8
0
 // 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);