Esempio n. 1
0
 ReleaseDracoAttribute(DracoAttribute **attr);
Esempio n. 2
0
 // Returns the DracoAttribute at index in mesh. On input, attribute must be
 // null. The returned attr must be released with ReleaseDracoAttribute.
 [DllImport("dracodec_unity")] private static extern bool GetAttribute(
     DracoMesh *mesh, int index, DracoAttribute **attr);
Esempio n. 3
0
 // Release data associated with DracoAttribute.
 [DllImport("dracodec_unity")] private static extern void ReleaseDracoAttribute(DracoAttribute **attr);
Esempio n. 4
0
 GetAttributeByUniqueId(DracoMesh *mesh, int unique_id,
                        DracoAttribute **attr);
Esempio n. 5
0
 // Returns the DracoAttribute with unique_id in mesh. On input, attribute
 // must be null.The returned attr must be released with
 // ReleaseDracoAttribute.
 [DllImport("dracodec_unity")] private static extern bool GetAttributeByUniqueId(DracoMesh *mesh, int unique_id, DracoAttribute **attr);
Esempio n. 6
0
 // Returns the DracoAttribute of type at index in mesh. On input, attribute
 // must be null. E.g. If the mesh has two texture coordinates then
 // GetAttributeByType(mesh, AttributeType.TEX_COORD, 1, &attr); will return
 // the second TEX_COORD attribute. The returned attr must be released with
 // ReleaseDracoAttribute.
 [DllImport(DRACODEC_UNITY_LIB)] private static extern bool GetAttributeByType(
     DracoMesh *mesh, AttributeType type, int index, DracoAttribute **attr);
Esempio n. 7
0
 // Returns the DracoAttribute at index in mesh. On input, attribute must be
 // null. The returned attr must be released with ReleaseDracoAttribute.
 [DllImport(DRACODEC_UNITY_LIB)] unsafe static extern bool GetAttribute(
     DracoMesh *mesh, int index, DracoAttribute **attr);
 private static extern bool GetAttributeByType(
     DracoMesh *mesh, AttributeType type, int index, DracoAttribute **attr);
 private static extern bool GetAttribute(
     DracoMesh *mesh, int index, DracoAttribute **attr);