KernelAPI reference
Class ScreenCapture
Namespace: MicroEngine.Core
Assembly: MicroEngine.dll
Guide: Game lifecycle and time
Builds the image the player sees from the two views, as the platforms compose a frame.
public static class ScreenCaptureInheritance
Methods
Compose(PixelImage, PixelImage?, (int Width, int Height), RectF, Color, SamplerDescription)
The window of screen pixels: letterbox (opaque), the opaque
world scaled into frame with upscale’s magnification filter,
then the premultiplied ui (window-sized, or null) over everything.
public static PixelImage Compose(PixelImage world, PixelImage? ui, (int Width, int Height) screen, RectF frame, Color letterbox, SamplerDescription upscale)Parameters
world PixelImage
ui PixelImage?
screen (int Width, int Height)
frame RectF
letterbox Color
upscale SamplerDescription
Returns
Exceptions
The screen size is not positive.