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 ofOVRTextureLayoutOctilinear
structs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description float
SizeDown()
Returns the value of theSizeDown
field.OVRTextureLayoutOctilinear.Buffer
SizeDown(float value)
Sets the specified value to theSizeDown
field.float
SizeLeft()
Returns the value of theSizeLeft
field.OVRTextureLayoutOctilinear.Buffer
SizeLeft(float value)
Sets the specified value to theSizeLeft
field.float
SizeRight()
Returns the value of theSizeRight
field.OVRTextureLayoutOctilinear.Buffer
SizeRight(float value)
Sets the specified value to theSizeRight
field.float
SizeUp()
Returns the value of theSizeUp
field.OVRTextureLayoutOctilinear.Buffer
SizeUp(float value)
Sets the specified value to theSizeUp
field.float
WarpDown()
Returns the value of theWarpDown
field.OVRTextureLayoutOctilinear.Buffer
WarpDown(float value)
Sets the specified value to theWarpDown
field.float
WarpLeft()
Returns the value of theWarpLeft
field.OVRTextureLayoutOctilinear.Buffer
WarpLeft(float value)
Sets the specified value to theWarpLeft
field.float
WarpRight()
Returns the value of theWarpRight
field.OVRTextureLayoutOctilinear.Buffer
WarpRight(float value)
Sets the specified value to theWarpRight
field.float
WarpUp()
Returns the value of theWarpUp
field.OVRTextureLayoutOctilinear.Buffer
WarpUp(float value)
Sets the specified value to theWarpUp
field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newOVRTextureLayoutOctilinear.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 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 theWarpLeft
field.
-
WarpRight
public float WarpRight()
Returns the value of theWarpRight
field.
-
WarpUp
public float WarpUp()
Returns the value of theWarpUp
field.
-
WarpDown
public float WarpDown()
Returns the value of theWarpDown
field.
-
SizeLeft
public float SizeLeft()
Returns the value of theSizeLeft
field.
-
SizeRight
public float SizeRight()
Returns the value of theSizeRight
field.
-
SizeUp
public float SizeUp()
Returns the value of theSizeUp
field.
-
SizeDown
public float SizeDown()
Returns the value of theSizeDown
field.
-
WarpLeft
public OVRTextureLayoutOctilinear.Buffer WarpLeft(float value)
Sets the specified value to theWarpLeft
field.
-
WarpRight
public OVRTextureLayoutOctilinear.Buffer WarpRight(float value)
Sets the specified value to theWarpRight
field.
-
WarpUp
public OVRTextureLayoutOctilinear.Buffer WarpUp(float value)
Sets the specified value to theWarpUp
field.
-
WarpDown
public OVRTextureLayoutOctilinear.Buffer WarpDown(float value)
Sets the specified value to theWarpDown
field.
-
SizeLeft
public OVRTextureLayoutOctilinear.Buffer SizeLeft(float value)
Sets the specified value to theSizeLeft
field.
-
SizeRight
public OVRTextureLayoutOctilinear.Buffer SizeRight(float value)
Sets the specified value to theSizeRight
field.
-
SizeUp
public OVRTextureLayoutOctilinear.Buffer SizeUp(float value)
Sets the specified value to theSizeUp
field.
-
SizeDown
public OVRTextureLayoutOctilinear.Buffer SizeDown(float value)
Sets the specified value to theSizeDown
field.
-
-