Package org.lwjgl.openvr
Class VROverlayIntersectionMaskPrimitiveData.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VROverlayIntersectionMaskPrimitiveData,VROverlayIntersectionMaskPrimitiveData.Buffer>
-
- org.lwjgl.openvr.VROverlayIntersectionMaskPrimitiveData.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<VROverlayIntersectionMaskPrimitiveData>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- VROverlayIntersectionMaskPrimitiveData
public static class VROverlayIntersectionMaskPrimitiveData.Buffer extends org.lwjgl.system.StructBuffer<VROverlayIntersectionMaskPrimitiveData,VROverlayIntersectionMaskPrimitiveData.Buffer> implements org.lwjgl.system.NativeResource
An array ofVROverlayIntersectionMaskPrimitiveDatastructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntersectionMaskCirclem_Circle()Returns aIntersectionMaskCircleview of them_Circlefield.VROverlayIntersectionMaskPrimitiveData.Bufferm_Circle(java.util.function.Consumer<IntersectionMaskCircle> consumer)Passes them_Circlefield to the specifiedConsumer.VROverlayIntersectionMaskPrimitiveData.Bufferm_Circle(IntersectionMaskCircle value)Copies the specifiedIntersectionMaskCircleto them_Circlefield.IntersectionMaskRectanglem_Rectangle()Returns aIntersectionMaskRectangleview of them_Rectanglefield.VROverlayIntersectionMaskPrimitiveData.Bufferm_Rectangle(java.util.function.Consumer<IntersectionMaskRectangle> consumer)Passes them_Rectanglefield to the specifiedConsumer.VROverlayIntersectionMaskPrimitiveData.Bufferm_Rectangle(IntersectionMaskRectangle value)Copies the specifiedIntersectionMaskRectangleto them_Rectanglefield.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVROverlayIntersectionMaskPrimitiveData.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 byVROverlayIntersectionMaskPrimitiveData.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
-
m_Rectangle
public IntersectionMaskRectangle m_Rectangle()
Returns aIntersectionMaskRectangleview of them_Rectanglefield.
-
m_Circle
public IntersectionMaskCircle m_Circle()
Returns aIntersectionMaskCircleview of them_Circlefield.
-
m_Rectangle
public VROverlayIntersectionMaskPrimitiveData.Buffer m_Rectangle(IntersectionMaskRectangle value)
Copies the specifiedIntersectionMaskRectangleto them_Rectanglefield.
-
m_Rectangle
public VROverlayIntersectionMaskPrimitiveData.Buffer m_Rectangle(java.util.function.Consumer<IntersectionMaskRectangle> consumer)
Passes them_Rectanglefield to the specifiedConsumer.
-
m_Circle
public VROverlayIntersectionMaskPrimitiveData.Buffer m_Circle(IntersectionMaskCircle value)
Copies the specifiedIntersectionMaskCircleto them_Circlefield.
-
m_Circle
public VROverlayIntersectionMaskPrimitiveData.Buffer m_Circle(java.util.function.Consumer<IntersectionMaskCircle> consumer)
Passes them_Circlefield to the specifiedConsumer.
-
-