Package org.lwjgl.ovr
Class OVRTextureLayoutOctilinear.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<OVRTextureLayoutOctilinear.Buffer>
org.lwjgl.system.StructBuffer<OVRTextureLayoutOctilinear,OVRTextureLayoutOctilinear.Buffer>
org.lwjgl.ovr.OVRTextureLayoutOctilinear.Buffer
- All Implemented Interfaces:
AutoCloseable,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 of
OVRTextureLayoutOctilinear structs.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
org.lwjgl.system.Pointer.Default -
Field Summary
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionBuffer(long address, int cap) Buffer(ByteBuffer container) Creates a newOVRTextureLayoutOctilinear.Bufferinstance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionfloatSizeDown()SizeDown(float value) Sets the specified value to theOVRTextureLayoutOctilinear.SizeDown()field.floatSizeLeft()SizeLeft(float value) Sets the specified value to theOVRTextureLayoutOctilinear.SizeLeft()field.floatSizeRight(float value) Sets the specified value to theOVRTextureLayoutOctilinear.SizeRight()field.floatSizeUp()SizeUp(float value) Sets the specified value to theOVRTextureLayoutOctilinear.SizeUp()field.floatWarpDown()WarpDown(float value) Sets the specified value to theOVRTextureLayoutOctilinear.WarpDown()field.floatWarpLeft()WarpLeft(float value) Sets the specified value to theOVRTextureLayoutOctilinear.WarpLeft()field.floatWarpRight(float value) Sets the specified value to theOVRTextureLayoutOctilinear.WarpRight()field.floatWarpUp()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, streamMethods 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, toStringMethods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCodeMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
Buffer
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 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.
-