Package org.lwjgl.util.par
Class ParOctasphereConfig.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<ParOctasphereConfig,ParOctasphereConfig.Buffer>
-
- org.lwjgl.util.par.ParOctasphereConfig.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<ParOctasphereConfig>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- ParOctasphereConfig
public static class ParOctasphereConfig.Buffer extends org.lwjgl.system.StructBuffer<ParOctasphereConfig,ParOctasphereConfig.Buffer> implements org.lwjgl.system.NativeResource
An array ofParOctasphereConfigstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description floatcorner_radius()ParOctasphereConfig.Buffercorner_radius(float value)Sets the specified value to thecorner_radiusfield.floatdepth()ParOctasphereConfig.Bufferdepth(float value)Sets the specified value to thedepthfield.floatheight()ParOctasphereConfig.Bufferheight(float value)Sets the specified value to theheightfield.intnormals_mode()ParOctasphereConfig.Buffernormals_mode(int value)Sets the specified value to thenormals_modefield.intnum_subdivisions()ParOctasphereConfig.Buffernum_subdivisions(int value)Sets the specified value to thenum_subdivisionsfield.intuv_mode()ParOctasphereConfig.Bufferuv_mode(int value)Sets the specified value to theuv_modefield.floatwidth()ParOctasphereConfig.Bufferwidth(float value)Sets the specified value to thewidthfield.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newParOctasphereConfig.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 byParOctasphereConfig.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
-
corner_radius
public float corner_radius()
- Returns:
- the value of the
corner_radiusfield.
-
width
public float width()
- Returns:
- the value of the
widthfield.
-
height
public float height()
- Returns:
- the value of the
heightfield.
-
depth
public float depth()
- Returns:
- the value of the
depthfield.
-
num_subdivisions
public int num_subdivisions()
- Returns:
- the value of the
num_subdivisionsfield.
-
uv_mode
public int uv_mode()
- Returns:
- the value of the
uv_modefield.
-
normals_mode
public int normals_mode()
- Returns:
- the value of the
normals_modefield.
-
corner_radius
public ParOctasphereConfig.Buffer corner_radius(float value)
Sets the specified value to thecorner_radiusfield.
-
width
public ParOctasphereConfig.Buffer width(float value)
Sets the specified value to thewidthfield.
-
height
public ParOctasphereConfig.Buffer height(float value)
Sets the specified value to theheightfield.
-
depth
public ParOctasphereConfig.Buffer depth(float value)
Sets the specified value to thedepthfield.
-
num_subdivisions
public ParOctasphereConfig.Buffer num_subdivisions(int value)
Sets the specified value to thenum_subdivisionsfield.
-
uv_mode
public ParOctasphereConfig.Buffer uv_mode(int value)
Sets the specified value to theuv_modefield.
-
normals_mode
public ParOctasphereConfig.Buffer normals_mode(int value)
Sets the specified value to thenormals_modefield.
-
-