MPSImageDescriptor.GetImageDescriptor Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetImageDescriptor(MPSImageFeatureChannelFormat, nuint, nuint, nuint) |
Returns a MPSImageDescriptor object for the specified values. |
GetImageDescriptor(MPSImageFeatureChannelFormat, nuint, nuint, nuint, nuint, MTLTextureUsage) |
GetImageDescriptor(MPSImageFeatureChannelFormat, nuint, nuint, nuint)
Returns a MPSImageDescriptor object for the specified values.
[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
Parameters
- channelFormat
- MPSImageFeatureChannelFormat
- width
- System.System.UIntPtr System.unativeint
- height
- System.System.UIntPtr System.unativeint
- featureChannels
- System.System.UIntPtr System.unativeint
Returns
- Attributes
Applies to
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
Parameters
- 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
Returns
- Attributes