mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-28 14:08:25 +01:00
SOURCE DUMP v1
This commit is contained in:
parent
bd62d51ec9
commit
fb20299e9d
1 changed files with 768360 additions and 0 deletions
582
brutal.imgui/Brutal.ImGui/Generated/Structs/ImFontGlyph.gen.cs
Normal file
582
brutal.imgui/Brutal.ImGui/Generated/Structs/ImFontGlyph.gen.cs
Normal file
|
|
@ -0,0 +1,582 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace Brutal.ImGuiApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// A single font glyph (code point + coordinates within in ImFontAtlas + offset)
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L187">imgui.h:187</see>
|
||||
/// <br/><c>struct ImFontGlyph</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Forward declarations: ImDrawList, ImFontAtlas layer
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 44)]
|
||||
public partial struct ImFontGlyph
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Flag to indicate glyph is colored and should generally ignore tinting (make it usable with no shift on
|
||||
/// little-endian as this is used in loops)
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3649">imgui.h:3649</see>
|
||||
/// <br/><c>unsigned int Colored : 1</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Hold rendering data for one glyph.
|
||||
/// (Note: some language parsers may fail to convert the bitfield members, in this case maybe drop store a single u32 or we can rework this)
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[FieldOffset(0)]
|
||||
public uint Colored;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Flag to indicate glyph has no visible pixels (e.g. space). Allow early out when rendering.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3650">imgui.h:3650</see>
|
||||
/// <br/><c>unsigned int Visible : 1</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Hold rendering data for one glyph.
|
||||
/// (Note: some language parsers may fail to convert the bitfield members, in this case maybe drop store a single u32 or we can rework this)
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[FieldOffset(0)]
|
||||
public uint Visible;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Index of source in parent font
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3651">imgui.h:3651</see>
|
||||
/// <br/><c>unsigned int SourceIdx : 4</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Hold rendering data for one glyph.
|
||||
/// (Note: some language parsers may fail to convert the bitfield members, in this case maybe drop store a single u32 or we can rework this)
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[FieldOffset(0)]
|
||||
public uint SourceIdx;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// 0x0000..0x10FFFF
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3652">imgui.h:3652</see>
|
||||
/// <br/><c>unsigned int Codepoint : 26</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Hold rendering data for one glyph.
|
||||
/// (Note: some language parsers may fail to convert the bitfield members, in this case maybe drop store a single u32 or we can rework this)
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[FieldOffset(0)]
|
||||
public uint Codepoint;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Horizontal distance to advance cursor/layout position.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3653">imgui.h:3653</see>
|
||||
/// <br/><c>float AdvanceX</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Hold rendering data for one glyph.
|
||||
/// (Note: some language parsers may fail to convert the bitfield members, in this case maybe drop store a single u32 or we can rework this)
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[FieldOffset(4)]
|
||||
public float AdvanceX;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Glyph corners. Offsets from current cursor/layout position.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3654">imgui.h:3654</see>
|
||||
/// <br/><c>float X0</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Hold rendering data for one glyph.
|
||||
/// (Note: some language parsers may fail to convert the bitfield members, in this case maybe drop store a single u32 or we can rework this)
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[FieldOffset(8)]
|
||||
public float X0;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Glyph corners. Offsets from current cursor/layout position.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3654">imgui.h:3654</see>
|
||||
/// <br/><c>float X0, Y0</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Hold rendering data for one glyph.
|
||||
/// (Note: some language parsers may fail to convert the bitfield members, in this case maybe drop store a single u32 or we can rework this)
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[FieldOffset(12)]
|
||||
public float Y0;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Glyph corners. Offsets from current cursor/layout position.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3654">imgui.h:3654</see>
|
||||
/// <br/><c>float X0, Y0, X1</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Hold rendering data for one glyph.
|
||||
/// (Note: some language parsers may fail to convert the bitfield members, in this case maybe drop store a single u32 or we can rework this)
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[FieldOffset(16)]
|
||||
public float X1;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Glyph corners. Offsets from current cursor/layout position.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3654">imgui.h:3654</see>
|
||||
/// <br/><c>float X0, Y0, X1, Y1</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Hold rendering data for one glyph.
|
||||
/// (Note: some language parsers may fail to convert the bitfield members, in this case maybe drop store a single u32 or we can rework this)
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[FieldOffset(20)]
|
||||
public float Y1;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Texture coordinates for the current value of ImFontAtlas->TexRef. Cached equivalent of calling
|
||||
/// GetCustomRect() with PackId.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3655">imgui.h:3655</see>
|
||||
/// <br/><c>float U0</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Hold rendering data for one glyph.
|
||||
/// (Note: some language parsers may fail to convert the bitfield members, in this case maybe drop store a single u32 or we can rework this)
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[FieldOffset(24)]
|
||||
public float U0;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Texture coordinates for the current value of ImFontAtlas->TexRef. Cached equivalent of calling
|
||||
/// GetCustomRect() with PackId.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3655">imgui.h:3655</see>
|
||||
/// <br/><c>float U0, V0</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Hold rendering data for one glyph.
|
||||
/// (Note: some language parsers may fail to convert the bitfield members, in this case maybe drop store a single u32 or we can rework this)
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[FieldOffset(28)]
|
||||
public float V0;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Texture coordinates for the current value of ImFontAtlas->TexRef. Cached equivalent of calling
|
||||
/// GetCustomRect() with PackId.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3655">imgui.h:3655</see>
|
||||
/// <br/><c>float U0, V0, U1</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Hold rendering data for one glyph.
|
||||
/// (Note: some language parsers may fail to convert the bitfield members, in this case maybe drop store a single u32 or we can rework this)
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[FieldOffset(32)]
|
||||
public float U1;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Texture coordinates for the current value of ImFontAtlas->TexRef. Cached equivalent of calling
|
||||
/// GetCustomRect() with PackId.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3655">imgui.h:3655</see>
|
||||
/// <br/><c>float U0, V0, U1, V1</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Hold rendering data for one glyph.
|
||||
/// (Note: some language parsers may fail to convert the bitfield members, in this case maybe drop store a single u32 or we can rework this)
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[FieldOffset(36)]
|
||||
public float V1;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// [Internal] ImFontAtlasRectId value (FIXME: Cold data, could be moved elsewhere?)
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3656">imgui.h:3656</see>
|
||||
/// <br/><c>int PackId</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Hold rendering data for one glyph.
|
||||
/// (Note: some language parsers may fail to convert the bitfield members, in this case maybe drop store a single u32 or we can rework this)
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[FieldOffset(40)]
|
||||
public int PackId;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// A single font glyph (code point + coordinates within in ImFontAtlas + offset)
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L187">imgui.h:187</see>
|
||||
/// <br/><c>struct ImFontGlyph</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Forward declarations: ImDrawList, ImFontAtlas layer
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public unsafe partial struct ImFontGlyphPtr(ImFontGlyph* ptr) : INullable
|
||||
{
|
||||
private ImFontGlyph* _ptr = ptr;
|
||||
public ImFontGlyph* Ptr => _ptr;
|
||||
|
||||
public bool IsNull() => _ptr is null;
|
||||
|
||||
public static implicit operator ImFontGlyphPtr(ImFontGlyph* ptr) => new(ptr);
|
||||
|
||||
public static implicit operator ImFontGlyph*(ImFontGlyphPtr wrapper) => wrapper.Ptr;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Flag to indicate glyph is colored and should generally ignore tinting (make it usable with no shift on
|
||||
/// little-endian as this is used in loops)
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3649">imgui.h:3649</see>
|
||||
/// <br/><c>unsigned int Colored : 1</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Hold rendering data for one glyph.
|
||||
/// (Note: some language parsers may fail to convert the bitfield members, in this case maybe drop store a single u32 or we can rework this)
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
public ref uint Colored => ref Unsafe.AsRef<uint>(&_ptr->Colored);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Flag to indicate glyph has no visible pixels (e.g. space). Allow early out when rendering.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3650">imgui.h:3650</see>
|
||||
/// <br/><c>unsigned int Visible : 1</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Hold rendering data for one glyph.
|
||||
/// (Note: some language parsers may fail to convert the bitfield members, in this case maybe drop store a single u32 or we can rework this)
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
public ref uint Visible => ref Unsafe.AsRef<uint>(&_ptr->Visible);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Index of source in parent font
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3651">imgui.h:3651</see>
|
||||
/// <br/><c>unsigned int SourceIdx : 4</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Hold rendering data for one glyph.
|
||||
/// (Note: some language parsers may fail to convert the bitfield members, in this case maybe drop store a single u32 or we can rework this)
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
public ref uint SourceIdx => ref Unsafe.AsRef<uint>(&_ptr->SourceIdx);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// 0x0000..0x10FFFF
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3652">imgui.h:3652</see>
|
||||
/// <br/><c>unsigned int Codepoint : 26</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Hold rendering data for one glyph.
|
||||
/// (Note: some language parsers may fail to convert the bitfield members, in this case maybe drop store a single u32 or we can rework this)
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
public ref uint Codepoint => ref Unsafe.AsRef<uint>(&_ptr->Codepoint);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Horizontal distance to advance cursor/layout position.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3653">imgui.h:3653</see>
|
||||
/// <br/><c>float AdvanceX</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Hold rendering data for one glyph.
|
||||
/// (Note: some language parsers may fail to convert the bitfield members, in this case maybe drop store a single u32 or we can rework this)
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
public ref float AdvanceX => ref Unsafe.AsRef<float>(&_ptr->AdvanceX);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Glyph corners. Offsets from current cursor/layout position.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3654">imgui.h:3654</see>
|
||||
/// <br/><c>float X0</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Hold rendering data for one glyph.
|
||||
/// (Note: some language parsers may fail to convert the bitfield members, in this case maybe drop store a single u32 or we can rework this)
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
public ref float X0 => ref Unsafe.AsRef<float>(&_ptr->X0);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Glyph corners. Offsets from current cursor/layout position.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3654">imgui.h:3654</see>
|
||||
/// <br/><c>float X0, Y0</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Hold rendering data for one glyph.
|
||||
/// (Note: some language parsers may fail to convert the bitfield members, in this case maybe drop store a single u32 or we can rework this)
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
public ref float Y0 => ref Unsafe.AsRef<float>(&_ptr->Y0);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Glyph corners. Offsets from current cursor/layout position.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3654">imgui.h:3654</see>
|
||||
/// <br/><c>float X0, Y0, X1</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Hold rendering data for one glyph.
|
||||
/// (Note: some language parsers may fail to convert the bitfield members, in this case maybe drop store a single u32 or we can rework this)
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
public ref float X1 => ref Unsafe.AsRef<float>(&_ptr->X1);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Glyph corners. Offsets from current cursor/layout position.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3654">imgui.h:3654</see>
|
||||
/// <br/><c>float X0, Y0, X1, Y1</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Hold rendering data for one glyph.
|
||||
/// (Note: some language parsers may fail to convert the bitfield members, in this case maybe drop store a single u32 or we can rework this)
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
public ref float Y1 => ref Unsafe.AsRef<float>(&_ptr->Y1);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Texture coordinates for the current value of ImFontAtlas->TexRef. Cached equivalent of calling
|
||||
/// GetCustomRect() with PackId.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3655">imgui.h:3655</see>
|
||||
/// <br/><c>float U0</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Hold rendering data for one glyph.
|
||||
/// (Note: some language parsers may fail to convert the bitfield members, in this case maybe drop store a single u32 or we can rework this)
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
public ref float U0 => ref Unsafe.AsRef<float>(&_ptr->U0);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Texture coordinates for the current value of ImFontAtlas->TexRef. Cached equivalent of calling
|
||||
/// GetCustomRect() with PackId.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3655">imgui.h:3655</see>
|
||||
/// <br/><c>float U0, V0</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Hold rendering data for one glyph.
|
||||
/// (Note: some language parsers may fail to convert the bitfield members, in this case maybe drop store a single u32 or we can rework this)
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
public ref float V0 => ref Unsafe.AsRef<float>(&_ptr->V0);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Texture coordinates for the current value of ImFontAtlas->TexRef. Cached equivalent of calling
|
||||
/// GetCustomRect() with PackId.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3655">imgui.h:3655</see>
|
||||
/// <br/><c>float U0, V0, U1</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Hold rendering data for one glyph.
|
||||
/// (Note: some language parsers may fail to convert the bitfield members, in this case maybe drop store a single u32 or we can rework this)
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
public ref float U1 => ref Unsafe.AsRef<float>(&_ptr->U1);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Texture coordinates for the current value of ImFontAtlas->TexRef. Cached equivalent of calling
|
||||
/// GetCustomRect() with PackId.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3655">imgui.h:3655</see>
|
||||
/// <br/><c>float U0, V0, U1, V1</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Hold rendering data for one glyph.
|
||||
/// (Note: some language parsers may fail to convert the bitfield members, in this case maybe drop store a single u32 or we can rework this)
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
public ref float V1 => ref Unsafe.AsRef<float>(&_ptr->V1);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// [Internal] ImFontAtlasRectId value (FIXME: Cold data, could be moved elsewhere?)
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3656">imgui.h:3656</see>
|
||||
/// <br/><c>int PackId</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Hold rendering data for one glyph.
|
||||
/// (Note: some language parsers may fail to convert the bitfield members, in this case maybe drop store a single u32 or we can rework this)
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
public ref int PackId => ref Unsafe.AsRef<int>(&_ptr->PackId);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue