mirror of
https://github.com/Drezil/imgui.git
synced 2024-11-23 04:17:00 +00:00
fix outdated documentation
This commit is contained in:
parent
dd36e8bf2b
commit
b28ec1f3b1
2
imgui.h
2
imgui.h
@ -945,7 +945,7 @@ struct ImDrawList
|
|||||||
// 2. Call GetTexDataAsAlpha8() or GetTexDataAsRGBA32() to build and retrieve pixels data.
|
// 2. Call GetTexDataAsAlpha8() or GetTexDataAsRGBA32() to build and retrieve pixels data.
|
||||||
// 3. Upload the pixels data into a texture within your graphics system.
|
// 3. Upload the pixels data into a texture within your graphics system.
|
||||||
// 4. Call SetTexID(my_tex_id); and pass the pointer/identifier to your texture. This value will be passed back to you during rendering to identify the texture.
|
// 4. Call SetTexID(my_tex_id); and pass the pointer/identifier to your texture. This value will be passed back to you during rendering to identify the texture.
|
||||||
// 5. Call ClearPixelsData() to free textures memory on the heap.
|
// 5. Call ClearTexData() to free textures memory on the heap.
|
||||||
struct ImFontAtlas
|
struct ImFontAtlas
|
||||||
{
|
{
|
||||||
IMGUI_API ImFontAtlas();
|
IMGUI_API ImFontAtlas();
|
||||||
|
Loading…
Reference in New Issue
Block a user