Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultImguiShader = `` /* 1050-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ImguiInfo ¶
type ImguiInfo struct { ImCtx imgui.Context Mat *materials.Material VaoID uint32 VboID uint32 IndexBufID uint32 // This is a pointer so we can send a stable pointer to C code TexID *uint32 }
func NewImGui ¶ added in v0.17.0
NewImGui setups imgui using the passed shader. If the path is empty a default nMage shader is used
func (*ImguiInfo) AddFontTTF ¶ added in v0.0.7
func (i *ImguiInfo) AddFontTTF(fontPath string, fontSize float32, fontConfig *imgui.FontConfig, glyphRanges *imgui.GlyphRange) imgui.Font
func (*ImguiInfo) FrameStart ¶
Click to show internal directories.
Click to hide internal directories.