Table of Contents

Struct RenderBackendCreateInfo

Namespace
BSGameLib.Game.Rendering
Assembly
BSGameLib.Game.dll

Metadata required to initialize a backend for a given window/surface.

public readonly record struct RenderBackendCreateInfo : IEquatable<RenderBackendCreateInfo>
Implements
Inherited Members

Constructors

RenderBackendCreateInfo(nint, int, int, bool)

Metadata required to initialize a backend for a given window/surface.

public RenderBackendCreateInfo(nint WindowHandle, int Width, int Height, bool EnableVSync)

Parameters

WindowHandle nint
Width int
Height int
EnableVSync bool

Properties

EnableVSync

public bool EnableVSync { get; init; }

Property Value

bool

Height

public int Height { get; init; }

Property Value

int

Width

public int Width { get; init; }

Property Value

int

WindowHandle

public nint WindowHandle { get; init; }

Property Value

nint