Szerkesztés

Megosztás a következőn keresztül:


IMTLRenderCommandEncoder Interface

Definition

System protocol for encoding render commands and state into a buffer.

[Foundation.Protocol(Name="MTLRenderCommandEncoder", WrapperType=typeof(Metal.MTLRenderCommandEncoderWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public interface IMTLRenderCommandEncoder : IDisposable, Metal.IMTLCommandEncoder
type IMTLRenderCommandEncoder = interface
    interface INativeObject
    interface IDisposable
    interface IMTLCommandEncoder
Attributes
Implements

Properties

Device (Inherited from IMTLCommandEncoder)
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)
Label (Inherited from IMTLCommandEncoder)

Methods

DrawIndexedPrimitives(MTLPrimitiveType, nuint, MTLIndexType, IMTLBuffer, nuint, nuint)
DrawIndexedPrimitives(MTLPrimitiveType, nuint, MTLIndexType, IMTLBuffer, nuint)
DrawPrimitives(MTLPrimitiveType, nuint, nuint, nuint)
DrawPrimitives(MTLPrimitiveType, nuint, nuint)
EndEncoding() (Inherited from IMTLCommandEncoder)
InsertDebugSignpost(String) (Inherited from IMTLCommandEncoder)
PopDebugGroup() (Inherited from IMTLCommandEncoder)
PushDebugGroup(String) (Inherited from IMTLCommandEncoder)
SetBlendColor(Single, Single, Single, Single)
SetCullMode(MTLCullMode)
SetDepthBias(Single, Single, Single)
SetDepthStencilState(IMTLDepthStencilState)
SetFragmentBuffer(IMTLBuffer, nuint, nuint)
SetFragmentBufferOffset(nuint, nuint)
SetFragmentBuffers(IMTLBuffer, IntPtr, NSRange)
SetFragmentBytes(IntPtr, nuint, nuint)
SetFragmentSamplerState(IMTLSamplerState, nuint)
SetFragmentSamplerState(IMTLSamplerState, Single, Single, nuint)
SetFragmentSamplerStates(IMTLSamplerState[], IntPtr, IntPtr, NSRange)
SetFragmentSamplerStates(IMTLSamplerState[], NSRange)
SetFragmentTexture(IMTLTexture, nuint)
SetFragmentTextures(IMTLTexture[], NSRange)
SetFrontFacingWinding(MTLWinding)
SetRenderPipelineState(IMTLRenderPipelineState)
SetScissorRect(MTLScissorRect)
SetStencilReferenceValue(UInt32)
SetTriangleFillMode(MTLTriangleFillMode)
SetVertexBuffer(IMTLBuffer, nuint, nuint)
SetVertexBufferOffset(nuint, nuint)
SetVertexBuffers(IMTLBuffer[], IntPtr, NSRange)
SetVertexBytes(IntPtr, nuint, nuint)
SetVertexSamplerState(IMTLSamplerState, nuint)
SetVertexSamplerState(IMTLSamplerState, Single, Single, nuint)
SetVertexSamplerStates(IMTLSamplerState[], IntPtr, IntPtr, NSRange)
SetVertexSamplerStates(IMTLSamplerState[], NSRange)
SetVertexTexture(IMTLTexture, nuint)
SetVertexTextures(IMTLTexture[], NSRange)
SetViewport(MTLViewport)
SetVisibilityResultMode(MTLVisibilityResultMode, nuint)

Extension Methods

SetScissorRects(IMTLRenderCommandEncoder, MTLScissorRect[])
SetViewports(IMTLRenderCommandEncoder, MTLViewport[])
DispatchThreadsPerTile(IMTLRenderCommandEncoder, MTLSize)
DrawIndexedPatches(IMTLRenderCommandEncoder, nuint, IMTLBuffer, nuint, IMTLBuffer, nuint, IMTLBuffer, nuint)
DrawIndexedPatches(IMTLRenderCommandEncoder, nuint, nuint, nuint, IMTLBuffer, nuint, IMTLBuffer, nuint, nuint, nuint)
DrawIndexedPrimitives(IMTLRenderCommandEncoder, MTLPrimitiveType, MTLIndexType, IMTLBuffer, nuint, IMTLBuffer, nuint)
DrawIndexedPrimitives(IMTLRenderCommandEncoder, MTLPrimitiveType, nuint, MTLIndexType, IMTLBuffer, nuint, nuint, nint, nuint)
DrawPatches(IMTLRenderCommandEncoder, nuint, IMTLBuffer, nuint, IMTLBuffer, nuint)
DrawPatches(IMTLRenderCommandEncoder, nuint, nuint, nuint, IMTLBuffer, nuint, nuint, nuint)
DrawPrimitives(IMTLRenderCommandEncoder, MTLPrimitiveType, IMTLBuffer, nuint)

Draws a range of primitives.

DrawPrimitives(IMTLRenderCommandEncoder, MTLPrimitiveType, nuint, nuint, nuint, nuint)

Draws a range of primitives.

ExecuteCommands(IMTLRenderCommandEncoder, IMTLIndirectCommandBuffer, NSRange)
ExecuteCommands(IMTLRenderCommandEncoder, IMTLIndirectCommandBuffer, IMTLBuffer, nuint)
GetTileHeight(IMTLRenderCommandEncoder)
GetTileWidth(IMTLRenderCommandEncoder)
MemoryBarrier(IMTLRenderCommandEncoder, IMTLResource[], nuint, MTLRenderStages, MTLRenderStages)
MemoryBarrier(IMTLRenderCommandEncoder, MTLBarrierScope, MTLRenderStages, MTLRenderStages)
SetColorStoreAction(IMTLRenderCommandEncoder, MTLStoreAction, nuint)

Sets a value that controls how color results are handled after a rendering pass.

SetColorStoreActionOptions(IMTLRenderCommandEncoder, MTLStoreActionOptions, nuint)

Sets the store action options on the color attachment at the specified index.

SetDepthClipMode(IMTLRenderCommandEncoder, MTLDepthClipMode)

Sets a value that controls how clipped values are handled.

SetDepthStoreAction(IMTLRenderCommandEncoder, MTLStoreAction)

Sets a value that controls how depth results are handled after a rendering pass.

SetDepthStoreActionOptions(IMTLRenderCommandEncoder, MTLStoreActionOptions)

Sets the store action options on the depth attachment.

SetScissorRects(IMTLRenderCommandEncoder, IntPtr, nuint)
SetStencilFrontReferenceValue(IMTLRenderCommandEncoder, UInt32, UInt32)

Sets the front and back reference stencil values.

SetStencilStoreAction(IMTLRenderCommandEncoder, MTLStoreAction)

Sets a value that controls how stencil results are handled after a rendering pass.

SetStencilStoreActionOptions(IMTLRenderCommandEncoder, MTLStoreActionOptions)

Sets the store action options on the stencil attachment.

SetTessellationFactorBuffer(IMTLRenderCommandEncoder, IMTLBuffer, nuint, nuint)

Sets the offset and stride value for a tessellation buffer.

SetTessellationFactorScale(IMTLRenderCommandEncoder, Single)

Sets the offset and stride value for a tessellation buffer.

SetThreadgroupMemoryLength(IMTLRenderCommandEncoder, nuint, nuint, nuint)
SetTileBuffer(IMTLRenderCommandEncoder, IMTLBuffer, nuint, nuint)
SetTileBufferOffset(IMTLRenderCommandEncoder, nuint, nuint)
SetTileBuffers(IMTLRenderCommandEncoder, IMTLBuffer[], IntPtr, NSRange)
SetTileBytes(IMTLRenderCommandEncoder, IntPtr, nuint, nuint)
SetTileSamplerState(IMTLRenderCommandEncoder, IMTLSamplerState, nuint)
SetTileSamplerState(IMTLRenderCommandEncoder, IMTLSamplerState, Single, Single, nuint)
SetTileSamplerStates(IMTLRenderCommandEncoder, IMTLSamplerState[], NSRange)
SetTileSamplerStates(IMTLRenderCommandEncoder, IMTLSamplerState[], IntPtr, IntPtr, NSRange)
SetTileTexture(IMTLRenderCommandEncoder, IMTLTexture, nuint)
SetTileTextures(IMTLRenderCommandEncoder, IMTLTexture[], NSRange)
SetViewports(IMTLRenderCommandEncoder, IntPtr, nuint)
TextureBarrier(IMTLRenderCommandEncoder)
Update(IMTLRenderCommandEncoder, IMTLFence, MTLRenderStages)

Captures all GPU work up to the current fence.

UseHeap(IMTLRenderCommandEncoder, IMTLHeap)

Marks the specified heap as usable by a render pass.

UseHeaps(IMTLRenderCommandEncoder, IMTLHeap[], nuint)

Marks the specified heaps as usable by a render pass.

UseResource(IMTLRenderCommandEncoder, IMTLResource, MTLResourceUsage)

Marks the specified resource as usable by a render pass.

UseResources(IMTLRenderCommandEncoder, IMTLResource[], nuint, MTLResourceUsage)

Marks the specified resources as usable by a render pass.

Wait(IMTLRenderCommandEncoder, IMTLFence, MTLRenderStages)

Prevents additional GPU work by the encoder until the fence is reached.

Applies to