IMTLDevice.CreateBuffer 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.
Overloads
CreateBuffer(nuint, MTLResourceOptions) | |
CreateBuffer(IntPtr, nuint, MTLResourceOptions) |
CreateBuffer(nuint, MTLResourceOptions)
[Foundation.Export("newBufferWithLength:options:")]
[Foundation.Preserve(Conditional=true)]
public Metal.IMTLBuffer CreateBuffer (nuint length, Metal.MTLResourceOptions options);
abstract member CreateBuffer : nuint * Metal.MTLResourceOptions -> Metal.IMTLBuffer
Parameters
- length
- System.System.UIntPtr System.unativeint
- options
- MTLResourceOptions
Returns
- Attributes
Applies to
CreateBuffer(IntPtr, nuint, MTLResourceOptions)
[Foundation.Export("newBufferWithBytes:length:options:")]
[Foundation.Preserve(Conditional=true)]
public Metal.IMTLBuffer CreateBuffer (IntPtr pointer, nuint length, Metal.MTLResourceOptions options);
abstract member CreateBuffer : nativeint * nuint * Metal.MTLResourceOptions -> Metal.IMTLBuffer
Parameters
- pointer
-
IntPtr
nativeint
- length
- System.System.UIntPtr System.unativeint
- options
- MTLResourceOptions
Returns
- Attributes