Package org.lwjgl.util.remotery
Class RMTPropertyIterator
- All Implemented Interfaces:
AutoCloseable,NativeResource,Pointer
struct rmtPropertyIterator {
rmtProperty * property;
rmtProperty * initial;
}-
Nested Class Summary
Nested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct size in bytes.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionRMTPropertyIterator(ByteBuffer container) Creates aRMTPropertyIteratorinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionstatic RMTPropertyIteratorcalloc()Returns a newRMTPropertyIteratorinstance allocated withmemCalloc.static RMTPropertyIteratorcalloc(MemoryStack stack) Returns a newRMTPropertyIteratorinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static RMTPropertyIteratorcreate()Returns a newRMTPropertyIteratorinstance allocated withBufferUtils.static RMTPropertyIteratorcreate(long address) Returns a newRMTPropertyIteratorinstance for the specified memory address.static @Nullable RMTPropertyIteratorcreateSafe(long address) static RMTPropertyIteratormalloc()Returns a newRMTPropertyIteratorinstance allocated withmemAlloc.static RMTPropertyIteratormalloc(MemoryStack stack) Returns a newRMTPropertyIteratorinstance allocated on the specifiedMemoryStack.static RMTPropertyninitial(long struct) static RMTPropertynproperty(long struct) Unsafe version ofproperty().property()intsizeof()Returnssizeof(struct).Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toStringMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
PROPERTY
public static final int PROPERTYThe struct member offsets. -
INITIAL
public static final int INITIALThe struct member offsets.
-
-
Constructor Details
-
RMTPropertyIterator
Creates aRMTPropertyIteratorinstance 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 Details
-
sizeof
public int sizeof()Description copied from class:StructReturnssizeof(struct).- Specified by:
sizeofin classStruct<RMTPropertyIterator>
-
property
- Returns:
- a
RMTPropertyview of the struct pointed to by thepropertyfield.
-
malloc
Returns a newRMTPropertyIteratorinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newRMTPropertyIteratorinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newRMTPropertyIteratorinstance allocated withBufferUtils. -
create
Returns a newRMTPropertyIteratorinstance for the specified memory address. -
createSafe
-
malloc
Returns a newRMTPropertyIteratorinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newRMTPropertyIteratorinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
nproperty
Unsafe version ofproperty(). -
ninitial
-