Type Property

textureTarget

The key for an OpenGL texture target.

Declaration

static let textureTarget: CIImageOption

Discussion

The value for this key must be an NSNumber object containing a supported OpenGL texture target constant, either GL_TEXTURE_2D or GL_TEXTURE_RECTANGLE_ARB. You may only use this key when initializing an image using the init(texture:size:flipped:options:) method.

See Also

Image Dictionary Keys

static let colorSpace: CIImageOption

The key for a color space.

static let properties: CIImageOption

The key for image metadata properties.

static let applyOrientationProperty: CIImageOption

The key for transforming an image according to orientation metadata.

static let textureFormat: CIImageOption

The key for an OpenGL texture format.

Deprecated
static let nearestSampling: CIImageOption

The key into the properties dictionary to indicate whether to use nearest-neighbor sampling.

static let auxiliaryDepth: CIImageOption

The key into the properties dictionary indicating whether to return an auxiliary depth image.

static let auxiliaryDisparity: CIImageOption

The key into the properties dictionary indicating whether to return an auxiliary disparity image.

static let auxiliaryPortraitEffectsMatte: CIImageOption

The key into the properties dictionary indicating whether to return auxiliary portrait effects matte.