mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
167 lines
6.3 KiB
C#
167 lines
6.3 KiB
C#
// <auto-generated/>
|
|
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
|
#nullable enable
|
|
|
|
namespace Brutal.ImGuiApi
|
|
{
|
|
public static partial class ImTextureDataExtensions
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3588">imgui.h:3588</see>
|
|
/// ,
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_draw.cpp#L2463">imgui_draw.cpp:2463</see>
|
|
/// <br/><c>void Create(ImTextureFormat format, int w, int h)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Functions
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void Create(this ImTextureDataPtr target, ImTextureFormat format, int w, int h) =>
|
|
PInvoke.ImTextureData_Create(target, format, w, h);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3589">imgui.h:3589</see>
|
|
/// ,
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_draw.cpp#L2481">imgui_draw.cpp:2481</see>
|
|
/// <br/><c>void DestroyPixels()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Functions
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void DestroyPixels(this ImTextureDataPtr target) =>
|
|
PInvoke.ImTextureData_DestroyPixels(target);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3590">imgui.h:3590</see>
|
|
/// <br/><c>void* GetPixels()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Functions
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe Ptr GetPixels(this ImTextureDataPtr target) => PInvoke.ImTextureData_GetPixels(target);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3591">imgui.h:3591</see>
|
|
/// <br/><c>void* GetPixelsAt(int x, int y)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Functions
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe Ptr GetPixelsAt(this ImTextureDataPtr target, int x, int y) =>
|
|
PInvoke.ImTextureData_GetPixelsAt(target, x, y);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3592">imgui.h:3592</see>
|
|
/// <br/><c>int GetSizeInBytes() const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Functions
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe int GetSizeInBytes(this ImTextureDataPtr target) =>
|
|
PInvoke.ImTextureData_GetSizeInBytes(target);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3593">imgui.h:3593</see>
|
|
/// <br/><c>int GetPitch() const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Functions
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe int GetPitch(this ImTextureDataPtr target) => PInvoke.ImTextureData_GetPitch(target);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3594">imgui.h:3594</see>
|
|
/// <br/><c>ImTextureRef GetTexRef()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Functions
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe ImTextureRef GetTexRef(this ImTextureDataPtr target) =>
|
|
PInvoke.ImTextureData_GetTexRef(target);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3595">imgui.h:3595</see>
|
|
/// <br/><c>ImTextureID GetTexID() const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Functions
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe ImTextureID GetTexID(this ImTextureDataPtr target) =>
|
|
PInvoke.ImTextureData_GetTexID(target);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Call after creating or destroying the texture. Never modify TexID directly!
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3598">imgui.h:3598</see>
|
|
/// <br/><c>void SetTexID(ImTextureID tex_id)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Called by Renderer backend
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void SetTexID(this ImTextureDataPtr target, ImTextureID texId) =>
|
|
PInvoke.ImTextureData_SetTexID(target, texId);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Call after honoring a request. Never modify Status directly!
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3599">imgui.h:3599</see>
|
|
/// <br/><c>void SetStatus(ImTextureStatus status)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Called by Renderer backend
|
|
/// </para>
|
|
/// </remarks>
|
|
public static unsafe void SetStatus(this ImTextureDataPtr target, ImTextureStatus status) =>
|
|
PInvoke.ImTextureData_SetStatus(target, status);
|
|
}
|
|
}
|