Skip to content

ExecutorPixels

Namespace: E2E

public sealed record ExecutorPixels : IEquatable<ExecutorPixels>

Masked viewport pixels cleared for model input: the engine’s capture, sized for the model, and its proven mask count.

Inheritance: object

Implements: IEquatable<ExecutorPixels>

View source

ExecutorPixels(byte[], string, int, int, double, int)

Section titled “ExecutorPixels(byte[], string, int, int, double, int)”
public ExecutorPixels(byte[] Data, string MediaType, int Width, int Height, double Scale, int MaskedRegionCount)

Masked viewport pixels cleared for model input: the engine’s capture, sized for the model, and its proven mask count.

Parameters

Name Type Description
Data byte[] The encoded image.
MediaType string The media type of <code class=“paramref”>Data</code>.
Width int Width in image pixels.
Height int Height in image pixels.
Scale double Image pixels per viewport (CSS) pixel.
MaskedRegionCount int How many regions the engine covered.

View source

public byte[] Data { get; init; }

The encoded image.

Value: byte[]

View source

public int Height { get; init; }

Height in image pixels.

Value: int

View source

public int MaskedRegionCount { get; init; }

How many regions the engine covered.

Value: int

View source

public string MediaType { get; init; }

The media type of <code class=“paramref”>Data</code>.

Value: string

View source

public double Scale { get; init; }

Image pixels per viewport (CSS) pixel.

Value: double

View source

public int Width { get; init; }

Width in image pixels.

Value: int

View source