共用方式為


MPSImageDescriptor.GetImageDescriptor 方法

定義

多載

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

參數

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

參數

width
System.System.UIntPtr System.unativeint
height
System.System.UIntPtr System.unativeint
featureChannels
System.System.UIntPtr System.unativeint
numberOfImages
System.System.UIntPtr System.unativeint

傳回

屬性

適用於