IMTLDevice.CreateBufferNoCopy Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[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
- options
- MTLResourceOptions
- deallocator
- MTLDeallocator
Returns
- Attributes