Package org.lwjgl.ovr
Class OVRLayerCylinder.Buffer
- java.lang.Object
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<OVRLayerCylinder,OVRLayerCylinder.Buffer>
-
- org.lwjgl.ovr.OVRLayerCylinder.Buffer
-
- All Implemented Interfaces:
- java.lang.AutoCloseable, java.lang.Iterable<OVRLayerCylinder>, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer
- Enclosing class:
- OVRLayerCylinder
public static class OVRLayerCylinder.Buffer extends org.lwjgl.system.StructBuffer<OVRLayerCylinder,OVRLayerCylinder.Buffer> implements org.lwjgl.system.NativeResource
An array ofOVRLayerCylinderstructs.
-
-
Constructor Summary
Constructors Constructor and Description Buffer(java.nio.ByteBuffer container)Creates a newOVRLayerCylinder.Bufferinstance backed by the specified container.Buffer(long address, int cap)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description longColorTexture()Returns the value of theColorTexturefield.OVRLayerCylinder.BufferColorTexture(long value)Sets the specified value to theColorTexturefield.floatCylinderAngle()Returns the value of theCylinderAnglefield.OVRLayerCylinder.BufferCylinderAngle(float value)Sets the specified value to theCylinderAnglefield.floatCylinderAspectRatio()Returns the value of theCylinderAspectRatiofield.OVRLayerCylinder.BufferCylinderAspectRatio(float value)Sets the specified value to theCylinderAspectRatiofield.OVRPosefCylinderPoseCenter()Returns aOVRPosefview of theCylinderPoseCenterfield.OVRLayerCylinder.BufferCylinderPoseCenter(OVRPosef value)Copies the specifiedOVRPosefto theCylinderPoseCenterfield.floatCylinderRadius()Returns the value of theCylinderRadiusfield.OVRLayerCylinder.BufferCylinderRadius(float value)Sets the specified value to theCylinderRadiusfield.OVRLayerHeaderHeader()Returns aOVRLayerHeaderview of theHeaderfield.OVRLayerCylinder.BufferHeader(OVRLayerHeader value)Copies the specifiedOVRLayerHeaderto theHeaderfield.intsizeof()OVRRectiViewport()Returns aOVRRectiview of theViewportfield.OVRLayerCylinder.BufferViewport(OVRRecti value)Copies the specifiedOVRRectito theViewportfield.-
Methods inherited from class org.lwjgl.system.StructBuffer
forEach, get, get, get, get, iterator, parallelStream, put, put, 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
-
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newOVRLayerCylinder.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 byOVRLayerCylinder.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
-
sizeof
public int sizeof()
- Specified by:
sizeofin classorg.lwjgl.system.CustomBuffer<OVRLayerCylinder.Buffer>
-
Header
public OVRLayerHeader Header()
Returns aOVRLayerHeaderview of theHeaderfield.
-
ColorTexture
public long ColorTexture()
Returns the value of theColorTexturefield.
-
CylinderPoseCenter
public OVRPosef CylinderPoseCenter()
Returns aOVRPosefview of theCylinderPoseCenterfield.
-
CylinderRadius
public float CylinderRadius()
Returns the value of theCylinderRadiusfield.
-
CylinderAngle
public float CylinderAngle()
Returns the value of theCylinderAnglefield.
-
CylinderAspectRatio
public float CylinderAspectRatio()
Returns the value of theCylinderAspectRatiofield.
-
Header
public OVRLayerCylinder.Buffer Header(OVRLayerHeader value)
Copies the specifiedOVRLayerHeaderto theHeaderfield.
-
ColorTexture
public OVRLayerCylinder.Buffer ColorTexture(long value)
Sets the specified value to theColorTexturefield.
-
Viewport
public OVRLayerCylinder.Buffer Viewport(OVRRecti value)
Copies the specifiedOVRRectito theViewportfield.
-
CylinderPoseCenter
public OVRLayerCylinder.Buffer CylinderPoseCenter(OVRPosef value)
Copies the specifiedOVRPosefto theCylinderPoseCenterfield.
-
CylinderRadius
public OVRLayerCylinder.Buffer CylinderRadius(float value)
Sets the specified value to theCylinderRadiusfield.
-
CylinderAngle
public OVRLayerCylinder.Buffer CylinderAngle(float value)
Sets the specified value to theCylinderAnglefield.
-
CylinderAspectRatio
public OVRLayerCylinder.Buffer CylinderAspectRatio(float value)
Sets the specified value to theCylinderAspectRatiofield.
-
-