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
| Name | Description |
|---|---|
| GetImageDescriptor(MPSImageFeatureChannelFormat, UIntPtr, UIntPtr, UIntPtr) |
Returns a MPSImageDescriptor object for the specified values. |
| GetImageDescriptor(MPSImageFeatureChannelFormat, UIntPtr, UIntPtr, UIntPtr, UIntPtr, MTLTextureUsage) |
GetImageDescriptor(MPSImageFeatureChannelFormat, UIntPtr, UIntPtr, UIntPtr)
Returns a MPSImageDescriptor object for the specified values.
[Foundation.Export("imageDescriptorWithChannelFormat:width:height:featureChannels:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShaders.MPSImageDescriptor GetImageDescriptor(MetalPerformanceShaders.MPSImageFeatureChannelFormat channelFormat, UIntPtr width, UIntPtr height, UIntPtr featureChannels);
[<Foundation.Export("imageDescriptorWithChannelFormat:width:height:featureChannels:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member GetImageDescriptor : MetalPerformanceShaders.MPSImageFeatureChannelFormat * unativeint * unativeint * unativeint -> MetalPerformanceShaders.MPSImageDescriptor
Parameters
- channelFormat
- MPSImageFeatureChannelFormat
- width
-
UIntPtr
unativeint
- height
-
UIntPtr
unativeint
- featureChannels
-
UIntPtr
unativeint
Returns
- Attributes
Applies to
GetImageDescriptor(MPSImageFeatureChannelFormat, UIntPtr, UIntPtr, UIntPtr, UIntPtr, MTLTextureUsage)
[Foundation.Export("imageDescriptorWithChannelFormat:width:height:featureChannels:numberOfImages:usage:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShaders.MPSImageDescriptor GetImageDescriptor(MetalPerformanceShaders.MPSImageFeatureChannelFormat channelFormat, UIntPtr width, UIntPtr height, UIntPtr featureChannels, UIntPtr numberOfImages, Metal.MTLTextureUsage usage);
[<Foundation.Export("imageDescriptorWithChannelFormat:width:height:featureChannels:numberOfImages:usage:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member GetImageDescriptor : MetalPerformanceShaders.MPSImageFeatureChannelFormat * unativeint * unativeint * unativeint * unativeint * Metal.MTLTextureUsage -> MetalPerformanceShaders.MPSImageDescriptor
Parameters
- channelFormat
- MPSImageFeatureChannelFormat
- width
-
UIntPtr
unativeint
- height
-
UIntPtr
unativeint
- featureChannels
-
UIntPtr
unativeint
- numberOfImages
-
UIntPtr
unativeint
- usage
- MTLTextureUsage
Returns
- Attributes