xamarinios
namespace Metal
{
    [Introduced(PlatformName.MacCatalyst, 13, 4, PlatformArchitecture.None, null)]
    [Introduced(PlatformName.iOS, 13, 0, PlatformArchitecture.All, null)]
    [Introduced(PlatformName.MacOSX, 10, 15, 4, PlatformArchitecture.All, null)]
    [Protocol(Name = "MTLRasterizationRateMap", WrapperType = typeof(MTLRasterizationRateMapWrapper))]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "CopyParameterData", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(IMTLBuffer), typeof(nuint) }, Selector = "copyParameterDataToBuffer:offset:")]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "GetPhysicalSize", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(nuint) }, ReturnType = typeof(MTLSize), Selector = "physicalSizeForLayer:")]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "MapScreenToPhysicalCoordinates", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(MTLCoordinate2D), typeof(nuint) }, ReturnType = typeof(MTLCoordinate2D), Selector = "mapScreenToPhysicalCoordinates:forLayer:")]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "MapPhysicalToScreenCoordinates", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(MTLCoordinate2D), typeof(nuint) }, ReturnType = typeof(MTLCoordinate2D), Selector = "mapPhysicalToScreenCoordinates:forLayer:")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "device", IsProperty = true, IsRequired = true, IsStatic = false, Name = "Device", PropertyType = typeof(IMTLDevice), Selector = "device")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "label", IsProperty = true, IsRequired = true, IsStatic = false, Name = "Label", PropertyType = typeof(string), Selector = "label")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "screenSize", IsProperty = true, IsRequired = true, IsStatic = false, Name = "ScreenSize", PropertyType = typeof(MTLSize), Selector = "screenSize")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "physicalGranularity", IsProperty = true, IsRequired = true, IsStatic = false, Name = "PhysicalGranularity", PropertyType = typeof(MTLSize), Selector = "physicalGranularity")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "layerCount", IsProperty = true, IsRequired = true, IsStatic = false, Name = "LayerCount", PropertyType = typeof(nuint), Selector = "layerCount")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "parameterBufferSizeAndAlign", IsProperty = true, IsRequired = true, IsStatic = false, Name = "ParameterBufferSizeAndAlign", PropertyType = typeof(MTLSizeAndAlign), Selector = "parameterBufferSizeAndAlign")]
    [Unavailable(PlatformName.TvOS, PlatformArchitecture.All, null)]
    public interface IMTLRasterizationRateMap : INativeObject, IDisposable
    {
        [BindingImpl(BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
        [Export("physicalSizeForLayer:")]
        [Preserve(Conditional = true)]
        MTLSize GetPhysicalSize(nuint layerIndex);
    }
}
Xamarin iOS 0.0
Xamarin macOS 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

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