xamarinios
namespace Metal
{
    [Introduced(PlatformName.iOS, 8, 0, PlatformArchitecture.All, null)]
    [Introduced(PlatformName.MacOSX, 10, 11, PlatformArchitecture.All, null)]
    [Protocol(Name = "MTLBuffer", WrapperType = typeof(MTLBufferWrapper))]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "RemoveAllDebugMarkers", Selector = "removeAllDebugMarkers")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "AddDebugMarker", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(string), typeof(NSRange) }, Selector = "addDebugMarker:range:")]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "CreateTexture", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(MTLTextureDescriptor), typeof(nuint), typeof(nuint) }, ReturnType = typeof(IMTLTexture), Selector = "newTextureWithDescriptor:offset:bytesPerRow:")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "length", IsProperty = true, IsRequired = true, IsStatic = false, Name = "Length", PropertyType = typeof(nuint), Selector = "length")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "contents", IsProperty = true, IsRequired = true, IsStatic = false, Name = "Contents", PropertyType = typeof(IntPtr), Selector = "contents")]
    public interface IMTLBuffer : IMTLResource, INativeObject, IDisposable
    {
        [BindingImpl(BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
        [Export("newTextureWithDescriptor:offset:bytesPerRow:")]
        [Introduced(PlatformName.MacOSX, 10, 13, PlatformArchitecture.All, null)]
        [Introduced(PlatformName.MacOSX, 10, 13, PlatformArchitecture.All, null)]
        [Preserve(Conditional = true)]
        [return: Release]
        IMTLTexture? CreateTexture(MTLTextureDescriptor! descriptor, nuint offset, nuint bytesPerRow);
    }
}
Xamarin iOS 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

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