//
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
namespace Brutal.ImGuiApi
{
public static partial class ImTextureDataExtensions
{
///
///
/// C++:
/// imgui.h:3588
/// ,
/// imgui_draw.cpp:2463
///
void Create(ImTextureFormat format, int w, int h)
///
///
///
///
/// Functions
///
///
public static unsafe void Create(this ImTextureDataPtr target, ImTextureFormat format, int w, int h) =>
PInvoke.ImTextureData_Create(target, format, w, h);
///
///
/// C++:
/// imgui.h:3589
/// ,
/// imgui_draw.cpp:2481
///
void DestroyPixels()
///
///
///
///
/// Functions
///
///
public static unsafe void DestroyPixels(this ImTextureDataPtr target) =>
PInvoke.ImTextureData_DestroyPixels(target);
///
///
/// C++:
/// imgui.h:3590
///
void* GetPixels()
///
///
///
///
/// Functions
///
///
public static unsafe Ptr GetPixels(this ImTextureDataPtr target) => PInvoke.ImTextureData_GetPixels(target);
///
///
/// C++:
/// imgui.h:3591
///
void* GetPixelsAt(int x, int y)
///
///
///
///
/// Functions
///
///
public static unsafe Ptr GetPixelsAt(this ImTextureDataPtr target, int x, int y) =>
PInvoke.ImTextureData_GetPixelsAt(target, x, y);
///
///
/// C++:
/// imgui.h:3592
///
int GetSizeInBytes() const
///
///
///
///
/// Functions
///
///
public static unsafe int GetSizeInBytes(this ImTextureDataPtr target) =>
PInvoke.ImTextureData_GetSizeInBytes(target);
///
///
/// C++:
/// imgui.h:3593
///
int GetPitch() const
///
///
///
///
/// Functions
///
///
public static unsafe int GetPitch(this ImTextureDataPtr target) => PInvoke.ImTextureData_GetPitch(target);
///
///
/// C++:
/// imgui.h:3594
///
ImTextureRef GetTexRef()
///
///
///
///
/// Functions
///
///
public static unsafe ImTextureRef GetTexRef(this ImTextureDataPtr target) =>
PInvoke.ImTextureData_GetTexRef(target);
///
///
/// C++:
/// imgui.h:3595
///
ImTextureID GetTexID() const
///
///
///
///
/// Functions
///
///
public static unsafe ImTextureID GetTexID(this ImTextureDataPtr target) =>
PInvoke.ImTextureData_GetTexID(target);
///
///
/// Call after creating or destroying the texture. Never modify TexID directly!
///
///
/// C++:
/// imgui.h:3598
///
void SetTexID(ImTextureID tex_id)
///
///
///
///
/// Called by Renderer backend
///
///
public static unsafe void SetTexID(this ImTextureDataPtr target, ImTextureID texId) =>
PInvoke.ImTextureData_SetTexID(target, texId);
///
///
/// Call after honoring a request. Never modify Status directly!
///
///
/// C++:
/// imgui.h:3599
///
void SetStatus(ImTextureStatus status)
///
///
///
///
/// Called by Renderer backend
///
///
public static unsafe void SetStatus(this ImTextureDataPtr target, ImTextureStatus status) =>
PInvoke.ImTextureData_SetStatus(target, status);
}
}