Package org.lwjgl.openxr
Class XrCompositionLayerProjection.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<XrCompositionLayerProjection,XrCompositionLayerProjection.Buffer>
-
- org.lwjgl.openxr.XrCompositionLayerProjection.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<XrCompositionLayerProjection>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- XrCompositionLayerProjection
public static class XrCompositionLayerProjection.Buffer extends org.lwjgl.system.StructBuffer<XrCompositionLayerProjection,XrCompositionLayerProjection.Buffer> implements org.lwjgl.system.NativeResource
An array ofXrCompositionLayerProjectionstructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newXrCompositionLayerProjection.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 byXrCompositionLayerProjection.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
-
type
public int type()
- Returns:
- the value of the
XrCompositionLayerProjection.type()field.
-
next
public long next()
- Returns:
- the value of the
XrCompositionLayerProjection.next()field.
-
layerFlags
public long layerFlags()
- Returns:
- the value of the
XrCompositionLayerProjection.layerFlags()field.
-
space
public long space()
- Returns:
- the value of the
XrCompositionLayerProjection.space()field.
-
viewCount
public int viewCount()
- Returns:
- the value of the
XrCompositionLayerProjection.viewCount()field.
-
views
public XrCompositionLayerProjectionView.Buffer views()
- Returns:
- a
XrCompositionLayerProjectionView.Bufferview of the struct array pointed to by theXrCompositionLayerProjection.views()field.
-
type
public XrCompositionLayerProjection.Buffer type(int value)
Sets the specified value to theXrCompositionLayerProjection.type()field.
-
type$Default
public XrCompositionLayerProjection.Buffer type$Default()
Sets theTYPE_COMPOSITION_LAYER_PROJECTIONvalue to theXrCompositionLayerProjection.type()field.
-
next
public XrCompositionLayerProjection.Buffer next(long value)
Sets the specified value to theXrCompositionLayerProjection.next()field.
-
next
public XrCompositionLayerProjection.Buffer next(XrCompositionLayerDepthTestVARJO value)
Prepends the specifiedXrCompositionLayerDepthTestVARJOvalue to thenextchain.
-
next
public XrCompositionLayerProjection.Buffer next(XrCompositionLayerReprojectionInfoMSFT value)
Prepends the specifiedXrCompositionLayerReprojectionInfoMSFTvalue to thenextchain.
-
next
public XrCompositionLayerProjection.Buffer next(XrCompositionLayerReprojectionPlaneOverrideMSFT value)
Prepends the specifiedXrCompositionLayerReprojectionPlaneOverrideMSFTvalue to thenextchain.
-
layerFlags
public XrCompositionLayerProjection.Buffer layerFlags(long value)
Sets the specified value to theXrCompositionLayerProjection.layerFlags()field.
-
space
public XrCompositionLayerProjection.Buffer space(XrSpace value)
Sets the specified value to theXrCompositionLayerProjection.space()field.
-
views
public XrCompositionLayerProjection.Buffer views(XrCompositionLayerProjectionView.Buffer value)
Sets the address of the specifiedXrCompositionLayerProjectionView.Bufferto theXrCompositionLayerProjection.views()field.
-
-