Package org.lwjgl.openxr
Class XrSystemColorSpacePropertiesFB.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<XrSystemColorSpacePropertiesFB,XrSystemColorSpacePropertiesFB.Buffer>
-
- org.lwjgl.openxr.XrSystemColorSpacePropertiesFB.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<XrSystemColorSpacePropertiesFB>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- XrSystemColorSpacePropertiesFB
public static class XrSystemColorSpacePropertiesFB.Buffer extends org.lwjgl.system.StructBuffer<XrSystemColorSpacePropertiesFB,XrSystemColorSpacePropertiesFB.Buffer> implements org.lwjgl.system.NativeResource
An array ofXrSystemColorSpacePropertiesFBstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcolorSpace()XrSystemColorSpacePropertiesFB.BuffercolorSpace(int value)Sets the specified value to theXrSystemColorSpacePropertiesFB.colorSpace()field.longnext()XrSystemColorSpacePropertiesFB.Buffernext(long value)Sets the specified value to theXrSystemColorSpacePropertiesFB.next()field.inttype()XrSystemColorSpacePropertiesFB.Buffertype(int value)Sets the specified value to theXrSystemColorSpacePropertiesFB.type()field.XrSystemColorSpacePropertiesFB.Buffertype$Default()Sets theTYPE_SYSTEM_COLOR_SPACE_PROPERTIES_FBvalue to theXrSystemColorSpacePropertiesFB.type()field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newXrSystemColorSpacePropertiesFB.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 byXrSystemColorSpacePropertiesFB.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
XrSystemColorSpacePropertiesFB.type()field.
-
next
public long next()
- Returns:
- the value of the
XrSystemColorSpacePropertiesFB.next()field.
-
colorSpace
public int colorSpace()
- Returns:
- the value of the
XrSystemColorSpacePropertiesFB.colorSpace()field.
-
type
public XrSystemColorSpacePropertiesFB.Buffer type(int value)
Sets the specified value to theXrSystemColorSpacePropertiesFB.type()field.
-
type$Default
public XrSystemColorSpacePropertiesFB.Buffer type$Default()
Sets theTYPE_SYSTEM_COLOR_SPACE_PROPERTIES_FBvalue to theXrSystemColorSpacePropertiesFB.type()field.
-
next
public XrSystemColorSpacePropertiesFB.Buffer next(long value)
Sets the specified value to theXrSystemColorSpacePropertiesFB.next()field.
-
colorSpace
public XrSystemColorSpacePropertiesFB.Buffer colorSpace(int value)
Sets the specified value to theXrSystemColorSpacePropertiesFB.colorSpace()field.
-
-