Share via


MPSImageDescriptor.GetImageDescriptor Method

Definition

Overloads

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

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

width
UIntPtr

unativeint

height
UIntPtr

unativeint

featureChannels
UIntPtr

unativeint

numberOfImages
UIntPtr

unativeint

Returns

Attributes

Applies to