mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-27 05:28:25 +01:00
SOURCE DUMP v1
This commit is contained in:
parent
bd62d51ec9
commit
fb20299e9d
1 changed files with 768360 additions and 0 deletions
35
brutal.imgui/Brutal.ImGui/Generated/PInvoke/Image.gen.cs
Normal file
35
brutal.imgui/Brutal.ImGui/Generated/PInvoke/Image.gen.cs
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.ImGuiApi
|
||||
{
|
||||
public partial class ImGui
|
||||
{
|
||||
public unsafe partial class PInvoke
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L659">imgui.h:659</see>
|
||||
/// ,
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_widgets.cpp#L1138">imgui_widgets.cpp:1138</see>
|
||||
/// <br/>
|
||||
/// <c>void Image(ImTextureRef tex_ref, const ImVec2& image_size, const ImVec2& uv0 = ImVec2(0, 0), const ImVec2& uv1 = ImVec2(1, 1))</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Widgets: Images
|
||||
/// - Read about ImTextureID/ImTextureRef here: https://github.com/ocornut/imgui/wiki/Image-Loading-and-Displaying-Examples
|
||||
/// - 'uv0' and 'uv1' are texture coordinates. Read about them from the same link above.
|
||||
/// - Image() pads adds style.ImageBorderSize on each side, ImageButton() adds style.FramePadding on each side.
|
||||
/// - ImageButton() draws a background based on regular Button() color + optionally an inner background if specified.
|
||||
/// - An obsolete version of Image(), before 1.91.9 (March 2025), had a 'tint_col' parameter which is now supported by the ImageWithBg() function.
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[LibraryImport("imgui")]
|
||||
public static unsafe partial void Image(ImTextureRef tex_ref, float2* image_size, float2* uv0, float2* uv1);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue