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 ofVRTextureBounds
structs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description float
uMax()
Returns the value of theuMax
field.VRTextureBounds.Buffer
uMax(float value)
Sets the specified value to theuMax
field.float
uMin()
Returns the value of theuMin
field.VRTextureBounds.Buffer
uMin(float value)
Sets the specified value to theuMin
field.float
vMax()
Returns the value of thevMax
field.VRTextureBounds.Buffer
vMax(float value)
Sets the specified value to thevMax
field.float
vMin()
Returns the value of thevMin
field.VRTextureBounds.Buffer
vMin(float value)
Sets the specified value to thevMin
field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVRTextureBounds.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 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 theuMin
field.
-
vMin
public float vMin()
Returns the value of thevMin
field.
-
uMax
public float uMax()
Returns the value of theuMax
field.
-
vMax
public float vMax()
Returns the value of thevMax
field.
-
uMin
public VRTextureBounds.Buffer uMin(float value)
Sets the specified value to theuMin
field.
-
vMin
public VRTextureBounds.Buffer vMin(float value)
Sets the specified value to thevMin
field.
-
uMax
public VRTextureBounds.Buffer uMax(float value)
Sets the specified value to theuMax
field.
-
vMax
public VRTextureBounds.Buffer vMax(float value)
Sets the specified value to thevMax
field.
-
-