Edytuj

Udostępnij za pośrednictwem


MPSState.GetResource(nuint, Boolean) Method

Definition

[Foundation.Export("resourceAtIndex:allocateMemory:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 3, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 3, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, 4, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public virtual Metal.IMTLResource GetResource (nuint index, bool allocateMemory);
abstract member GetResource : nuint * bool -> Metal.IMTLResource
override this.GetResource : nuint * bool -> Metal.IMTLResource

Parameters

index
System.System.UIntPtr System.unativeint
allocateMemory
Boolean

Returns

Attributes

Applies to