Поделиться через


MPSNNGradientState Конструкторы

Определение

Перегрузки

MPSNNGradientState(NSObjectFlag)
MPSNNGradientState(IMTLResource)
MPSNNGradientState(IMTLResource[])
MPSNNGradientState(IntPtr)
MPSNNGradientState(IMTLDevice, MTLTextureDescriptor)
MPSNNGradientState(IMTLDevice, MPSStateResourceList)
MPSNNGradientState(IMTLDevice, nuint)

MPSNNGradientState(NSObjectFlag)

protected MPSNNGradientState (Foundation.NSObjectFlag t);
new MetalPerformanceShaders.MPSNNGradientState : Foundation.NSObjectFlag -> MetalPerformanceShaders.MPSNNGradientState

Параметры

Применяется к

MPSNNGradientState(IMTLResource)

[Foundation.Export("initWithResource:")]
public MPSNNGradientState (Metal.IMTLResource resource);
new MetalPerformanceShaders.MPSNNGradientState : Metal.IMTLResource -> MetalPerformanceShaders.MPSNNGradientState

Параметры

resource
IMTLResource
Атрибуты

Применяется к

MPSNNGradientState(IMTLResource[])

[Foundation.Export("initWithResources:")]
public MPSNNGradientState (Metal.IMTLResource[] resources);
new MetalPerformanceShaders.MPSNNGradientState : Metal.IMTLResource[] -> MetalPerformanceShaders.MPSNNGradientState

Параметры

resources
IMTLResource[]
Атрибуты

Применяется к

MPSNNGradientState(IntPtr)

protected internal MPSNNGradientState (IntPtr handle);
new MetalPerformanceShaders.MPSNNGradientState : nativeint -> MetalPerformanceShaders.MPSNNGradientState

Параметры

handle
IntPtr

nativeint

Применяется к

MPSNNGradientState(IMTLDevice, MTLTextureDescriptor)

[Foundation.Export("initWithDevice:textureDescriptor:")]
public MPSNNGradientState (Metal.IMTLDevice device, Metal.MTLTextureDescriptor descriptor);
new MetalPerformanceShaders.MPSNNGradientState : Metal.IMTLDevice * Metal.MTLTextureDescriptor -> MetalPerformanceShaders.MPSNNGradientState

Параметры

device
IMTLDevice
Атрибуты

Применяется к

MPSNNGradientState(IMTLDevice, MPSStateResourceList)

[Foundation.Export("initWithDevice:resourceList:")]
public MPSNNGradientState (Metal.IMTLDevice device, MetalPerformanceShaders.MPSStateResourceList resourceList);
new MetalPerformanceShaders.MPSNNGradientState : Metal.IMTLDevice * MetalPerformanceShaders.MPSStateResourceList -> MetalPerformanceShaders.MPSNNGradientState

Параметры

device
IMTLDevice
resourceList
MPSStateResourceList
Атрибуты

Применяется к

MPSNNGradientState(IMTLDevice, nuint)

[Foundation.Export("initWithDevice:bufferSize:")]
public MPSNNGradientState (Metal.IMTLDevice device, nuint bufferSize);
new MetalPerformanceShaders.MPSNNGradientState : Metal.IMTLDevice * nuint -> MetalPerformanceShaders.MPSNNGradientState

Параметры

device
IMTLDevice
bufferSize
System.System.UIntPtr System.unativeint
Атрибуты

Применяется к