struct nk_font_atlas {
void * pixel;
int tex_width;
int tex_height;
struct nk_allocator permanent;
struct nk_allocator temporary;
struct nk_recti custom;
struct nk_cursor cursors[7];
int glyph_count;
struct nk_font_glyph * glyphs;
struct nk_font * default_font;
struct nk_font * fonts;
struct nk_font_config * config;
int font_num;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | NkFontAtlas.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | CONFIG
The struct member offsets. |
| public static final int | CURSORS
The struct member offsets. |
| public static final int | CUSTOM
The struct member offsets. |
| public static final int | DEFAULT_FONT
The struct member offsets. |
| public static final int | FONT_NUM
The struct member offsets. |
| public static final int | FONTS
The struct member offsets. |
| public static final int | GLYPH_COUNT
The struct member offsets. |
| public static final int | GLYPHS
The struct member offsets. |
| public static final int | PERMANENT
The struct member offsets. |
| public static final int | PIXEL
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | TEMPORARY
The struct member offsets. |
| public static final int | TEX_HEIGHT
The struct member offsets. |
| public static final int | TEX_WIDTH
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | NkFontAtlas(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static NkFontAtlas | |
| public static NkFontAtlas. | calloc(int
the buffer capacity capacity)Returns a new |
| public static NkFontAtlas | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static NkFontAtlas. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public NkFontConfig | |
| public NkFontAtlas | |
| protected NkFontAtlas | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static NkFontAtlas | |
| public static NkFontAtlas | |
| public static NkFontAtlas. | create(int
the buffer capacity capacity)Returns a new |
| public static NkFontAtlas. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static NkFontAtlas | |
| public static NkFontAtlas. | |
| public NkCursor. | |
| public NkCursor | |
| public NkFontAtlas | |
| public NkFontAtlas | |
| public NkFontAtlas | |
| public NkFontAtlas | |
| public NkRecti | |
| public NkFontAtlas | |
| public NkFontAtlas | |
| public NkFont | |
| public NkFontAtlas | |
| public int | |
| public NkFontAtlas | |
| public NkFont | |
| public NkFontAtlas | |
| public int | |
| public NkFontAtlas | |
| public NkFontGlyph. | |
| public NkFontAtlas | glyphs(NkFontGlyph.
Sets the address of the specified |
| public static NkFontAtlas | |
| public static NkFontAtlas. | malloc(int
the buffer capacity capacity)Returns a new |
| public static NkFontAtlas | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static NkFontAtlas. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static NkFontConfig | |
| public static void | |
| public static NkCursor. | |
| public static NkCursor | |
| public static void | |
| public static void | |
| public static NkRecti | |
| public static void | |
| public static NkFont | |
| public static void | |
| public static int | |
| public static void | |
| public static NkFont | |
| public static void | |
| public static int | |
| public static void | nglyph_count(long struct, int value)
Sets the specified value to the |
| public static NkFontGlyph. | |
| public static void | |
| public static NkAllocator | |
| public static void | |
| public static ByteBuffer | |
| public static void | |
| public static NkAllocator | |
| public static void | |
| public static int | |
| public static void | ntex_height(long struct, int value)
Sets the specified value to the |
| public static int | |
| public static void | ntex_width(long struct, int value)
Sets the specified value to the |
| public NkAllocator | |
| public NkFontAtlas | |
| public NkFontAtlas | |
| public ByteBuffer | |
| public NkFontAtlas | |
| public NkFontAtlas | set(ByteBuffer pixel, int tex_width, int tex_height, NkAllocator permanent, NkAllocator temporary, NkRecti custom, NkCursor.
Initializes this struct with the specified values. |
| public NkFontAtlas | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public NkAllocator | |
| public NkFontAtlas | |
| public NkFontAtlas | |
| public int | |
| public NkFontAtlas | |
| public int | |
| public NkFontAtlas |