xamarinios
namespace Metal
{
    [Introduced(PlatformName.MacOSX, 10, 13, PlatformArchitecture.All, null)]
    [Introduced(PlatformName.iOS, 11, 0, PlatformArchitecture.All, null)]
    [Introduced(PlatformName.TvOS, 11, 0, PlatformArchitecture.All, null)]
    [Protocol(Name = "MTLArgumentEncoder", WrapperType = typeof(MTLArgumentEncoderWrapper))]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "SetArgumentBuffer", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(IMTLBuffer), typeof(nuint) }, Selector = "setArgumentBuffer:offset:")]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "SetArgumentBuffer", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(IMTLBuffer), typeof(nuint), typeof(nuint) }, Selector = "setArgumentBuffer:startOffset:arrayElement:")]
    [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 = "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 = "SetTexture", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(IMTLTexture), typeof(nuint) }, Selector = "setTexture:atIndex:")]
    [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 = "SetSamplerState", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(IMTLSamplerState), typeof(nuint) }, Selector = "setSamplerState:atIndex:")]
    [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 = false, IsStatic = false, Name = "SetRenderPipelineState", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(IMTLRenderPipelineState), typeof(nuint) }, Selector = "setRenderPipelineState:atIndex:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "SetRenderPipelineStates", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(IMTLRenderPipelineState[]), typeof(NSRange) }, Selector = "setRenderPipelineStates:withRange:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "SetIndirectCommandBuffer", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(IMTLIndirectCommandBuffer), typeof(nuint) }, Selector = "setIndirectCommandBuffer:atIndex:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "SetIndirectCommandBuffers", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(IMTLIndirectCommandBuffer[]), typeof(NSRange) }, Selector = "setIndirectCommandBuffers:withRange:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "SetComputePipelineState", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(IMTLComputePipelineState), typeof(nuint) }, Selector = "setComputePipelineState:atIndex:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "SetComputePipelineStates", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(IMTLComputePipelineState[]), typeof(NSRange) }, Selector = "setComputePipelineStates:withRange:")]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "GetConstantData", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(nuint) }, ReturnType = typeof(IntPtr), Selector = "constantDataAtIndex:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "CreateArgumentEncoder", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(nuint) }, ReturnType = typeof(IMTLArgumentEncoder), Selector = "newArgumentEncoderForBufferAtIndex:")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "device", IsProperty = true, IsRequired = true, IsStatic = false, Name = "Device", PropertyType = typeof(IMTLDevice), Selector = "device")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "encodedLength", IsProperty = true, IsRequired = true, IsStatic = false, Name = "EncodedLength", PropertyType = typeof(nuint), Selector = "encodedLength")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "alignment", IsProperty = true, IsRequired = true, IsStatic = false, Name = "Alignment", PropertyType = typeof(nuint), Selector = "alignment")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "label", IsProperty = true, IsRequired = true, IsStatic = false, Name = "Label", PropertyType = typeof(string), Selector = "label", SetterSelector = "setLabel:")]
    [Unavailable(PlatformName.WatchOS, PlatformArchitecture.All, null)]
    public interface IMTLArgumentEncoder : INativeObject, IDisposable
    {
        [BindingImpl(BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
        [Export("setSamplerState:atIndex:")]
        [Preserve(Conditional = true)]
        void SetSamplerState(IMTLSamplerState? sampler, nuint index);
    }
}
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.

  • Built-in API
  • Package-provided API

12/28/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙