共用方式為


MTLRenderCommandEncoder_Extensions.SetTessellationFactorBuffer 方法

定義

設定鑲嵌緩衝區的位移和步幅值。

[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, 12, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static void SetTessellationFactorBuffer (this Metal.IMTLRenderCommandEncoder This, Metal.IMTLBuffer buffer, nuint offset, nuint instanceStride);
static member SetTessellationFactorBuffer : Metal.IMTLRenderCommandEncoder * Metal.IMTLBuffer * nuint * nuint -> unit

參數

This
IMTLRenderCommandEncoder

這個方法運作所在的 實例。

buffer
IMTLBuffer
offset
System.System.UIntPtr System.unativeint
instanceStride
System.System.UIntPtr System.unativeint
屬性

適用於