다음을 통해 공유


IMTLDevice.CreateBuffer 메서드

정의

오버로드

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

반환

특성

적용 대상

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

반환

특성

적용 대상