Package org.lwjgl.ovr
Class OVRTextureLayoutOctilinear.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<OVRTextureLayoutOctilinear,OVRTextureLayoutOctilinear.Buffer>
-
- org.lwjgl.ovr.OVRTextureLayoutOctilinear.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<OVRTextureLayoutOctilinear>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- OVRTextureLayoutOctilinear
public static class OVRTextureLayoutOctilinear.Buffer extends org.lwjgl.system.StructBuffer<OVRTextureLayoutOctilinear,OVRTextureLayoutOctilinear.Buffer> implements org.lwjgl.system.NativeResource
An array ofOVRTextureLayoutOctilinearstructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newOVRTextureLayoutOctilinear.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 byOVRTextureLayoutOctilinear.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
-
WarpLeft
public float WarpLeft()
- Returns:
- the value of the
OVRTextureLayoutOctilinear.WarpLeft()field.
-
WarpRight
public float WarpRight()
- Returns:
- the value of the
OVRTextureLayoutOctilinear.WarpRight()field.
-
WarpUp
public float WarpUp()
- Returns:
- the value of the
OVRTextureLayoutOctilinear.WarpUp()field.
-
WarpDown
public float WarpDown()
- Returns:
- the value of the
OVRTextureLayoutOctilinear.WarpDown()field.
-
SizeLeft
public float SizeLeft()
- Returns:
- the value of the
OVRTextureLayoutOctilinear.SizeLeft()field.
-
SizeRight
public float SizeRight()
- Returns:
- the value of the
OVRTextureLayoutOctilinear.SizeRight()field.
-
SizeUp
public float SizeUp()
- Returns:
- the value of the
OVRTextureLayoutOctilinear.SizeUp()field.
-
SizeDown
public float SizeDown()
- Returns:
- the value of the
OVRTextureLayoutOctilinear.SizeDown()field.
-
WarpLeft
public OVRTextureLayoutOctilinear.Buffer WarpLeft(float value)
Sets the specified value to theOVRTextureLayoutOctilinear.WarpLeft()field.
-
WarpRight
public OVRTextureLayoutOctilinear.Buffer WarpRight(float value)
Sets the specified value to theOVRTextureLayoutOctilinear.WarpRight()field.
-
WarpUp
public OVRTextureLayoutOctilinear.Buffer WarpUp(float value)
Sets the specified value to theOVRTextureLayoutOctilinear.WarpUp()field.
-
WarpDown
public OVRTextureLayoutOctilinear.Buffer WarpDown(float value)
Sets the specified value to theOVRTextureLayoutOctilinear.WarpDown()field.
-
SizeLeft
public OVRTextureLayoutOctilinear.Buffer SizeLeft(float value)
Sets the specified value to theOVRTextureLayoutOctilinear.SizeLeft()field.
-
SizeRight
public OVRTextureLayoutOctilinear.Buffer SizeRight(float value)
Sets the specified value to theOVRTextureLayoutOctilinear.SizeRight()field.
-
SizeUp
public OVRTextureLayoutOctilinear.Buffer SizeUp(float value)
Sets the specified value to theOVRTextureLayoutOctilinear.SizeUp()field.
-
SizeDown
public OVRTextureLayoutOctilinear.Buffer SizeDown(float value)
Sets the specified value to theOVRTextureLayoutOctilinear.SizeDown()field.
-
-