|
@@ -1707,13 +1707,13 @@ struct ImFontAtlas
|
|
// Members
|
|
// Members
|
|
//-------------------------------------------
|
|
//-------------------------------------------
|
|
|
|
|
|
|
|
+ ImFontAtlasFlags Flags; // Build flags (see ImFontAtlasFlags_)
|
|
ImTextureID TexID; // User data to refer to the texture once it has been uploaded to user's graphic systems. It is passed back to you during rendering via the ImDrawCmd structure.
|
|
ImTextureID TexID; // User data to refer to the texture once it has been uploaded to user's graphic systems. It is passed back to you during rendering via the ImDrawCmd structure.
|
|
int TexDesiredWidth; // Texture width desired by user before Build(). Must be a power-of-two. If have many glyphs your graphics API have texture size restrictions you may want to increase texture width to decrease height.
|
|
int TexDesiredWidth; // Texture width desired by user before Build(). Must be a power-of-two. If have many glyphs your graphics API have texture size restrictions you may want to increase texture width to decrease height.
|
|
int TexGlyphPadding; // Padding between glyphs within texture in pixels. Defaults to 1.
|
|
int TexGlyphPadding; // Padding between glyphs within texture in pixels. Defaults to 1.
|
|
|
|
|
|
// [Internal]
|
|
// [Internal]
|
|
// NB: Access texture data via GetTexData*() calls! Which will setup a default font for you.
|
|
// NB: Access texture data via GetTexData*() calls! Which will setup a default font for you.
|
|
- ImFontAtlasFlags Flags; // Build flags
|
|
|
|
unsigned char* TexPixelsAlpha8; // 1 component per pixel, each component is unsigned 8-bit. Total size = TexWidth * TexHeight
|
|
unsigned char* TexPixelsAlpha8; // 1 component per pixel, each component is unsigned 8-bit. Total size = TexWidth * TexHeight
|
|
unsigned int* TexPixelsRGBA32; // 4 component per pixel, each component is unsigned 8-bit. Total size = TexWidth * TexHeight * 4
|
|
unsigned int* TexPixelsRGBA32; // 4 component per pixel, each component is unsigned 8-bit. Total size = TexWidth * TexHeight * 4
|
|
int TexWidth; // Texture width calculated during Build().
|
|
int TexWidth; // Texture width calculated during Build().
|