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
属性

适用于