Table of Contents

Struct OpenGlTextureFrame

Namespace
Maplibre.NativeFfi
Assembly
Maplibre.NativeFfi.dll

The OpenGL texture of an acquired frame.

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

Remarks

See mln_open_gl_texture_frame in the C API reference.

Constructors

OpenGlTextureFrame(uint, uint, double, uint, uint, uint)

The OpenGL texture of an acquired frame.

public OpenGlTextureFrame(uint Width, uint Height, double ScaleFactor, uint Slot, uint Texture, uint Target)

Parameters

Width uint
Height uint
ScaleFactor double
Slot uint

The texture's index in the descriptor's textures.

Texture uint
Target uint

Remarks

See mln_open_gl_texture_frame in the C API reference.

Properties

Height

public uint Height { get; init; }

Property Value

uint

ScaleFactor

public double ScaleFactor { get; init; }

Property Value

double

Slot

The texture's index in the descriptor's textures.

public uint Slot { get; init; }

Property Value

uint

Target

public uint Target { get; init; }

Property Value

uint

Texture

public uint Texture { get; init; }

Property Value

uint

Width

public uint Width { get; init; }

Property Value

uint