xamarintvos
namespace Metal
{
[Introduced(PlatformName.iOS, 8, 0, PlatformArchitecture.All, null)]
[Introduced(PlatformName.MacOSX, 10, 11, PlatformArchitecture.All, null)]
[Protocol(Name = "MTLComputeCommandEncoder", WrapperType = typeof(MTLComputeCommandEncoderWrapper))]
[ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "SetComputePipelineState", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(IMTLComputePipelineState) }, Selector = "setComputePipelineState:")]
[ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "SetBuffer", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(IMTLBuffer), typeof(nuint), typeof(nuint) }, Selector = "setBuffer:offset:atIndex:")]
[ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "SetTexture", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(IMTLTexture), typeof(nuint) }, Selector = "setTexture:atIndex:")]
[ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "SetSamplerState", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(IMTLSamplerState), typeof(nuint) }, Selector = "setSamplerState:atIndex:")]
[ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "SetSamplerState", ParameterByRef = new[] { false, false, false, false }, ParameterType = new[] { typeof(IMTLSamplerState), typeof(float), typeof(float), typeof(nuint) }, Selector = "setSamplerState:lodMinClamp:lodMaxClamp:atIndex:")]
[ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "SetThreadgroupMemoryLength", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(nuint), typeof(nuint) }, Selector = "setThreadgroupMemoryLength:atIndex:")]
[ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "DispatchThreadgroups", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(MTLSize), typeof(MTLSize) }, Selector = "dispatchThreadgroups:threadsPerThreadgroup:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DispatchThreadgroups", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(IMTLBuffer), typeof(nuint), typeof(MTLSize) }, Selector = "dispatchThreadgroupsWithIndirectBuffer:indirectBufferOffset:threadsPerThreadgroup:")]
[ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "SetBuffers", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(IMTLBuffer[]), typeof(IntPtr), typeof(NSRange) }, Selector = "setBuffers:offsets:withRange:")]
[ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "SetSamplerStates", ParameterByRef = new[] { false, false, false, false }, ParameterType = new[] { typeof(IMTLSamplerState[]), typeof(IntPtr), typeof(IntPtr), typeof(NSRange) }, Selector = "setSamplerStates:lodMinClamps:lodMaxClamps:withRange:")]
[ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "SetSamplerStates", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(IMTLSamplerState[]), typeof(NSRange) }, Selector = "setSamplerStates:withRange:")]
[ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "SetTextures", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(IMTLTexture[]), typeof(NSRange) }, Selector = "setTextures:withRange:")]
[ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "SetBufferOffset", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(nuint), typeof(nuint) }, Selector = "setBufferOffset:atIndex:")]
[ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "SetBytes", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(IntPtr), typeof(nuint), typeof(nuint) }, Selector = "setBytes:length:atIndex:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "SetStage", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(MTLRegion) }, Selector = "setStageInRegion:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "SetStageInRegion", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(IMTLBuffer), typeof(nuint) }, Selector = "setStageInRegionWithIndirectBuffer:indirectBufferOffset:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "Update", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(IMTLFence) }, Selector = "updateFence:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "Wait", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(IMTLFence) }, Selector = "waitForFence:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "UseResource", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(IMTLResource), typeof(MTLResourceUsage) }, Selector = "useResource:usage:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "UseResources", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(IMTLResource[]), typeof(nuint), typeof(MTLResourceUsage) }, Selector = "useResources:count:usage:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "UseHeap", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(IMTLHeap) }, Selector = "useHeap:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "UseHeaps", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(IMTLHeap[]), typeof(nuint) }, Selector = "useHeaps:count:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "MemoryBarrier", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(MTLBarrierScope) }, Selector = "memoryBarrierWithScope:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "MemoryBarrier", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(IMTLResource[]), typeof(nuint) }, Selector = "memoryBarrierWithResources:count:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ExecuteCommands", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(IMTLIndirectCommandBuffer), typeof(NSRange) }, Selector = "executeCommandsInBuffer:withRange:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ExecuteCommands", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(IMTLIndirectCommandBuffer), typeof(IMTLBuffer), typeof(nuint) }, Selector = "executeCommandsInBuffer:indirectBuffer:indirectBufferOffset:")]
[ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "dispatchType", IsProperty = true, IsRequired = false, IsStatic = false, Name = "DispatchType", PropertyType = typeof(MTLDispatchType), Selector = "dispatchType")]
public interface IMTLComputeCommandEncoder : IMTLCommandEncoder, INativeObject, IDisposable
{
[BindingImpl(BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[Export("setTextures:withRange:")]
[Preserve(Conditional = true)]
void SetTextures(IMTLTexture![]! textures, NSRange range);
}
}
.NET | 6.07.08.09.0 |
---|---|
Information specific to xamarintvos | |
Assembly | Xamarin.TVOS , Version=0.0.0.0, PublicKeyToken=84e04ff9cfb79065 |
Referencing | The API is automatically referenced. |
Platform Restrictions | This framework does not have platform annotations. |