brutal/Brutal.ImGui/Generated/Enums/ImTextureFormat.gen.cs
Rian Drake b578433e37 first
2026-10-15 17:10:50 +13:00

58 lines
2.3 KiB
C#

// <auto-generated/>
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
namespace Brutal.ImGuiApi
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3533">imgui.h:3533</see>
/// <br/><c>enum ImTextureFormat</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// We intentionally support a limited amount of texture formats to limit burden on CPU-side code and extension.
/// Most standard backends only support RGBA32 but we provide a single channel option for low-resource/embedded systems.
/// </code>
/// </remarks>
public enum ImTextureFormat : int
{
/// <summary>
/// <para>
/// 4 components per pixel, each is unsigned 8-bit. Total size = TexWidth * TexHeight * 4
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3535">imgui.h:3535</see>
/// <br/><c>ImTextureFormat_RGBA32</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// We intentionally support a limited amount of texture formats to limit burden on CPU-side code and extension.
/// Most standard backends only support RGBA32 but we provide a single channel option for low-resource/embedded systems.
/// </code>
/// </remarks>
RGBA32,
/// <summary>
/// <para>
/// 1 component per pixel, each is unsigned 8-bit. Total size = TexWidth * TexHeight
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3536">imgui.h:3536</see>
/// <br/><c>ImTextureFormat_Alpha8</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// We intentionally support a limited amount of texture formats to limit burden on CPU-side code and extension.
/// Most standard backends only support RGBA32 but we provide a single channel option for low-resource/embedded systems.
/// </code>
/// </remarks>
Alpha8,
}
}