IMTLDevice.CreateBuffer 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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
參數
- length
- System.System.UIntPtr System.unativeint
- options
- MTLResourceOptions
傳回
- 屬性
適用於
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
參數
- pointer
-
IntPtr
nativeint
- length
- System.System.UIntPtr System.unativeint
- options
- MTLResourceOptions
傳回
- 屬性