IMTLArgumentEncoder Interfaz

Definición

Codifica los datos en búferes de argumentos.

[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
Atributos
Implementaciones

Propiedades

Alignment

Obtiene la alineación de bytes para los datos codificados.

Device

Obtiene el dispositivo para el codificador.

EncodedLength

Obtiene el número de bytes necesarios para almacenar los recursos codificados en el búfer.

Handle

Identificador (puntero) a la representación del objeto no administrado.

(Heredado de INativeObject)
Label

Obtiene o establece una etiqueta descriptiva para el codificador.

Métodos

CreateArgumentEncoder(nuint)

Codifica los datos en búferes de argumentos.

GetConstantData(nuint)

Devuelve un puntero a la constante en el especificado index en el búfer.

SetArgumentBuffer(IMTLBuffer, nuint)

Establece el búfer de destino en el que se codificarán los argumentos.

SetArgumentBuffer(IMTLBuffer, nuint, nuint)

Establece el búfer de destino en el que se codificarán los argumentos.

SetBuffer(IMTLBuffer, nuint, nuint)

Codifica en el búfer de argumentos buffer .

SetBuffers(IMTLBuffer[], IntPtr, NSRange)

Codifica en el búfer de argumentos buffers .

SetSamplerState(IMTLSamplerState, nuint)

Codifica en el búfer de argumentos sampler .

SetSamplerStates(IMTLSamplerState[], NSRange)

Codifica el proporcionado samplers en el búfer de argumentos.

SetTexture(IMTLTexture, nuint)

Codifica el proporcionado texture en el búfer de argumentos.

SetTextures(IMTLTexture[], NSRange)

Codifica el proporcionado textures en el búfer de argumentos.

Métodos de extensión

CreateArgumentEncoder(IMTLArgumentEncoder, nuint)

Codifica los datos en búferes de argumentos.

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

Codifica en el búfer de argumentos buffers .

SetIndirectCommandBuffer(IMTLArgumentEncoder, IMTLIndirectCommandBuffer, nuint)

Codifica los datos en búferes de argumentos.

SetIndirectCommandBuffers(IMTLArgumentEncoder, IMTLIndirectCommandBuffer[], NSRange)

Codifica los datos en búferes de argumentos.

SetRenderPipelineState(IMTLArgumentEncoder, IMTLRenderPipelineState, nuint)

Codifica los datos en búferes de argumentos.

SetRenderPipelineStates(IMTLArgumentEncoder, IMTLRenderPipelineState[], NSRange)

Codifica los datos en búferes de argumentos.

Se aplica a