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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description floatSizeDown()Returns the value of theSizeDownfield.OVRTextureLayoutOctilinear.BufferSizeDown(float value)Sets the specified value to theSizeDownfield.floatSizeLeft()Returns the value of theSizeLeftfield.OVRTextureLayoutOctilinear.BufferSizeLeft(float value)Sets the specified value to theSizeLeftfield.floatSizeRight()Returns the value of theSizeRightfield.OVRTextureLayoutOctilinear.BufferSizeRight(float value)Sets the specified value to theSizeRightfield.floatSizeUp()Returns the value of theSizeUpfield.OVRTextureLayoutOctilinear.BufferSizeUp(float value)Sets the specified value to theSizeUpfield.floatWarpDown()Returns the value of theWarpDownfield.OVRTextureLayoutOctilinear.BufferWarpDown(float value)Sets the specified value to theWarpDownfield.floatWarpLeft()Returns the value of theWarpLeftfield.OVRTextureLayoutOctilinear.BufferWarpLeft(float value)Sets the specified value to theWarpLeftfield.floatWarpRight()Returns the value of theWarpRightfield.OVRTextureLayoutOctilinear.BufferWarpRight(float value)Sets the specified value to theWarpRightfield.floatWarpUp()Returns the value of theWarpUpfield.OVRTextureLayoutOctilinear.BufferWarpUp(float value)Sets the specified value to theWarpUpfield.
-
-
-
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 theWarpLeftfield.
-
WarpRight
public float WarpRight()
Returns the value of theWarpRightfield.
-
WarpUp
public float WarpUp()
Returns the value of theWarpUpfield.
-
WarpDown
public float WarpDown()
Returns the value of theWarpDownfield.
-
SizeLeft
public float SizeLeft()
Returns the value of theSizeLeftfield.
-
SizeRight
public float SizeRight()
Returns the value of theSizeRightfield.
-
SizeUp
public float SizeUp()
Returns the value of theSizeUpfield.
-
SizeDown
public float SizeDown()
Returns the value of theSizeDownfield.
-
WarpLeft
public OVRTextureLayoutOctilinear.Buffer WarpLeft(float value)
Sets the specified value to theWarpLeftfield.
-
WarpRight
public OVRTextureLayoutOctilinear.Buffer WarpRight(float value)
Sets the specified value to theWarpRightfield.
-
WarpUp
public OVRTextureLayoutOctilinear.Buffer WarpUp(float value)
Sets the specified value to theWarpUpfield.
-
WarpDown
public OVRTextureLayoutOctilinear.Buffer WarpDown(float value)
Sets the specified value to theWarpDownfield.
-
SizeLeft
public OVRTextureLayoutOctilinear.Buffer SizeLeft(float value)
Sets the specified value to theSizeLeftfield.
-
SizeRight
public OVRTextureLayoutOctilinear.Buffer SizeRight(float value)
Sets the specified value to theSizeRightfield.
-
SizeUp
public OVRTextureLayoutOctilinear.Buffer SizeUp(float value)
Sets the specified value to theSizeUpfield.
-
SizeDown
public OVRTextureLayoutOctilinear.Buffer SizeDown(float value)
Sets the specified value to theSizeDownfield.
-
-