Package apple.coreimage.protocol
Interface CIImageProcessorOutput
-
public interface CIImageProcessorOutput
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull org.moe.natj.general.ptr.VoidPtrbaseAddress()The base address of the output buffer that the processor block can write output pixels to.longbytesPerRow()The bytes per row of the output buffer that the processor block can write to.longdigest()A 64-bit digest that uniquely describes the contents of the output of a processor.intformat()The pixel format of the output buffer that the processor block can write to.@Nullable MTLCommandBuffermetalCommandBuffer()Returns a MTLCommandBuffer that can be used for encoding commands (if rendering using Metal).@Nullable MTLTexturemetalTexture()A MTLTexture object that can be bound as output (if processing using Metal).@Nullable CVBufferRefpixelBuffer()A output CVPixelBuffer that the processor block can write to.CGRectregion()The rectangular region of the output image that the processor block must provide.@NotNull IOSurfaceRefsurface()An output IOSurface that the processor block can write to.
-
-
-
Method Detail
-
baseAddress
@NotNull @NotNull org.moe.natj.general.ptr.VoidPtr baseAddress()
The base address of the output buffer that the processor block can write output pixels to.
-
bytesPerRow
long bytesPerRow()
The bytes per row of the output buffer that the processor block can write to.
-
format
int format()
The pixel format of the output buffer that the processor block can write to.
-
metalCommandBuffer
@Nullable @Nullable MTLCommandBuffer metalCommandBuffer()
Returns a MTLCommandBuffer that can be used for encoding commands (if rendering using Metal).
-
metalTexture
@Nullable @Nullable MTLTexture metalTexture()
A MTLTexture object that can be bound as output (if processing using Metal).
-
pixelBuffer
@Nullable @Nullable CVBufferRef pixelBuffer()
A output CVPixelBuffer that the processor block can write to.
-
region
CGRect region()
The rectangular region of the output image that the processor block must provide.
-
surface
@NotNull @NotNull IOSurfaceRef surface()
An output IOSurface that the processor block can write to.
-
digest
long digest()
A 64-bit digest that uniquely describes the contents of the output of a processor. This digest will change if the graph up to and including the output of the processor changes in any way. API-Since: 16.0
-
-