Prusa Slicer 2.6.0
Loading...
Searching...
No Matches
ImDrawCmd Struct Reference

#include <src/imgui/imgui.h>

+ Collaboration diagram for ImDrawCmd:

Public Member Functions

 ImDrawCmd ()
 
ImTextureID GetTexID () const
 

Public Attributes

ImVec4 ClipRect
 
ImTextureID TextureId
 
unsigned int VtxOffset
 
unsigned int IdxOffset
 
unsigned int ElemCount
 
ImDrawCallback UserCallback
 
voidUserCallbackData
 

Detailed Description

Constructor & Destructor Documentation

◆ ImDrawCmd()

ImDrawCmd::ImDrawCmd ( )
inline
2245{ memset(this, 0, sizeof(*this)); } // Also ensure our padding fields are zeroed

Member Function Documentation

◆ GetTexID()

ImTextureID ImDrawCmd::GetTexID ( ) const
inline
2248{ return TextureId; }
ImTextureID TextureId
Definition imgui.h:2238

Referenced by Slic3r::GUI::ImGuiWrapper::render_draw_data().

+ Here is the caller graph for this function:

Member Data Documentation

◆ ClipRect

◆ ElemCount

◆ IdxOffset

◆ TextureId

◆ UserCallback

◆ UserCallbackData

void* ImDrawCmd::UserCallbackData

Referenced by ImDrawList::AddCallback().

◆ VtxOffset


The documentation for this struct was generated from the following file: