共用方式為


MTLRenderCommandEncoder_Extensions.SetTessellationFactorScale 方法

定義

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

[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 SetTessellationFactorScale (this Metal.IMTLRenderCommandEncoder This, float scale);
static member SetTessellationFactorScale : Metal.IMTLRenderCommandEncoder * single -> unit

參數

This
IMTLRenderCommandEncoder

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

scale
Single
屬性

適用於