Edytuj

Udostępnij za pośrednictwem


MTLDevice_Extensions.GetHeapBufferSizeAndAlignWithLength Method

Definition

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static Metal.MTLSizeAndAlign GetHeapBufferSizeAndAlignWithLength (this Metal.IMTLDevice This, nuint length, Metal.MTLResourceOptions options);
static member GetHeapBufferSizeAndAlignWithLength : Metal.IMTLDevice * nuint * Metal.MTLResourceOptions -> Metal.MTLSizeAndAlign

Parameters

This
IMTLDevice

The instance on which this method operates.

length
System.System.UIntPtr System.unativeint

Returns

Attributes

Applies to