コード例 #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);
コード例 #2
0
 // Release attribute data.
 [DllImport("dracodec_unity")] private static extern void ReleaseDracoData(
     DracoData **data);
コード例 #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);
コード例 #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);
コード例 #5
0
 // Release attribute data.
 [DllImport(DRACODEC_UNITY_LIB)] private static extern void ReleaseDracoData(
     DracoData **data);
コード例 #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);
コード例 #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);
コード例 #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);
コード例 #9
0
 private static extern bool GetAttributeData(
     DracoMesh *mesh, DracoAttribute *attr, DracoData **data);
コード例 #10
0
 private static extern bool GetMeshIndices(
     DracoMesh *mesh, DracoData **indices);
コード例 #11
0
 private static extern void ReleaseDracoData(
     DracoData **data);