Share via


IMTLArgumentEncoder 인터페이스

정의

데이터를 인수 버퍼로 인코딩합니다.

[Foundation.Protocol(Name="MTLArgumentEncoder", WrapperType=typeof(Metal.MTLArgumentEncoderWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public interface IMTLArgumentEncoder : IDisposable, ObjCRuntime.INativeObject
type IMTLArgumentEncoder = interface
    interface INativeObject
    interface IDisposable
특성
구현

속성

Alignment

인코딩된 데이터의 바이트 맞춤을 가져옵니다.

Device

인코더에 대한 디바이스를 가져옵니다.

EncodedLength

인코딩된 리소스를 버퍼에 저장하는 데 필요한 바이트 수를 가져옵니다.

Handle

관리되지 않는 개체 표현에 대한 핸들(포인터)입니다.

(다음에서 상속됨 INativeObject)
Label

인코더에 대한 설명 레이블을 가져오거나 설정합니다.

메서드

CreateArgumentEncoder(nuint)

데이터를 인수 버퍼로 인코딩합니다.

GetConstantData(nuint)

버퍼에 지정된 index 의 상수에 대한 포인터를 반환합니다.

SetArgumentBuffer(IMTLBuffer, nuint)

인수를 인코딩할 대상 버퍼를 설정합니다.

SetArgumentBuffer(IMTLBuffer, nuint, nuint)

인수를 인코딩할 대상 버퍼를 설정합니다.

SetBuffer(IMTLBuffer, nuint, nuint)

인수 버퍼로 인코딩합니다 buffer .

SetBuffers(IMTLBuffer[], IntPtr, NSRange)

인수 버퍼로 인코딩합니다 buffers .

SetSamplerState(IMTLSamplerState, nuint)

인수 버퍼로 인코딩합니다 sampler .

SetSamplerStates(IMTLSamplerState[], NSRange)

제공된 samplers 를 인수 버퍼에 인코딩합니다.

SetTexture(IMTLTexture, nuint)

제공된 texture 를 인수 버퍼에 인코딩합니다.

SetTextures(IMTLTexture[], NSRange)

제공된 textures 를 인수 버퍼에 인코딩합니다.

확장 메서드

CreateArgumentEncoder(IMTLArgumentEncoder, nuint)

데이터를 인수 버퍼로 인코딩합니다.

SetBuffers(IMTLArgumentEncoder, IMTLBuffer[], nint[], NSRange)

인수 버퍼로 인코딩합니다 buffers .

SetIndirectCommandBuffer(IMTLArgumentEncoder, IMTLIndirectCommandBuffer, nuint)

데이터를 인수 버퍼로 인코딩합니다.

SetIndirectCommandBuffers(IMTLArgumentEncoder, IMTLIndirectCommandBuffer[], NSRange)

데이터를 인수 버퍼로 인코딩합니다.

SetRenderPipelineState(IMTLArgumentEncoder, IMTLRenderPipelineState, nuint)

데이터를 인수 버퍼로 인코딩합니다.

SetRenderPipelineStates(IMTLArgumentEncoder, IMTLRenderPipelineState[], NSRange)

데이터를 인수 버퍼로 인코딩합니다.

적용 대상