@Retention(value=RUNTIME)
@Target(value=FIELD)
public @interface MappedField
MappedObject
subclasses,
to manually specify byte offsets and lengths. This is useful when the
mapped fields require custom alignment. ByteBuffer
fields are required to have this annotation with a hardcoded byte length.Modifier and Type | Optional Element and Description |
---|---|
long |
byteLength
Specifies the field byte length.
|
long |
byteOffset
Specifies the field byte offset within the mapped object.
|
public abstract long byteOffset
public abstract long byteLength
ByteBuffer
fields.Copyright © 2002-2009 lwjgl.org. All Rights Reserved.