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 ofVROverlayIntersectionMaskPrimitiveData
structs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntersectionMaskCircle
m_Circle()
Returns aIntersectionMaskCircle
view of them_Circle
field.VROverlayIntersectionMaskPrimitiveData.Buffer
m_Circle(java.util.function.Consumer<IntersectionMaskCircle> consumer)
Passes them_Circle
field to the specifiedConsumer
.VROverlayIntersectionMaskPrimitiveData.Buffer
m_Circle(IntersectionMaskCircle value)
Copies the specifiedIntersectionMaskCircle
to them_Circle
field.IntersectionMaskRectangle
m_Rectangle()
Returns aIntersectionMaskRectangle
view of them_Rectangle
field.VROverlayIntersectionMaskPrimitiveData.Buffer
m_Rectangle(java.util.function.Consumer<IntersectionMaskRectangle> consumer)
Passes them_Rectangle
field to the specifiedConsumer
.VROverlayIntersectionMaskPrimitiveData.Buffer
m_Rectangle(IntersectionMaskRectangle value)
Copies the specifiedIntersectionMaskRectangle
to them_Rectangle
field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVROverlayIntersectionMaskPrimitiveData.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 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 aIntersectionMaskRectangle
view of them_Rectangle
field.
-
m_Circle
public IntersectionMaskCircle m_Circle()
Returns aIntersectionMaskCircle
view of them_Circle
field.
-
m_Rectangle
public VROverlayIntersectionMaskPrimitiveData.Buffer m_Rectangle(IntersectionMaskRectangle value)
Copies the specifiedIntersectionMaskRectangle
to them_Rectangle
field.
-
m_Rectangle
public VROverlayIntersectionMaskPrimitiveData.Buffer m_Rectangle(java.util.function.Consumer<IntersectionMaskRectangle> consumer)
Passes them_Rectangle
field to the specifiedConsumer
.
-
m_Circle
public VROverlayIntersectionMaskPrimitiveData.Buffer m_Circle(IntersectionMaskCircle value)
Copies the specifiedIntersectionMaskCircle
to them_Circle
field.
-
m_Circle
public VROverlayIntersectionMaskPrimitiveData.Buffer m_Circle(java.util.function.Consumer<IntersectionMaskCircle> consumer)
Passes them_Circle
field to the specifiedConsumer
.
-
-