IMTLResourceStateCommandEncoder Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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) |