xamarinmac
namespace Metal
{
    [Introduced(PlatformName.iOS, 8, 0, PlatformArchitecture.All, null)]
    [Introduced(PlatformName.MacOSX, 10, 11, PlatformArchitecture.All, null)]
    [Protocol(Name = "MTLFunction", WrapperType = typeof(MTLFunctionWrapper))]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "CreateArgumentEncoder", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(nuint) }, ReturnType = typeof(IMTLArgumentEncoder), Selector = "newArgumentEncoderWithBufferIndex:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "CreateArgumentEncoder", ParameterByRef = new[] { false, true }, ParameterType = new[] { typeof(nuint), typeof(MTLArgument) }, ReturnType = typeof(IMTLArgumentEncoder), Selector = "newArgumentEncoderWithBufferIndex:reflection:")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "device", IsProperty = true, IsRequired = true, IsStatic = false, Name = "Device", PropertyType = typeof(IMTLDevice), Selector = "device")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "functionType", IsProperty = true, IsRequired = true, IsStatic = false, Name = "FunctionType", PropertyType = typeof(MTLFunctionType), Selector = "functionType")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "vertexAttributes", IsProperty = true, IsRequired = true, IsStatic = false, Name = "VertexAttributes", PropertyType = typeof(MTLVertexAttribute[]), Selector = "vertexAttributes")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "name", IsProperty = true, IsRequired = true, IsStatic = false, Name = "Name", PropertyType = typeof(string), Selector = "name")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "patchType", IsProperty = true, IsRequired = false, IsStatic = false, Name = "PatchType", PropertyType = typeof(MTLPatchType), Selector = "patchType")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "patchControlPointCount", IsProperty = true, IsRequired = false, IsStatic = false, Name = "PatchControlPointCount", PropertyType = typeof(nint), Selector = "patchControlPointCount")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "stageInputAttributes", IsProperty = true, IsRequired = false, IsStatic = false, Name = "StageInputAttributes", PropertyType = typeof(MTLAttribute[]), Selector = "stageInputAttributes")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "functionConstantsDictionary", IsProperty = true, IsRequired = false, IsStatic = false, Name = "FunctionConstants", PropertyType = typeof(NSDictionary<NSString, MTLFunctionConstant>), Selector = "functionConstantsDictionary")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "label", IsProperty = true, IsRequired = false, IsStatic = false, Name = "Label", PropertyType = typeof(string), Selector = "label", SetterSelector = "setLabel:")]
    public interface IMTLFunction : INativeObject, IDisposable
    {
        [Preserve(Conditional = true)]
        MTLVertexAttribute![]! VertexAttributes
        {
            [Export("vertexAttributes")]
            get;
        }

    }
}
.NET 6.07.08.09.0
Information specific to xamarinmac
Assembly

Xamarin.Mac , 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

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