共用方式為


MTLRenderCommandEncoder_Extensions.SetStencilFrontReferenceValue 方法

定義

設定前後參考樣板值。

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public static void SetStencilFrontReferenceValue (this Metal.IMTLRenderCommandEncoder This, uint frontReferenceValue, uint backReferenceValue);
static member SetStencilFrontReferenceValue : Metal.IMTLRenderCommandEncoder * uint32 * uint32 -> unit

參數

This
IMTLRenderCommandEncoder

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

frontReferenceValue
UInt32
backReferenceValue
UInt32
屬性

適用於