Top Description Fields Constructors Methods
org.lwjgl.nuklear

pack-priv Class NkConfigurationStacks

extends Struct<NkConfigurationStacks>
Class Inheritance
Annotations
@NativeType:struct nk_configuration_stacks
Imports
javax.annotation.*, java.nio.*, org.lwjgl.system.*

Layout


struct nk_configuration_stacks {
    struct nk_config_stack_style_item style_items;
    struct nk_config_stack_float floats;
    struct nk_config_stack_vec2 vectors;
    struct nk_config_stack_flags flags;
    struct nk_config_stack_color colors;
    struct nk_config_stack_user_font fonts;
    struct nk_config_stack_button_behavior button_behaviors;
}

Field Summary

Modifier and TypeField and Description
public static final int
ALIGNOF

The struct alignment in bytes.

public static final int
BUTTON_BEHAVIORS

The struct member offsets.

public static final int
COLORS

The struct member offsets.

public static final int
FLAGS

The struct member offsets.

public static final int
FLOATS

The struct member offsets.

public static final int
FONTS

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

public static final int
STYLE_ITEMS

The struct member offsets.

public static final int
VECTORS

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
NkConfigurationStacks(long address, ByteBuffer container)

pack-priv
NkConfigurationStacks(ByteBuffer container)

Creates a NkConfigurationStacks instance at the current position of the specified ByteBuffer container.

Method Summary

Modifier and TypeMethod and Description
public NkConfigStackButtonBehavior

Returns:

a NkConfigStackButtonBehavior view of the button_behaviors field.
button_behaviors
()

public NkConfigStackColor

Returns:

a NkConfigStackColor view of the colors field.
colors
()

protected NkConfigurationStacks
create(long
the struct memory address
address
,
ByteBuffer
an optional container buffer, to be referenced strongly by the struct instance.
container
)

Implements abstract org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.
public static NkConfigurationStacks
create(long address)

Returns a new NkConfigurationStacks instance for the specified memory address.

public static NkConfigurationStacks
createSafe(long address)

Like create, but returns null if address is NULL.

public NkConfigStackFlags

Returns:

a NkConfigStackFlags view of the flags field.
flags
()

public NkConfigStackFloat

Returns:

a NkConfigStackFloat view of the floats field.
floats
()

public NkConfigStackUserFont

Returns:

a NkConfigStackUserFont view of the fonts field.
fonts
()

public static NkConfigStackButtonBehavior
nbutton_behaviors(long struct)

Unsafe version of button_behaviors.

public static NkConfigStackColor
ncolors(long struct)

Unsafe version of colors.

public static NkConfigStackFlags
nflags(long struct)

Unsafe version of flags.

public static NkConfigStackFloat
nfloats(long struct)

Unsafe version of floats.

public static NkConfigStackUserFont
nfonts(long struct)

Unsafe version of fonts.

public static NkConfigStackStyleItem
nstyle_items(long struct)

Unsafe version of style_items.

public static NkConfigStackVec2
nvectors(long struct)

Unsafe version of vectors.

public int
sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).
public NkConfigStackStyleItem

Returns:

a NkConfigStackStyleItem view of the style_items field.
style_items
()

public NkConfigStackVec2

Returns:

a NkConfigStackVec2 view of the vectors field.
vectors
()

Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate

Field Detail

ALIGNOFback to summary
public static final int ALIGNOF

The struct alignment in bytes.

BUTTON_BEHAVIORSback to summary
public static final int BUTTON_BEHAVIORS

The struct member offsets.

COLORSback to summary
public static final int COLORS

The struct member offsets.

FLAGSback to summary
public static final int FLAGS

The struct member offsets.

FLOATSback to summary
public static final int FLOATS

The struct member offsets.

FONTSback to summary
public static final int FONTS

The struct member offsets.

SIZEOFback to summary
public static final int SIZEOF

The struct size in bytes.

STYLE_ITEMSback to summary
public static final int STYLE_ITEMS

The struct member offsets.

VECTORSback to summary
public static final int VECTORS

The struct member offsets.

Constructor Detail

NkConfigurationStacksback to summary
protected NkConfigurationStacks(long address, ByteBuffer container)
NkConfigurationStacksback to summary
pack-priv NkConfigurationStacks(ByteBuffer container)

Creates a NkConfigurationStacks instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

The created instance holds a strong reference to the container object.

Method Detail

button_behaviorsback to summary
public NkConfigStackButtonBehavior button_behaviors()
Returns:NkConfigStackButtonBehavior

a NkConfigStackButtonBehavior view of the button_behaviors field.

Annotations
@NativeType:struct nk_config_stack_button_behavior
colorsback to summary
public NkConfigStackColor colors()
Returns:NkConfigStackColor

a NkConfigStackColor view of the colors field.

Annotations
@NativeType:struct nk_config_stack_color
createback to summary
protected NkConfigurationStacks create(long address, ByteBuffer container)

Implements abstract org.lwjgl.system.Struct.create.

Doc from org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.

Effectively, every Struct instance is a factory for more instances of the same type. This is used by StructBuffer.

Parameters
address:long

the struct memory address

container:ByteBuffer

an optional container buffer, to be referenced strongly by the struct instance.

Annotations
@Override
createback to summary
public static NkConfigurationStacks create(long address)

Returns a new NkConfigurationStacks instance for the specified memory address.

createSafeback to summary
public static NkConfigurationStacks createSafe(long address)

Like create, but returns null if address is NULL.

Annotations
@Nullable
flagsback to summary
public NkConfigStackFlags flags()
Returns:NkConfigStackFlags

a NkConfigStackFlags view of the flags field.

Annotations
@NativeType:struct nk_config_stack_flags
floatsback to summary
public NkConfigStackFloat floats()
Returns:NkConfigStackFloat

a NkConfigStackFloat view of the floats field.

Annotations
@NativeType:struct nk_config_stack_float
fontsback to summary
public NkConfigStackUserFont fonts()
Returns:NkConfigStackUserFont

a NkConfigStackUserFont view of the fonts field.

Annotations
@NativeType:struct nk_config_stack_user_font
nbutton_behaviorsback to summary
public static NkConfigStackButtonBehavior nbutton_behaviors(long struct)

Unsafe version of button_behaviors.

ncolorsback to summary
public static NkConfigStackColor ncolors(long struct)

Unsafe version of colors.

nflagsback to summary
public static NkConfigStackFlags nflags(long struct)

Unsafe version of flags.

nfloatsback to summary
public static NkConfigStackFloat nfloats(long struct)

Unsafe version of floats.

nfontsback to summary
public static NkConfigStackUserFont nfonts(long struct)

Unsafe version of fonts.

nstyle_itemsback to summary
public static NkConfigStackStyleItem nstyle_items(long struct)

Unsafe version of style_items.

nvectorsback to summary
public static NkConfigStackVec2 nvectors(long struct)

Unsafe version of vectors.

sizeofback to summary
public int sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Doc from org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).

Annotations
@Override
style_itemsback to summary
public NkConfigStackStyleItem style_items()
Returns:NkConfigStackStyleItem

a NkConfigStackStyleItem view of the style_items field.

Annotations
@NativeType:struct nk_config_stack_style_item
vectorsback to summary
public NkConfigStackVec2 vectors()
Returns:NkConfigStackVec2

a NkConfigStackVec2 view of the vectors field.

Annotations
@NativeType:struct nk_config_stack_vec2