Package org.lwjgl.nuklear
Class NkPopupBuffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.nuklear.NkPopupBuffer
-
- All Implemented Interfaces:
org.lwjgl.system.Pointer
public class NkPopupBuffer extends org.lwjgl.system.StructLayout
struct nk_popup_buffer { nk_size begin; nk_size parent; nk_size last; nk_size end; int active; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNkPopupBuffer.BufferAn array ofNkPopupBufferstructs.
-
Constructor Summary
Constructors Constructor Description NkPopupBuffer(java.nio.ByteBuffer container)Creates aNkPopupBufferinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intactive()Returns the value of theactivefield.longbegin()Returns the value of thebeginfield.static NkPopupBuffercreate(long address)Returns a newNkPopupBufferinstance for the specified memory address.static NkPopupBuffer.Buffercreate(long address, int capacity)Create aNkPopupBuffer.Bufferinstance at the specified memory.static NkPopupBuffercreateSafe(long address)static NkPopupBuffer.BuffercreateSafe(long address, int capacity)longend()Returns the value of theendfield.longlast()Returns the value of thelastfield.static intnactive(long struct)Unsafe version ofactive().static longnbegin(long struct)Unsafe version ofbegin().static longnend(long struct)Unsafe version ofend().static longnlast(long struct)Unsafe version oflast().static longnparent(long struct)Unsafe version ofparent().longparent()Returns the value of theparentfield.intsizeof()
-
-
-
Constructor Detail
-
NkPopupBuffer
public NkPopupBuffer(java.nio.ByteBuffer container)
Creates aNkPopupBufferinstance at the current position of the specifiedByteBuffercontainer. 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
-
sizeof
public int sizeof()
- Specified by:
sizeofin classorg.lwjgl.system.Struct
-
begin
public long begin()
Returns the value of thebeginfield.
-
parent
public long parent()
Returns the value of theparentfield.
-
last
public long last()
Returns the value of thelastfield.
-
end
public long end()
Returns the value of theendfield.
-
active
public int active()
Returns the value of theactivefield.
-
create
public static NkPopupBuffer create(long address)
Returns a newNkPopupBufferinstance for the specified memory address.
-
createSafe
@Nullable public static NkPopupBuffer createSafe(long address)
-
create
public static NkPopupBuffer.Buffer create(long address, int capacity)
Create aNkPopupBuffer.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static NkPopupBuffer.Buffer createSafe(long address, int capacity)
-
nbegin
public static long nbegin(long struct)
Unsafe version ofbegin().
-
nparent
public static long nparent(long struct)
Unsafe version ofparent().
-
nlast
public static long nlast(long struct)
Unsafe version oflast().
-
nend
public static long nend(long struct)
Unsafe version ofend().
-
nactive
public static int nactive(long struct)
Unsafe version ofactive().
-
-