Package org.lwjgl.openxr
Class XrEventDataPerfSettingsEXT.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<XrEventDataPerfSettingsEXT,XrEventDataPerfSettingsEXT.Buffer>
-
- org.lwjgl.openxr.XrEventDataPerfSettingsEXT.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<XrEventDataPerfSettingsEXT>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- XrEventDataPerfSettingsEXT
public static class XrEventDataPerfSettingsEXT.Buffer extends org.lwjgl.system.StructBuffer<XrEventDataPerfSettingsEXT,XrEventDataPerfSettingsEXT.Buffer> implements org.lwjgl.system.NativeResource
An array ofXrEventDataPerfSettingsEXTstructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newXrEventDataPerfSettingsEXT.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 byXrEventDataPerfSettingsEXT.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
XrEventDataPerfSettingsEXT.type()field.
-
next
public long next()
- Returns:
- the value of the
XrEventDataPerfSettingsEXT.next()field.
-
domain
public int domain()
- Returns:
- the value of the
XrEventDataPerfSettingsEXT.domain()field.
-
subDomain
public int subDomain()
- Returns:
- the value of the
XrEventDataPerfSettingsEXT.subDomain()field.
-
fromLevel
public int fromLevel()
- Returns:
- the value of the
XrEventDataPerfSettingsEXT.fromLevel()field.
-
toLevel
public int toLevel()
- Returns:
- the value of the
XrEventDataPerfSettingsEXT.toLevel()field.
-
type
public XrEventDataPerfSettingsEXT.Buffer type(int value)
Sets the specified value to theXrEventDataPerfSettingsEXT.type()field.
-
type$Default
public XrEventDataPerfSettingsEXT.Buffer type$Default()
Sets theTYPE_EVENT_DATA_PERF_SETTINGS_EXTvalue to theXrEventDataPerfSettingsEXT.type()field.
-
next
public XrEventDataPerfSettingsEXT.Buffer next(long value)
Sets the specified value to theXrEventDataPerfSettingsEXT.next()field.
-
domain
public XrEventDataPerfSettingsEXT.Buffer domain(int value)
Sets the specified value to theXrEventDataPerfSettingsEXT.domain()field.
-
subDomain
public XrEventDataPerfSettingsEXT.Buffer subDomain(int value)
Sets the specified value to theXrEventDataPerfSettingsEXT.subDomain()field.
-
fromLevel
public XrEventDataPerfSettingsEXT.Buffer fromLevel(int value)
Sets the specified value to theXrEventDataPerfSettingsEXT.fromLevel()field.
-
toLevel
public XrEventDataPerfSettingsEXT.Buffer toLevel(int value)
Sets the specified value to theXrEventDataPerfSettingsEXT.toLevel()field.
-
-