Package org.lwjgl.util.par
Class ParSLConfig.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<ParSLConfig,ParSLConfig.Buffer>
-
- org.lwjgl.util.par.ParSLConfig.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<ParSLConfig>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- ParSLConfig
public static class ParSLConfig.Buffer extends org.lwjgl.system.StructBuffer<ParSLConfig,ParSLConfig.Buffer> implements org.lwjgl.system.NativeResource
An array ofParSLConfigstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description floatcurves_max_flatness()ParSLConfig.Buffercurves_max_flatness(float value)Sets the specified value to thecurves_max_flatnessfield.intflags()ParSLConfig.Bufferflags(int value)Sets the specified value to theParSLConfig.flags()field.floatmiter_limit()ParSLConfig.Buffermiter_limit(float value)Sets the specified value to themiter_limitfield.floatstreamlines_seed_spacing()ParSLConfig.Bufferstreamlines_seed_spacing(float value)Sets the specified value to thestreamlines_seed_spacingfield.ParSLViewportstreamlines_seed_viewport()ParSLConfig.Bufferstreamlines_seed_viewport(java.util.function.Consumer<ParSLViewport> consumer)Passes thestreamlines_seed_viewportfield to the specifiedConsumer.ParSLConfig.Bufferstreamlines_seed_viewport(ParSLViewport value)Copies the specifiedParSLViewportto thestreamlines_seed_viewportfield.floatthickness()ParSLConfig.Bufferthickness(float value)Sets the specified value to thethicknessfield.intu_mode()ParSLConfig.Bufferu_mode(int value)Sets the specified value to theParSLConfig.u_mode()field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newParSLConfig.Bufferinstance 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 byParSLConfig.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
-
thickness
public float thickness()
- Returns:
- the value of the
thicknessfield.
-
flags
public int flags()
- Returns:
- the value of the
ParSLConfig.flags()field.
-
u_mode
public int u_mode()
- Returns:
- the value of the
ParSLConfig.u_mode()field.
-
curves_max_flatness
public float curves_max_flatness()
- Returns:
- the value of the
curves_max_flatnessfield.
-
streamlines_seed_spacing
public float streamlines_seed_spacing()
- Returns:
- the value of the
streamlines_seed_spacingfield.
-
streamlines_seed_viewport
public ParSLViewport streamlines_seed_viewport()
- Returns:
- a
ParSLViewportview of thestreamlines_seed_viewportfield.
-
miter_limit
public float miter_limit()
- Returns:
- the value of the
miter_limitfield.
-
thickness
public ParSLConfig.Buffer thickness(float value)
Sets the specified value to thethicknessfield.
-
flags
public ParSLConfig.Buffer flags(int value)
Sets the specified value to theParSLConfig.flags()field.
-
u_mode
public ParSLConfig.Buffer u_mode(int value)
Sets the specified value to theParSLConfig.u_mode()field.
-
curves_max_flatness
public ParSLConfig.Buffer curves_max_flatness(float value)
Sets the specified value to thecurves_max_flatnessfield.
-
streamlines_seed_spacing
public ParSLConfig.Buffer streamlines_seed_spacing(float value)
Sets the specified value to thestreamlines_seed_spacingfield.
-
streamlines_seed_viewport
public ParSLConfig.Buffer streamlines_seed_viewport(ParSLViewport value)
Copies the specifiedParSLViewportto thestreamlines_seed_viewportfield.
-
streamlines_seed_viewport
public ParSLConfig.Buffer streamlines_seed_viewport(java.util.function.Consumer<ParSLViewport> consumer)
Passes thestreamlines_seed_viewportfield to the specifiedConsumer.
-
miter_limit
public ParSLConfig.Buffer miter_limit(float value)
Sets the specified value to themiter_limitfield.
-
-