xamarinios
namespace Metal
{
[Introduced(PlatformName.MacOSX, 10, 14, PlatformArchitecture.All, null)]
[Introduced(PlatformName.iOS, 12, 0, PlatformArchitecture.All, null)]
[Protocol(Name = "MTLIndirectRenderCommand", WrapperType = typeof(MTLIndirectRenderCommandWrapper))]
[ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "Reset", Selector = "reset")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "SetRenderPipelineState", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(IMTLRenderPipelineState) }, Selector = "setRenderPipelineState:")]
[ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "SetVertexBuffer", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(IMTLBuffer), typeof(nuint), typeof(nuint) }, Selector = "setVertexBuffer:offset:atIndex:")]
[ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "SetFragmentBuffer", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(IMTLBuffer), typeof(nuint), typeof(nuint) }, Selector = "setFragmentBuffer:offset:atIndex:")]
[ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "DrawPatches", ParameterByRef = new[] { false, false, false, false, false, false, false, false, false, false }, ParameterType = new[] { typeof(nuint), typeof(nuint), typeof(nuint), typeof(IMTLBuffer), typeof(nuint), typeof(nuint), typeof(nuint), typeof(IMTLBuffer), typeof(nuint), typeof(nuint) }, Selector = "drawPatches:patchStart:patchCount:patchIndexBuffer:patchIndexBufferOffset:instanceCount:baseInstance:tessellationFactorBuffer:tessellationFactorBufferOffset:tessellationFactorBufferInstanceStride:")]
[ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "DrawIndexedPatches", ParameterByRef = new[] { false, false, false, false, false, false, false, false, false, false, false, false }, ParameterType = new[] { typeof(nuint), typeof(nuint), typeof(nuint), typeof(IMTLBuffer), typeof(nuint), typeof(IMTLBuffer), typeof(nuint), typeof(nuint), typeof(nuint), typeof(IMTLBuffer), typeof(nuint), typeof(nuint) }, Selector = "drawIndexedPatches:patchStart:patchCount:patchIndexBuffer:patchIndexBufferOffset:controlPointIndexBuffer:controlPointIndexBufferOffset:instanceCount:baseInstance:tessellationFactorBuffer:tessellationFactorBufferOffset:tessellationFactorBufferInstanceStride:")]
[ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "DrawPrimitives", ParameterByRef = new[] { false, false, false, false, false }, ParameterType = new[] { typeof(MTLPrimitiveType), typeof(nuint), typeof(nuint), typeof(nuint), typeof(nuint) }, Selector = "drawPrimitives:vertexStart:vertexCount:instanceCount:baseInstance:")]
[ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "DrawIndexedPrimitives", ParameterByRef = new[] { false, false, false, false, false, false, false, false }, ParameterType = new[] { typeof(MTLPrimitiveType), typeof(nuint), typeof(MTLIndexType), typeof(IMTLBuffer), typeof(nuint), typeof(nuint), typeof(nint), typeof(nuint) }, Selector = "drawIndexedPrimitives:indexCount:indexType:indexBuffer:indexBufferOffset:instanceCount:baseVertex:baseInstance:")]
public interface IMTLIndirectRenderCommand : INativeObject, IDisposable
{
[BindingImpl(BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[Export("drawPrimitives:vertexStart:vertexCount:instanceCount:baseInstance:")]
[Preserve(Conditional = true)]
void DrawPrimitives(MTLPrimitiveType primitiveType, nuint vertexStart, nuint vertexCount, nuint instanceCount, nuint baseInstance);
}
}
Xamarin iOS | 0.0 |
---|---|
Xamarin macOS | 0.0 |
Xamarin tvOS | 0.0 |
Information specific to xamarinios | |
Assembly | Xamarin.iOS , Version=0.0.0.0, PublicKeyToken=84e04ff9cfb79065 |
Referencing | The API is automatically referenced. |
Platform Restrictions | This framework does not have platform annotations. |