MTLRenderCommandEncoder_Extensions.SetTessellationFactorBuffer 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
设置分割缓冲区的偏移量和步幅值。
[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
参数
此方法在其上运行的实例。
- buffer
- IMTLBuffer
- offset
- System.System.UIntPtr System.unativeint
- instanceStride
- System.System.UIntPtr System.unativeint
- 属性