Düzenle

Aracılığıyla paylaş


IMTLBuffer.CreateTexture(MTLTextureDescriptor, nuint, nuint) Method

Definition

[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

Parameters

offset
System.System.UIntPtr System.unativeint
bytesPerRow
System.System.UIntPtr System.unativeint

Returns

Attributes

Applies to