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
返回
- 属性