次の方法で共有


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

戻り値

属性

適用対象