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
返回
- 属性