private ARTextureHandles(ARTextureHandles arTextureHandles) { Debug.Assert(false, "should not call the copy constructor for ARTextureHandles"); m_ARTextureHandlesStruct = new ARTextureHandlesStruct { textureY = IntPtr.Zero, textureCbCr = IntPtr.Zero }; }
// Disable the default and copy constructors because we are not currently tracking references of the Objective C handles in this case. private ARTextureHandles() { // This Debug.Assert(false, "should not call the default constructor for ARTextureHandles"); m_ARTextureHandlesStruct = new ARTextureHandlesStruct { textureY = IntPtr.Zero, textureCbCr = IntPtr.Zero }; }
public ARTextureHandles(ARTextureHandlesStruct arTextureHandlesStruct) { m_ARTextureHandlesStruct = arTextureHandlesStruct; }