다음을 통해 공유


MTLTextureDescriptor.CreateTextureBufferDescriptor 메서드

정의

[Foundation.Export("textureBufferDescriptorWithPixelFormat:width:resourceOptions:usage:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static Metal.MTLTextureDescriptor CreateTextureBufferDescriptor (Metal.MTLPixelFormat pixelFormat, nuint width, Metal.MTLResourceOptions resourceOptions, Metal.MTLTextureUsage usage);
static member CreateTextureBufferDescriptor : Metal.MTLPixelFormat * nuint * Metal.MTLResourceOptions * Metal.MTLTextureUsage -> Metal.MTLTextureDescriptor

매개 변수

pixelFormat
MTLPixelFormat
width
System.System.UIntPtr System.unativeint
resourceOptions
MTLResourceOptions

반환

특성

적용 대상