//
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
using System.Runtime.CompilerServices;
namespace Brutal.ImGuiApi.Internal
{
///
///
/// Data available to potential texture post-processing functions
///
///
/// C++:
/// imgui_internal.h:145
///
struct ImFontAtlasPostProcessData
///
///
///
///
/// ImDrawList/ImFontAtlas
///
///
[StructLayout(LayoutKind.Explicit, Size = 64)]
public partial struct ImFontAtlasPostProcessData
{
///
///
/// C++:
/// imgui_internal.h:4054
///
ImFontAtlas* FontAtlas
///
///
///
///
/// Data available to potential texture post-processing functions
///
///
[FieldOffset(0)]
public ImFontAtlasPtr FontAtlas;
///
///
/// C++:
/// imgui_internal.h:4055
///
ImFont* Font
///
///
///
///
/// Data available to potential texture post-processing functions
///
///
[FieldOffset(8)]
public ImFontPtr Font;
///
///
/// C++:
/// imgui_internal.h:4056
///
ImFontConfig* FontSrc
///
///
///
///
/// Data available to potential texture post-processing functions
///
///
[FieldOffset(16)]
public ImFontConfigPtr FontSrc;
///
///
/// C++:
/// imgui_internal.h:4057
///
ImFontBaked* FontBaked
///
///
///
///
/// Data available to potential texture post-processing functions
///
///
[FieldOffset(24)]
public ImFontBakedPtr FontBaked;
///
///
/// C++:
/// imgui_internal.h:4058
///
ImFontGlyph* Glyph
///
///
///
///
/// Data available to potential texture post-processing functions
///
///
[FieldOffset(32)]
public ImFontGlyphPtr Glyph;
///
///
/// C++:
/// imgui_internal.h:4061
///
void* Pixels
///
///
///
///
/// Pixel data
///
///
[FieldOffset(40)]
public nint Pixels;
///
///
/// C++:
/// imgui_internal.h:4062
///
ImTextureFormat Format
///
///
///
///
/// Pixel data
///
///
[FieldOffset(48)]
public ImTextureFormat Format;
///
///
/// C++:
/// imgui_internal.h:4063
///
int Pitch
///
///
///
///
/// Pixel data
///
///
[FieldOffset(52)]
public int Pitch;
///
///
/// C++:
/// imgui_internal.h:4064
///
int Width
///
///
///
///
/// Pixel data
///
///
[FieldOffset(56)]
public int Width;
///
///
/// C++:
/// imgui_internal.h:4065
///
int Height
///
///
///
///
/// Pixel data
///
///
[FieldOffset(60)]
public int Height;
}
///
///
/// Data available to potential texture post-processing functions
///
///
/// C++:
/// imgui_internal.h:145
///
struct ImFontAtlasPostProcessData
///
///
///
///
/// ImDrawList/ImFontAtlas
///
///
public unsafe partial struct ImFontAtlasPostProcessDataPtr(ImFontAtlasPostProcessData* ptr) : INullable
{
private ImFontAtlasPostProcessData* _ptr = ptr;
public ImFontAtlasPostProcessData* Ptr => _ptr;
public bool IsNull() => _ptr is null;
public static implicit operator ImFontAtlasPostProcessDataPtr(ImFontAtlasPostProcessData* ptr) => new(ptr);
public static implicit operator ImFontAtlasPostProcessData*(ImFontAtlasPostProcessDataPtr wrapper) =>
wrapper.Ptr;
///
///
/// C++:
/// imgui_internal.h:4054
///
ImFontAtlas* FontAtlas
///
///
///
///
/// Data available to potential texture post-processing functions
///
///
public ref ImFontAtlasPtr FontAtlas => ref Unsafe.AsRef(&_ptr->FontAtlas);
///
///
/// C++:
/// imgui_internal.h:4055
///
ImFont* Font
///
///
///
///
/// Data available to potential texture post-processing functions
///
///
public ref ImFontPtr Font => ref Unsafe.AsRef(&_ptr->Font);
///
///
/// C++:
/// imgui_internal.h:4056
///
ImFontConfig* FontSrc
///
///
///
///
/// Data available to potential texture post-processing functions
///
///
public ref ImFontConfigPtr FontSrc => ref Unsafe.AsRef(&_ptr->FontSrc);
///
///
/// C++:
/// imgui_internal.h:4057
///
ImFontBaked* FontBaked
///
///
///
///
/// Data available to potential texture post-processing functions
///
///
public ref ImFontBakedPtr FontBaked => ref Unsafe.AsRef(&_ptr->FontBaked);
///
///
/// C++:
/// imgui_internal.h:4058
///
ImFontGlyph* Glyph
///
///
///
///
/// Data available to potential texture post-processing functions
///
///
public ref ImFontGlyphPtr Glyph => ref Unsafe.AsRef(&_ptr->Glyph);
///
///
/// C++:
/// imgui_internal.h:4061
///
void* Pixels
///
///
///
///
/// Pixel data
///
///
public ref nint Pixels => ref Unsafe.AsRef(&_ptr->Pixels);
///
///
/// C++:
/// imgui_internal.h:4062
///
ImTextureFormat Format
///
///
///
///
/// Pixel data
///
///
public ref ImTextureFormat Format => ref Unsafe.AsRef(&_ptr->Format);
///
///
/// C++:
/// imgui_internal.h:4063
///
int Pitch
///
///
///
///
/// Pixel data
///
///
public ref int Pitch => ref Unsafe.AsRef(&_ptr->Pitch);
///
///
/// C++:
/// imgui_internal.h:4064
///
int Width
///
///
///
///
/// Pixel data
///
///
public ref int Width => ref Unsafe.AsRef(&_ptr->Width);
///
///
/// C++:
/// imgui_internal.h:4065
///
int Height
///
///
///
///
/// Pixel data
///
///
public ref int Height => ref Unsafe.AsRef(&_ptr->Height);
}
}