MPSImage Class
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.
An image that may contain more than 4 channels. (For example, an image in a layer of a convolutional neural network.)
[Foundation.Register("MPSImage", true)]
public class MPSImage : Foundation.NSObject
[<Foundation.Register("MPSImage", true)>]
type MPSImage = class
inherit NSObject
- Inheritance
- Derived
- Attributes
Constructors
| Name | Description |
|---|---|
| MPSImage(IMTLDevice, MPSImageDescriptor) |
Creates a new MPSImage for the specified |
| MPSImage(IMTLTexture, UIntPtr) |
Creates a new MPSImage from the specified |
| MPSImage(MPSImage, NSRange, UIntPtr) | |
| MPSImage(NativeHandle) |
A constructor used when creating managed representations of unmanaged objects. Called by the runtime. |
| MPSImage(NSObjectFlag) |
Constructor to call on derived classes to skip initialization and merely allocate the object. |
Properties
| Name | Description |
|---|---|
| AccessibilityAttributedUserInputLabels | (Inherited from NSObject) |
| AccessibilityRespondsToUserInteraction | (Inherited from NSObject) |
| AccessibilityTextualContext | (Inherited from NSObject) |
| AccessibilityUserInputLabels | (Inherited from NSObject) |
| BatchRepresentation | |
| Class | (Inherited from NSObject) |
| ClassHandle |
The Objective-C class handle for this class. |
| DebugDescription | (Inherited from NSObject) |
| DefaultAllocator | |
| Description | (Inherited from NSObject) |
| Device |
Gets the Metal device for the image. |
| ExposedBindings | (Inherited from NSObject) |
| FeatureChannelFormat | |
| FeatureChannels |
Gets the number of feature channels for the image. |
| Handle |
Handle (pointer) to the unmanaged object representation. (Inherited from NSObject) |
| Height |
Gets the height of the image. |
| ImageType | |
| IsDirectBinding | (Inherited from NSObject) |
| IsProxy | (Inherited from NSObject) |
| Label |
Gets or sets the image object's label. |
| NumberOfImages |
Gets the number of images in a batch of images for processing. |
| Parent | |
| PixelFormat |
Gets pixel format of the image texture. |
| PixelSize |
Gets the number of bytes that are between the start of each pixel and the start of the next sequential pixel. (The stride for one pixel, in bytes.) |
| Precision |
Gets the number of bits of precision for each feature channel. |
| ResourceSize | |
| RetainCount | (Inherited from NSObject) |
| Self | (Inherited from NSObject) |
| Superclass | (Inherited from NSObject) |
| SuperHandle |
Handle used to represent the methods in the base class for this NSObject. (Inherited from NSObject) |
| Texture |
Gets the underlying texture for the image. |
| TextureType |
Gets the type of the underlying texture for the image. |
| Usage |
Gets the intended use of the image's underlying texture. |
| Width |
Gets the height of the image. |
| Zone | (Inherited from NSObject) |