Package org.lwjgl.util.par
Class ParSLAnnotation.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<ParSLAnnotation,ParSLAnnotation.Buffer>
-
- org.lwjgl.util.par.ParSLAnnotation.Buffer
-
- All Implemented Interfaces:
java.lang.Iterable<ParSLAnnotation>
,org.lwjgl.system.Pointer
- Enclosing class:
- ParSLAnnotation
public static class ParSLAnnotation.Buffer extends org.lwjgl.system.StructBuffer<ParSLAnnotation,ParSLAnnotation.Buffer>
An array ofParSLAnnotation
structs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description float
spine_to_edge_x()
Returns the value of thespine_to_edge_x
field.float
spine_to_edge_y()
Returns the value of thespine_to_edge_y
field.float
u_along_curve()
Returns the value of theu_along_curve
field.float
v_across_curve()
Returns the value of thev_across_curve
field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newParSLAnnotation.Buffer
instance backed by the specified container. Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided byParSLAnnotation.SIZEOF
, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Detail
-
u_along_curve
public float u_along_curve()
Returns the value of theu_along_curve
field.
-
v_across_curve
public float v_across_curve()
Returns the value of thev_across_curve
field.
-
spine_to_edge_x
public float spine_to_edge_x()
Returns the value of thespine_to_edge_x
field.
-
spine_to_edge_y
public float spine_to_edge_y()
Returns the value of thespine_to_edge_y
field.
-
-