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

返回

属性

适用于