Edit

Share via


IMTLDevice.CreateBufferNoCopy Method

Definition

[Foundation.Export("newBufferWithBytesNoCopy:length:options:deallocator:")]
[Foundation.Preserve(Conditional=true)]
public Metal.IMTLBuffer CreateBufferNoCopy (IntPtr pointer, nuint length, Metal.MTLResourceOptions options, Metal.MTLDeallocator deallocator);
abstract member CreateBufferNoCopy : nativeint * nuint * Metal.MTLResourceOptions * Metal.MTLDeallocator -> Metal.IMTLBuffer

Parameters

pointer
IntPtr

nativeint

length
System.System.UIntPtr System.unativeint
deallocator
MTLDeallocator

Returns

Attributes

Applies to