Simple3D
Search Results for

    Show / Hide Table of Contents

    Class RenderFrame

    Owned rendering snapshot. Pixel and picking storage remains valid across subsequent renders.

    Inheritance
    object
    RenderFrame
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Simple3D.Core
    Assembly: Simple3D.Core.dll
    Syntax
    public sealed class RenderFrame

    Properties

    | Edit this page View Source

    Height

    Height in physical pixels.

    Declaration
    public int Height { get; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    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>
    | Edit this page View Source

    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>
    | Edit this page View Source

    Width

    Width in physical pixels.

    Declaration
    public int Width { get; }
    Property Value
    Type Description
    int

    Methods

    | Edit this page View Source

    Pick(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
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX