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:
AutoCloseable
,Iterable<OVRTextureLayoutOctilinear>
,NativeResource
,Pointer
- Enclosing class:
OVRTextureLayoutOctilinear
public static class OVRTextureLayoutOctilinear.Buffer
extends StructBuffer<OVRTextureLayoutOctilinear,OVRTextureLayoutOctilinear.Buffer>
implements NativeResource
An array of
OVRTextureLayoutOctilinear
structs.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorDescriptionBuffer
(long address, int cap) Buffer
(ByteBuffer container) Creates a newOVRTextureLayoutOctilinear.Buffer
instance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionfloat
SizeDown()
SizeDown
(float value) Sets the specified value to theOVRTextureLayoutOctilinear.SizeDown()
field.float
SizeLeft()
SizeLeft
(float value) Sets the specified value to theOVRTextureLayoutOctilinear.SizeLeft()
field.float
SizeRight
(float value) Sets the specified value to theOVRTextureLayoutOctilinear.SizeRight()
field.float
SizeUp()
SizeUp
(float value) Sets the specified value to theOVRTextureLayoutOctilinear.SizeUp()
field.float
WarpDown()
WarpDown
(float value) Sets the specified value to theOVRTextureLayoutOctilinear.WarpDown()
field.float
WarpLeft()
WarpLeft
(float value) Sets the specified value to theOVRTextureLayoutOctilinear.WarpLeft()
field.float
WarpRight
(float value) Sets the specified value to theOVRTextureLayoutOctilinear.WarpRight()
field.float
WarpUp()
WarpUp
(float value) Sets the specified value to theOVRTextureLayoutOctilinear.WarpUp()
field.Methods inherited from class org.lwjgl.system.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, stream
Methods inherited from class org.lwjgl.system.CustomBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, hasRemaining, limit, limit, mark, position, position, put, remaining, reset, rewind, slice, slice, toString
Methods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCode
Methods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
Buffer
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 by
OVRTextureLayoutOctilinear.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 Details
-
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
Sets the specified value to theOVRTextureLayoutOctilinear.WarpLeft()
field. -
WarpRight
Sets the specified value to theOVRTextureLayoutOctilinear.WarpRight()
field. -
WarpUp
Sets the specified value to theOVRTextureLayoutOctilinear.WarpUp()
field. -
WarpDown
Sets the specified value to theOVRTextureLayoutOctilinear.WarpDown()
field. -
SizeLeft
Sets the specified value to theOVRTextureLayoutOctilinear.SizeLeft()
field. -
SizeRight
Sets the specified value to theOVRTextureLayoutOctilinear.SizeRight()
field. -
SizeUp
Sets the specified value to theOVRTextureLayoutOctilinear.SizeUp()
field. -
SizeDown
Sets the specified value to theOVRTextureLayoutOctilinear.SizeDown()
field.
-