public static class ParSLConfig.Buffer extends org.lwjgl.system.StructBuffer<ParSLConfig,ParSLConfig.Buffer> implements org.lwjgl.system.NativeResource
ParSLConfig structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
ParSLConfig.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
float |
curves_max_flatness()
Returns the value of the
curves_max_flatness field. |
ParSLConfig.Buffer |
curves_max_flatness(float value)
Sets the specified value to the
curves_max_flatness field. |
int |
flags()
Returns the value of the
flags field. |
ParSLConfig.Buffer |
flags(int value)
Sets the specified value to the
flags field. |
float |
miter_limit()
Returns the value of the
miter_limit field. |
ParSLConfig.Buffer |
miter_limit(float value)
Sets the specified value to the
miter_limit field. |
float |
streamlines_seed_spacing()
Returns the value of the
streamlines_seed_spacing field. |
ParSLConfig.Buffer |
streamlines_seed_spacing(float value)
Sets the specified value to the
streamlines_seed_spacing field. |
ParSLViewport |
streamlines_seed_viewport()
Returns a
ParSLViewport view of the streamlines_seed_viewport field. |
ParSLConfig.Buffer |
streamlines_seed_viewport(java.util.function.Consumer<ParSLViewport> consumer)
Passes the
streamlines_seed_viewport field to the specified Consumer. |
ParSLConfig.Buffer |
streamlines_seed_viewport(ParSLViewport value)
Copies the specified
ParSLViewport to the streamlines_seed_viewport field. |
float |
thickness()
Returns the value of the
thickness field. |
ParSLConfig.Buffer |
thickness(float value)
Sets the specified value to the
thickness field. |
int |
u_mode()
Returns the value of the
u_mode field. |
ParSLConfig.Buffer |
u_mode(int value)
Sets the specified value to the
u_mode field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
ParSLConfig.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
by ParSLConfig.SIZEOF, and its mark will be undefined.
The created buffer instance holds a strong reference to the container object.
public Buffer(long address,
int cap)
public float thickness()
thickness field.public int flags()
flags field.public int u_mode()
u_mode field.public float curves_max_flatness()
curves_max_flatness field.public float streamlines_seed_spacing()
streamlines_seed_spacing field.public ParSLViewport streamlines_seed_viewport()
ParSLViewport view of the streamlines_seed_viewport field.public float miter_limit()
miter_limit field.public ParSLConfig.Buffer thickness(float value)
thickness field.public ParSLConfig.Buffer flags(int value)
flags field.public ParSLConfig.Buffer u_mode(int value)
u_mode field.public ParSLConfig.Buffer curves_max_flatness(float value)
curves_max_flatness field.public ParSLConfig.Buffer streamlines_seed_spacing(float value)
streamlines_seed_spacing field.public ParSLConfig.Buffer streamlines_seed_viewport(ParSLViewport value)
ParSLViewport to the streamlines_seed_viewport field.public ParSLConfig.Buffer streamlines_seed_viewport(java.util.function.Consumer<ParSLViewport> consumer)
streamlines_seed_viewport field to the specified Consumer.public ParSLConfig.Buffer miter_limit(float value)
miter_limit field.Copyright LWJGL. All Rights Reserved. License terms.