IMTLBuffer.CreateTexture(MTLTextureDescriptor, nuint, nuint) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
[Foundation.Export("newTextureWithDescriptor:offset:bytesPerRow:")]
[Foundation.Preserve(Conditional=true)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public Metal.IMTLTexture CreateTexture (Metal.MTLTextureDescriptor descriptor, nuint offset, nuint bytesPerRow);
abstract member CreateTexture : Metal.MTLTextureDescriptor * nuint * nuint -> Metal.IMTLTexture
参数
- descriptor
- MTLTextureDescriptor
- offset
- System.System.UIntPtr System.unativeint
- bytesPerRow
- System.System.UIntPtr System.unativeint
返回
- 属性