The number of images for batch processing.
SDKs
- iOS 10.0+
- macOS 10.13+
- Mac Catalyst 13.0+
- tvOS 10.0+
Framework
- Metal Performance Shaders
Declaration
var numberOfImages: Int { get }
The number of images for batch processing.
SDKs
Framework
var numberOfImages: Int { get }
var device: MTLDevice
The device on which the image will be used.
var width: Int
The formal width of the image, in pixels.
var height: Int
The formal height of the image, in pixels.
var feature Channels: Int
The number of feature channels per pixel.
var texture Type: MTLTexture Type
The type of the underlying texture, typically MTLTexture
or MTLTexture
.
enum MTLTexture Type
The dimension of each image, including whether multiple images are arranged into an array or a cube.
var pixel Format: MTLPixel Format
The pixel format of the underlying texture.
enum MTLPixel Format
The data formats that describe the organization and characteristics of individual pixels in a texture.
var precision: Int
The number of bits of numeric precision available for each feature channel.
var usage: MTLTexture Usage
The intended usage of the underlying texture.
struct MTLTexture Usage
An enumeration for the various options that determine how you can use a texture.
var pixel Size: Int
The number of bytes from the first byte of one pixel to the first byte of the next pixel, in storage order. (Includes padding.)
var texture: MTLTexture
The underlying texture.
protocol MTLTexture
A resource that holds formatted image data.
var label: String?
A string to help identify this object.