ImTextureData
imguicpp.ImTextureData (extern class)
Static Members
Instance Members
w - // [DEBUG] Sequential index to facilitate identifying a texture when debugging/printing. Unique per atlas.
rw rw // ImTextureStatus_OK/_WantCreate/_WantUpdates/_WantDestroy. Always use SetStatus() to modify!
- rw // Convenience storage for backend. Some backends may have enough with TexID.
r w // Backend-specific texture identifier. Always use SetTexID() to modify! The identifier will stored in ImDrawCmd::GetTexID() and passed to backend's RenderDrawData function.
w r // ImTextureFormat_RGBA32 (default) or ImTextureFormat_Alpha8
w r // Texture width
w r // Texture height
w r // 4 or 1
w r // Pointer to buffer holding 'WidthHeight' pixels and 'WidthHeight*BytesPerPixels' bytes.
w r // Bounding box encompassing all past and queued Updates[].
w r // Bounding box encompassing all queued Updates[].
w r // Array of individual updates.
w r // In order to facilitate handling Status==WantDestroy in some backend: this is a count successive frames where the texture was not used. Always >0 when Status==WantDestroy.
w r // Number of contexts using this texture. Used during backend shutdown.
w r // Tell whether our texture data is known to use colors (rather than just white + alpha).
wantDestroyNextFrame: Bool
rw - // [Internal] Queued to set ImTextureStatus_WantDestroy next frame. May still be used in the current frame.
| Name |
Parameters |
:structAccess |
- |
:include |
"linc_imgui.h" |