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
WidthuintHeightuintScaleFactordoubleSlotuintThe texture's index in the descriptor's
textures.TextureuintTargetuint
Remarks
See mln_open_gl_texture_frame in the C API reference.
Properties
Height
public uint Height { get; init; }
Property Value
ScaleFactor
public double ScaleFactor { get; init; }
Property Value
Slot
The texture's index in the descriptor's textures.
public uint Slot { get; init; }
Property Value
Target
public uint Target { get; init; }
Property Value
Texture
public uint Texture { get; init; }
Property Value
Width
public uint Width { get; init; }