Share via


IMTLResourceStateCommandEncoder Interface

Definition

This interface represents the Objective-C protocol MTLResourceStateCommandEncoder.

[Foundation.Protocol(Name="MTLResourceStateCommandEncoder", WrapperType=typeof(Metal.MTLResourceStateCommandEncoderWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="Update", ParameterByRef=new System.Boolean[] { false, false, false, false, false, false }, ParameterType=new System.Type[] { typeof(Metal.IMTLTexture), typeof(Metal.MTLSparseTextureMappingMode), typeof(System.IntPtr), typeof(System.IntPtr), typeof(System.IntPtr), typeof(System.UIntPtr) }, Selector="updateTextureMappings:mode:regions:mipLevels:slices:numRegions:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="Update", ParameterByRef=new System.Boolean[] { false, false, false, false, false }, ParameterType=new System.Type[] { typeof(Metal.IMTLTexture), typeof(Metal.MTLSparseTextureMappingMode), typeof(Metal.MTLRegion), typeof(System.UIntPtr), typeof(System.UIntPtr) }, Selector="updateTextureMapping:mode:region:mipLevel:slice:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="Update", ParameterByRef=new System.Boolean[] { false, false, false, false }, ParameterType=new System.Type[] { typeof(Metal.IMTLTexture), typeof(Metal.MTLSparseTextureMappingMode), typeof(Metal.IMTLBuffer), typeof(System.UIntPtr) }, Selector="updateTextureMapping:mode:indirectBuffer:indirectBufferOffset:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="Update", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Metal.IMTLFence) }, Selector="updateFence:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="Wait", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Metal.IMTLFence) }, Selector="waitForFence:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="MoveTextureMappings", ParameterByRef=new System.Boolean[] { false, false, false, false, false, false, false, false, false }, ParameterType=new System.Type[] { typeof(Metal.IMTLTexture), typeof(System.UIntPtr), typeof(System.UIntPtr), typeof(Metal.MTLOrigin), typeof(Metal.MTLSize), typeof(Metal.IMTLTexture), typeof(System.UIntPtr), typeof(System.UIntPtr), typeof(Metal.MTLOrigin) }, Selector="moveTextureMappingsFromTexture:sourceSlice:sourceLevel:sourceOrigin:sourceSize:toTexture:destinationSlice:destinationLevel:destinationOrigin:")]
public interface IMTLResourceStateCommandEncoder : IDisposable, Metal.IMTLCommandEncoder
[Foundation.Protocol(Name="MTLResourceStateCommandEncoder", WrapperType=typeof(Metal.MTLResourceStateCommandEncoderWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="Update", ParameterByRef=new System.Boolean[] { false, false, false, false, false, false }, ParameterType=new System.Type[] { typeof(Metal.IMTLTexture), typeof(Metal.MTLSparseTextureMappingMode), typeof(System.IntPtr), typeof(System.IntPtr), typeof(System.IntPtr), typeof(System.UIntPtr) }, Selector="updateTextureMappings:mode:regions:mipLevels:slices:numRegions:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="Update", ParameterByRef=new System.Boolean[] { false, false, false, false, false }, ParameterType=new System.Type[] { typeof(Metal.IMTLTexture), typeof(Metal.MTLSparseTextureMappingMode), typeof(Metal.MTLRegion), typeof(System.UIntPtr), typeof(System.UIntPtr) }, Selector="updateTextureMapping:mode:region:mipLevel:slice:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="Update", ParameterByRef=new System.Boolean[] { false, false, false, false }, ParameterType=new System.Type[] { typeof(Metal.IMTLTexture), typeof(Metal.MTLSparseTextureMappingMode), typeof(Metal.IMTLBuffer), typeof(System.UIntPtr) }, Selector="updateTextureMapping:mode:indirectBuffer:indirectBufferOffset:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="Update", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Metal.IMTLFence) }, Selector="updateFence:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="Wait", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Metal.IMTLFence) }, Selector="waitForFence:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="MoveTextureMappings", ParameterByRef=new System.Boolean[] { false, false, false, false, false, false, false, false, false }, ParameterType=new System.Type[] { typeof(Metal.IMTLTexture), typeof(System.UIntPtr), typeof(System.UIntPtr), typeof(Metal.MTLOrigin), typeof(Metal.MTLSize), typeof(Metal.IMTLTexture), typeof(System.UIntPtr), typeof(System.UIntPtr), typeof(Metal.MTLOrigin) }, Selector="moveTextureMappingsFromTexture:sourceSlice:sourceLevel:sourceOrigin:sourceSize:toTexture:destinationSlice:destinationLevel:destinationOrigin:")]
public interface IMTLResourceStateCommandEncoder : IDisposable, Metal.IMTLCommandEncoder
[<Foundation.Protocol(Name="MTLResourceStateCommandEncoder", WrapperType=typeof(Metal.MTLResourceStateCommandEncoderWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="Update", ParameterByRef=new System.Boolean[] { false, false, false, false, false, false }, ParameterType=new System.Type[] { typeof(Metal.IMTLTexture), typeof(Metal.MTLSparseTextureMappingMode), typeof(System.IntPtr), typeof(System.IntPtr), typeof(System.IntPtr), typeof(System.UIntPtr) }, Selector="updateTextureMappings:mode:regions:mipLevels:slices:numRegions:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="Update", ParameterByRef=new System.Boolean[] { false, false, false, false, false }, ParameterType=new System.Type[] { typeof(Metal.IMTLTexture), typeof(Metal.MTLSparseTextureMappingMode), typeof(Metal.MTLRegion), typeof(System.UIntPtr), typeof(System.UIntPtr) }, Selector="updateTextureMapping:mode:region:mipLevel:slice:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="Update", ParameterByRef=new System.Boolean[] { false, false, false, false }, ParameterType=new System.Type[] { typeof(Metal.IMTLTexture), typeof(Metal.MTLSparseTextureMappingMode), typeof(Metal.IMTLBuffer), typeof(System.UIntPtr) }, Selector="updateTextureMapping:mode:indirectBuffer:indirectBufferOffset:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="Update", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Metal.IMTLFence) }, Selector="updateFence:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="Wait", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Metal.IMTLFence) }, Selector="waitForFence:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="MoveTextureMappings", ParameterByRef=new System.Boolean[] { false, false, false, false, false, false, false, false, false }, ParameterType=new System.Type[] { typeof(Metal.IMTLTexture), typeof(System.UIntPtr), typeof(System.UIntPtr), typeof(Metal.MTLOrigin), typeof(Metal.MTLSize), typeof(Metal.IMTLTexture), typeof(System.UIntPtr), typeof(System.UIntPtr), typeof(Metal.MTLOrigin) }, Selector="moveTextureMappingsFromTexture:sourceSlice:sourceLevel:sourceOrigin:sourceSize:toTexture:destinationSlice:destinationLevel:destinationOrigin:")>]
type IMTLResourceStateCommandEncoder = interface
    interface INativeObject
    interface IDisposable
    interface IMTLCommandEncoder
[<Foundation.Protocol(Name="MTLResourceStateCommandEncoder", WrapperType=typeof(Metal.MTLResourceStateCommandEncoderWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="Update", ParameterByRef=new System.Boolean[] { false, false, false, false, false, false }, ParameterType=new System.Type[] { typeof(Metal.IMTLTexture), typeof(Metal.MTLSparseTextureMappingMode), typeof(System.IntPtr), typeof(System.IntPtr), typeof(System.IntPtr), typeof(System.UIntPtr) }, Selector="updateTextureMappings:mode:regions:mipLevels:slices:numRegions:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="Update", ParameterByRef=new System.Boolean[] { false, false, false, false, false }, ParameterType=new System.Type[] { typeof(Metal.IMTLTexture), typeof(Metal.MTLSparseTextureMappingMode), typeof(Metal.MTLRegion), typeof(System.UIntPtr), typeof(System.UIntPtr) }, Selector="updateTextureMapping:mode:region:mipLevel:slice:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="Update", ParameterByRef=new System.Boolean[] { false, false, false, false }, ParameterType=new System.Type[] { typeof(Metal.IMTLTexture), typeof(Metal.MTLSparseTextureMappingMode), typeof(Metal.IMTLBuffer), typeof(System.UIntPtr) }, Selector="updateTextureMapping:mode:indirectBuffer:indirectBufferOffset:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="Update", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Metal.IMTLFence) }, Selector="updateFence:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="Wait", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Metal.IMTLFence) }, Selector="waitForFence:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="MoveTextureMappings", ParameterByRef=new System.Boolean[] { false, false, false, false, false, false, false, false, false }, ParameterType=new System.Type[] { typeof(Metal.IMTLTexture), typeof(System.UIntPtr), typeof(System.UIntPtr), typeof(Metal.MTLOrigin), typeof(Metal.MTLSize), typeof(Metal.IMTLTexture), typeof(System.UIntPtr), typeof(System.UIntPtr), typeof(Metal.MTLOrigin) }, Selector="moveTextureMappingsFromTexture:sourceSlice:sourceLevel:sourceOrigin:sourceSize:toTexture:destinationSlice:destinationLevel:destinationOrigin:")>]
type IMTLResourceStateCommandEncoder = interface
    interface INativeObject
    interface IDisposable
    interface IMTLCommandEncoder
Attributes
Implements

Remarks

A class that implements this interface (and subclasses NSObject) will be exported to Objective-C as implementing the Objective-C protocol this interface represents.

A class may also implement members from this interface to implement members from the protocol.

Properties

Name Description
Device (Inherited from IMTLCommandEncoder)
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)
Label (Inherited from IMTLCommandEncoder)

Methods

Name Description
BarrierAfterQueueStages(MTLStages, MTLStages) (Inherited from IMTLCommandEncoder)
EndEncoding() (Inherited from IMTLCommandEncoder)
InsertDebugSignpost(String) (Inherited from IMTLCommandEncoder)
MoveTextureMappings(IMTLTexture, UIntPtr, UIntPtr, MTLOrigin, MTLSize, IMTLTexture, UIntPtr, UIntPtr, MTLOrigin)
PopDebugGroup() (Inherited from IMTLCommandEncoder)
PushDebugGroup(String) (Inherited from IMTLCommandEncoder)
Update(IMTLFence)
Update(IMTLTexture, MTLSparseTextureMappingMode, IMTLBuffer, UIntPtr)
Update(IMTLTexture, MTLSparseTextureMappingMode, IntPtr, IntPtr, IntPtr, UIntPtr)
Update(IMTLTexture, MTLSparseTextureMappingMode, MTLRegion, UIntPtr, UIntPtr)
Wait(IMTLFence)

Extension Methods

Name Description
MoveTextureMappings(IMTLResourceStateCommandEncoder, IMTLTexture, UIntPtr, UIntPtr, MTLOrigin, MTLSize, IMTLTexture, UIntPtr, UIntPtr, MTLOrigin)
Update(IMTLResourceStateCommandEncoder, IMTLFence)
Update(IMTLResourceStateCommandEncoder, IMTLTexture, MTLSparseTextureMappingMode, IMTLBuffer, UIntPtr)
Update(IMTLResourceStateCommandEncoder, IMTLTexture, MTLSparseTextureMappingMode, MTLRegion, UIntPtr, UIntPtr)
Update(IMTLResourceStateCommandEncoder, IMTLTexture, MTLSparseTextureMappingMode, MTLRegion[], UIntPtr[], UIntPtr[])
Update(IMTLResourceStateCommandEncoder, IMTLTexture, MTLSparseTextureMappingMode, IntPtr, IntPtr, IntPtr, UIntPtr)
Wait(IMTLResourceStateCommandEncoder, IMTLFence)
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)

Applies to