MPSImageDescriptor.GetImageDescriptor 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
GetImageDescriptor(MPSImageFeatureChannelFormat, nuint, nuint, nuint) |
傳 MPSImageDescriptor 回指定值的 物件。 |
GetImageDescriptor(MPSImageFeatureChannelFormat, nuint, nuint, nuint, nuint, MTLTextureUsage) |
GetImageDescriptor(MPSImageFeatureChannelFormat, nuint, nuint, nuint)
傳 MPSImageDescriptor 回指定值的 物件。
[Foundation.Export("imageDescriptorWithChannelFormat:width:height:featureChannels:")]
public static MetalPerformanceShaders.MPSImageDescriptor GetImageDescriptor (MetalPerformanceShaders.MPSImageFeatureChannelFormat channelFormat, nuint width, nuint height, nuint featureChannels);
static member GetImageDescriptor : MetalPerformanceShaders.MPSImageFeatureChannelFormat * nuint * nuint * nuint -> MetalPerformanceShaders.MPSImageDescriptor
參數
- channelFormat
- MPSImageFeatureChannelFormat
- width
- System.System.UIntPtr System.unativeint
- height
- System.System.UIntPtr System.unativeint
- featureChannels
- System.System.UIntPtr System.unativeint
傳回
- 屬性
適用於
GetImageDescriptor(MPSImageFeatureChannelFormat, nuint, nuint, nuint, nuint, MTLTextureUsage)
[Foundation.Export("imageDescriptorWithChannelFormat:width:height:featureChannels:numberOfImages:usage:")]
public static MetalPerformanceShaders.MPSImageDescriptor GetImageDescriptor (MetalPerformanceShaders.MPSImageFeatureChannelFormat channelFormat, nuint width, nuint height, nuint featureChannels, nuint numberOfImages, Metal.MTLTextureUsage usage);
static member GetImageDescriptor : MetalPerformanceShaders.MPSImageFeatureChannelFormat * nuint * nuint * nuint * nuint * Metal.MTLTextureUsage -> MetalPerformanceShaders.MPSImageDescriptor
參數
- channelFormat
- MPSImageFeatureChannelFormat
- width
- System.System.UIntPtr System.unativeint
- height
- System.System.UIntPtr System.unativeint
- featureChannels
- System.System.UIntPtr System.unativeint
- numberOfImages
- System.System.UIntPtr System.unativeint
- usage
- MTLTextureUsage
傳回
- 屬性