/// <summary>Initializes cooking. </summary> /// <param name="allocator">The memory allocator to use. </param> /// <param name="outputStream">The output stream to use. </param> public virtual bool NxInitCooking(NxUserAllocator allocator, NxUserOutputStream outputStream) { if (doSetFunctionPointers) { throw new System.NotSupportedException("Cannot call abstract base member"); } return(NxCookingInterface_NxInitCooking_INVOKE(ClassPointer, doSetFunctionPointers, (allocator != null ? allocator.ClassPointer : NullRef), (outputStream != null ? outputStream.ClassPointer : NullRef))); }
/// <summary></summary> public virtual NxUserAllocator getAllocator() { if (doSetFunctionPointers) { throw new System.NotSupportedException("Cannot call abstract base member"); } return(NxUserAllocator.GetClass(NxFoundationSDK_getAllocator_INVOKE(ClassPointer, doSetFunctionPointers))); }
private bool NxInitCooking_virtual(IntPtr allocator) { return(NxInitCooking(NxUserAllocator.GetClass(allocator))); }
private bool NxInitCooking_virtual(IntPtr allocator, IntPtr outputStream) { return(NxInitCooking(NxUserAllocator.GetClass(allocator), NxUserOutputStream.GetClass(outputStream))); }