MPSRayIntersector 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
MPSRayIntersector(NSCoder) | |
MPSRayIntersector(NSObjectFlag) | |
MPSRayIntersector(IMTLDevice) | |
MPSRayIntersector(IntPtr) | |
MPSRayIntersector(NSCoder, IMTLDevice) |
MPSRayIntersector(NSCoder)
[Foundation.Export("initWithCoder:")]
[ObjCRuntime.DesignatedInitializer]
public MPSRayIntersector (Foundation.NSCoder coder);
new MetalPerformanceShaders.MPSRayIntersector : Foundation.NSCoder -> MetalPerformanceShaders.MPSRayIntersector
參數
- coder
- NSCoder
- 屬性
適用於
MPSRayIntersector(NSObjectFlag)
protected MPSRayIntersector (Foundation.NSObjectFlag t);
new MetalPerformanceShaders.MPSRayIntersector : Foundation.NSObjectFlag -> MetalPerformanceShaders.MPSRayIntersector
參數
適用於
MPSRayIntersector(IMTLDevice)
[Foundation.Export("initWithDevice:")]
[ObjCRuntime.DesignatedInitializer]
public MPSRayIntersector (Metal.IMTLDevice device);
new MetalPerformanceShaders.MPSRayIntersector : Metal.IMTLDevice -> MetalPerformanceShaders.MPSRayIntersector
參數
- device
- IMTLDevice
- 屬性
適用於
MPSRayIntersector(IntPtr)
protected internal MPSRayIntersector (IntPtr handle);
new MetalPerformanceShaders.MPSRayIntersector : nativeint -> MetalPerformanceShaders.MPSRayIntersector
參數
- handle
-
IntPtr
nativeint
適用於
MPSRayIntersector(NSCoder, IMTLDevice)
[Foundation.Export("initWithCoder:device:")]
[ObjCRuntime.DesignatedInitializer]
public MPSRayIntersector (Foundation.NSCoder aDecoder, Metal.IMTLDevice device);
new MetalPerformanceShaders.MPSRayIntersector : Foundation.NSCoder * Metal.IMTLDevice -> MetalPerformanceShaders.MPSRayIntersector
參數
- aDecoder
- NSCoder
- device
- IMTLDevice
- 屬性