ICIImageProcessorOutput.GetTemporarySurface 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.
Gets a temporary surface for use as scratch storage during image processing.
[Foundation.Export("temporarySurfaceWithIdentifier:format:width:height:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual IOSurface.IOSurface? GetTemporarySurface(string identifier, CoreVideo.CVPixelFormatType format, UIntPtr width, UIntPtr height);
[<Foundation.Export("temporarySurfaceWithIdentifier:format:width:height:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetTemporarySurface : string * CoreVideo.CVPixelFormatType * unativeint * unativeint -> IOSurface.IOSurface
override this.GetTemporarySurface : string * CoreVideo.CVPixelFormatType * unativeint * unativeint -> IOSurface.IOSurface
Parameters
- identifier
- String
A name that uniquely identifies the temporary surface during the processor invocation.
- format
- CVPixelFormatType
The pixel format for the surface.
- width
-
UIntPtr
unativeint
The width of the surface, in pixels.
- height
-
UIntPtr
unativeint
The height of the surface, in pixels.
Returns
A temporary surface, or null if one could not be created.
- Attributes
Remarks
The returned surface is valid only for the duration of the current image processor invocation.