Package org.lwjgl.openxr
Class XrCompositionLayerDepthTestVARJO.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<XrCompositionLayerDepthTestVARJO,XrCompositionLayerDepthTestVARJO.Buffer>
-
- org.lwjgl.openxr.XrCompositionLayerDepthTestVARJO.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<XrCompositionLayerDepthTestVARJO>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- XrCompositionLayerDepthTestVARJO
public static class XrCompositionLayerDepthTestVARJO.Buffer extends org.lwjgl.system.StructBuffer<XrCompositionLayerDepthTestVARJO,XrCompositionLayerDepthTestVARJO.Buffer> implements org.lwjgl.system.NativeResource
An array ofXrCompositionLayerDepthTestVARJOstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description floatdepthTestRangeFarZ()XrCompositionLayerDepthTestVARJO.BufferdepthTestRangeFarZ(float value)Sets the specified value to theXrCompositionLayerDepthTestVARJO.depthTestRangeFarZ()field.floatdepthTestRangeNearZ()XrCompositionLayerDepthTestVARJO.BufferdepthTestRangeNearZ(float value)Sets the specified value to theXrCompositionLayerDepthTestVARJO.depthTestRangeNearZ()field.longnext()XrCompositionLayerDepthTestVARJO.Buffernext(long value)Sets the specified value to theXrCompositionLayerDepthTestVARJO.next()field.inttype()XrCompositionLayerDepthTestVARJO.Buffertype(int value)Sets the specified value to theXrCompositionLayerDepthTestVARJO.type()field.XrCompositionLayerDepthTestVARJO.Buffertype$Default()Sets theTYPE_COMPOSITION_LAYER_DEPTH_TEST_VARJOvalue to theXrCompositionLayerDepthTestVARJO.type()field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newXrCompositionLayerDepthTestVARJO.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 byXrCompositionLayerDepthTestVARJO.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
XrCompositionLayerDepthTestVARJO.type()field.
-
next
public long next()
- Returns:
- the value of the
XrCompositionLayerDepthTestVARJO.next()field.
-
depthTestRangeNearZ
public float depthTestRangeNearZ()
- Returns:
- the value of the
XrCompositionLayerDepthTestVARJO.depthTestRangeNearZ()field.
-
depthTestRangeFarZ
public float depthTestRangeFarZ()
- Returns:
- the value of the
XrCompositionLayerDepthTestVARJO.depthTestRangeFarZ()field.
-
type
public XrCompositionLayerDepthTestVARJO.Buffer type(int value)
Sets the specified value to theXrCompositionLayerDepthTestVARJO.type()field.
-
type$Default
public XrCompositionLayerDepthTestVARJO.Buffer type$Default()
Sets theTYPE_COMPOSITION_LAYER_DEPTH_TEST_VARJOvalue to theXrCompositionLayerDepthTestVARJO.type()field.
-
next
public XrCompositionLayerDepthTestVARJO.Buffer next(long value)
Sets the specified value to theXrCompositionLayerDepthTestVARJO.next()field.
-
depthTestRangeNearZ
public XrCompositionLayerDepthTestVARJO.Buffer depthTestRangeNearZ(float value)
Sets the specified value to theXrCompositionLayerDepthTestVARJO.depthTestRangeNearZ()field.
-
depthTestRangeFarZ
public XrCompositionLayerDepthTestVARJO.Buffer depthTestRangeFarZ(float value)
Sets the specified value to theXrCompositionLayerDepthTestVARJO.depthTestRangeFarZ()field.
-
-