xamarinmac
namespace Metal
{
    [Introduced(PlatformName.iOS, 8, 0, PlatformArchitecture.All, null)]
    [Introduced(PlatformName.MacOSX, 10, 11, PlatformArchitecture.All, null)]
    [Protocol(Name = "MTLBlitCommandEncoder", WrapperType = typeof(MTLBlitCommandEncoderWrapper))]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "Synchronize", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(IMTLResource) }, Selector = "synchronizeResource:")]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "Synchronize", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(IMTLTexture), typeof(nuint), typeof(nuint) }, Selector = "synchronizeTexture:slice:level:")]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "CopyFromTexture", ParameterByRef = new[] { false, false, false, false, false, false, false, false, false }, ParameterType = new[] { typeof(IMTLTexture), typeof(nuint), typeof(nuint), typeof(MTLOrigin), typeof(MTLSize), typeof(IMTLTexture), typeof(nuint), typeof(nuint), typeof(MTLOrigin) }, Selector = "copyFromTexture:sourceSlice:sourceLevel:sourceOrigin:sourceSize:toTexture:destinationSlice:destinationLevel:destinationOrigin:")]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "CopyFromBuffer", ParameterByRef = new[] { false, false, false, false, false, false, false, false, false }, ParameterType = new[] { typeof(IMTLBuffer), typeof(nuint), typeof(nuint), typeof(nuint), typeof(MTLSize), typeof(IMTLTexture), typeof(nuint), typeof(nuint), typeof(MTLOrigin) }, Selector = "copyFromBuffer:sourceOffset:sourceBytesPerRow:sourceBytesPerImage:sourceSize:toTexture:destinationSlice:destinationLevel:destinationOrigin:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "CopyFromBuffer", ParameterByRef = new[] { false, false, false, false, false, false, false, false, false, false }, ParameterType = new[] { typeof(IMTLBuffer), typeof(nuint), typeof(nuint), typeof(nuint), typeof(MTLSize), typeof(IMTLTexture), typeof(nuint), typeof(nuint), typeof(MTLOrigin), typeof(MTLBlitOption) }, Selector = "copyFromBuffer:sourceOffset:sourceBytesPerRow:sourceBytesPerImage:sourceSize:toTexture:destinationSlice:destinationLevel:destinationOrigin:options:")]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "CopyFromTexture", ParameterByRef = new[] { false, false, false, false, false, false, false, false, false }, ParameterType = new[] { typeof(IMTLTexture), typeof(nuint), typeof(nuint), typeof(MTLOrigin), typeof(MTLSize), typeof(IMTLBuffer), typeof(nuint), typeof(nuint), typeof(nuint) }, Selector = "copyFromTexture:sourceSlice:sourceLevel:sourceOrigin:sourceSize:toBuffer:destinationOffset:destinationBytesPerRow:destinationBytesPerImage:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "CopyFromTexture", ParameterByRef = new[] { false, false, false, false, false, false, false, false, false, false }, ParameterType = new[] { typeof(IMTLTexture), typeof(nuint), typeof(nuint), typeof(MTLOrigin), typeof(MTLSize), typeof(IMTLBuffer), typeof(nuint), typeof(nuint), typeof(nuint), typeof(MTLBlitOption) }, Selector = "copyFromTexture:sourceSlice:sourceLevel:sourceOrigin:sourceSize:toBuffer:destinationOffset:destinationBytesPerRow:destinationBytesPerImage:options:")]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "GenerateMipmapsForTexture", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(IMTLTexture) }, Selector = "generateMipmapsForTexture:")]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "FillBuffer", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(IMTLBuffer), typeof(NSRange), typeof(byte) }, Selector = "fillBuffer:range:value:")]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "CopyFromBuffer", ParameterByRef = new[] { false, false, false, false, false }, ParameterType = new[] { typeof(IMTLBuffer), typeof(nuint), typeof(IMTLBuffer), typeof(nuint), typeof(nuint) }, Selector = "copyFromBuffer:sourceOffset:toBuffer:destinationOffset:size:")]
    [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 = "OptimizeContentsForGpuAccess", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(IMTLTexture) }, Selector = "optimizeContentsForGPUAccess:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "OptimizeContentsForGpuAccess", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(IMTLTexture), typeof(nuint), typeof(nuint) }, Selector = "optimizeContentsForGPUAccess:slice:level:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "OptimizeContentsForCpuAccess", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(IMTLTexture) }, Selector = "optimizeContentsForCPUAccess:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "OptimizeContentsForCpuAccess", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(IMTLTexture), typeof(nuint), typeof(nuint) }, Selector = "optimizeContentsForCPUAccess:slice:level:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ResetCommands", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(IMTLIndirectCommandBuffer), typeof(NSRange) }, Selector = "resetCommandsInBuffer:withRange:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "Copy", ParameterByRef = new[] { false, false, false, false }, ParameterType = new[] { typeof(IMTLIndirectCommandBuffer), typeof(NSRange), typeof(IMTLIndirectCommandBuffer), typeof(nuint) }, Selector = "copyIndirectCommandBuffer:sourceRange:destination:destinationIndex:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "Optimize", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(IMTLIndirectCommandBuffer), typeof(NSRange) }, Selector = "optimizeIndirectCommandBuffer:withRange:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "Copy", ParameterByRef = new[] { false, false, false, false, false, false, false, false }, ParameterType = new[] { typeof(IMTLTexture), typeof(nuint), typeof(nuint), typeof(IMTLTexture), typeof(nuint), typeof(nuint), typeof(nuint), typeof(nuint) }, Selector = "copyFromTexture:sourceSlice:sourceLevel:toTexture:destinationSlice:destinationLevel:sliceCount:levelCount:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "Copy", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(IMTLTexture), typeof(IMTLTexture) }, Selector = "copyFromTexture:toTexture:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "SampleCounters", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(MTLCounterSampleBuffer), typeof(nuint), typeof(bool) }, Selector = "sampleCountersInBuffer:atSampleIndex:withBarrier:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ResolveCounters", ParameterByRef = new[] { false, false, false, false }, ParameterType = new[] { typeof(MTLCounterSampleBuffer), typeof(NSRange), typeof(IMTLBuffer), typeof(nuint) }, Selector = "resolveCounters:inRange:destinationBuffer:destinationOffset:")]
    public interface IMTLBlitCommandEncoder : IMTLCommandEncoder, INativeObject, IDisposable
    {
        [BindingImpl(BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
        [Export("synchronizeTexture:slice:level:")]
        [Preserve(Conditional = true)]
        void Synchronize(IMTLTexture! texture, nuint slice, nuint level);
    }
}
Xamarin macOS 0.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/04/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙