MPSNNGradientState 생성자
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
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
- descriptor
- MTLTextureDescriptor
- 특성
적용 대상
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
- 특성