Package org.lwjgl.openvr
Class VRTextureBounds.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VRTextureBounds,VRTextureBounds.Buffer>
-
- org.lwjgl.openvr.VRTextureBounds.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<VRTextureBounds>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- VRTextureBounds
public static class VRTextureBounds.Buffer extends org.lwjgl.system.StructBuffer<VRTextureBounds,VRTextureBounds.Buffer> implements org.lwjgl.system.NativeResource
An array ofVRTextureBoundsstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description floatuMax()VRTextureBounds.BufferuMax(float value)Sets the specified value to theuMaxfield.floatuMin()VRTextureBounds.BufferuMin(float value)Sets the specified value to theuMinfield.floatvMax()VRTextureBounds.BuffervMax(float value)Sets the specified value to thevMaxfield.floatvMin()VRTextureBounds.BuffervMin(float value)Sets the specified value to thevMinfield.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVRTextureBounds.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 byVRTextureBounds.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
-
uMin
public float uMin()
- Returns:
- the value of the
uMinfield.
-
vMin
public float vMin()
- Returns:
- the value of the
vMinfield.
-
uMax
public float uMax()
- Returns:
- the value of the
uMaxfield.
-
vMax
public float vMax()
- Returns:
- the value of the
vMaxfield.
-
uMin
public VRTextureBounds.Buffer uMin(float value)
Sets the specified value to theuMinfield.
-
vMin
public VRTextureBounds.Buffer vMin(float value)
Sets the specified value to thevMinfield.
-
uMax
public VRTextureBounds.Buffer uMax(float value)
Sets the specified value to theuMaxfield.
-
vMax
public VRTextureBounds.Buffer vMax(float value)
Sets the specified value to thevMaxfield.
-
-