Class RenderFrame
Owned rendering snapshot. Pixel and picking storage remains valid across subsequent renders.
Inherited Members
Namespace: Simple3D.Core
Assembly: Simple3D.Core.dll
Syntax
public sealed class RenderFrame
Properties
| Edit this page View SourceHeight
Height in physical pixels.
Declaration
public int Height { get; }
Property Value
| Type | Description |
|---|---|
| int |
Labels
Projected labels inside the viewport and in front of the near plane. Labels overlay geometry and are not depth tested.
Declaration
public IReadOnlyList<ProjectedLabel> Labels { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<ProjectedLabel> |
Pixels
Row-major opaque pixels packed as 0xAARRGGBB. On little-endian machines bytes are BGRA; stride is Width * 4.
Declaration
public ReadOnlyMemory<uint> Pixels { get; }
Property Value
| Type | Description |
|---|---|
| ReadOnlyMemory<uint> |
Width
Width in physical pixels.
Declaration
public int Width { get; }
Property Value
| Type | Description |
|---|---|
| int |
Methods
| Edit this page View SourcePick(int, int)
Returns the visible leaf shape at a physical pixel, or null for background or coordinates outside the frame.
Declaration
public Shape? Pick(int x, int y)
Parameters
| Type | Name | Description |
|---|---|---|
| int | x | |
| int | y |
Returns
| Type | Description |
|---|---|
| Shape |