Package org.lwjgl.openxr
Class XrPassthroughColorMapMonoToRgbaFB.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<XrPassthroughColorMapMonoToRgbaFB,XrPassthroughColorMapMonoToRgbaFB.Buffer>
-
- org.lwjgl.openxr.XrPassthroughColorMapMonoToRgbaFB.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<XrPassthroughColorMapMonoToRgbaFB>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- XrPassthroughColorMapMonoToRgbaFB
public static class XrPassthroughColorMapMonoToRgbaFB.Buffer extends org.lwjgl.system.StructBuffer<XrPassthroughColorMapMonoToRgbaFB,XrPassthroughColorMapMonoToRgbaFB.Buffer> implements org.lwjgl.system.NativeResource
An array ofXrPassthroughColorMapMonoToRgbaFBstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longnext()XrPassthroughColorMapMonoToRgbaFB.Buffernext(long value)Sets the specified value to thenextfield.XrColor4f.BuffertextureColorMap()XrColor4ftextureColorMap(int index)XrPassthroughColorMapMonoToRgbaFB.BuffertextureColorMap(int index, java.util.function.Consumer<XrColor4f> consumer)Passes the element atindexof thetextureColorMapfield to the specifiedConsumer.XrPassthroughColorMapMonoToRgbaFB.BuffertextureColorMap(int index, XrColor4f value)Copies the specifiedXrColor4fat the specified index of thetextureColorMapfield.XrPassthroughColorMapMonoToRgbaFB.BuffertextureColorMap(java.util.function.Consumer<XrColor4f.Buffer> consumer)Passes thetextureColorMapfield to the specifiedConsumer.XrPassthroughColorMapMonoToRgbaFB.BuffertextureColorMap(XrColor4f.Buffer value)Copies the specifiedXrColor4f.Bufferto thetextureColorMapfield.inttype()XrPassthroughColorMapMonoToRgbaFB.Buffertype(int value)Sets the specified value to thetypefield.XrPassthroughColorMapMonoToRgbaFB.Buffertype$Default()Sets theTYPE_PASSTHROUGH_COLOR_MAP_MONO_TO_RGBA_FBvalue to thetypefield.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newXrPassthroughColorMapMonoToRgbaFB.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 byXrPassthroughColorMapMonoToRgbaFB.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
typefield.
-
next
public long next()
- Returns:
- the value of the
nextfield.
-
textureColorMap
public XrColor4f.Buffer textureColorMap()
- Returns:
- a
XrColor4f.Buffer view of thetextureColorMapfield.
-
textureColorMap
public XrColor4f textureColorMap(int index)
- Returns:
- a
XrColor4fview of the struct at the specified index of thetextureColorMapfield.
-
type
public XrPassthroughColorMapMonoToRgbaFB.Buffer type(int value)
Sets the specified value to thetypefield.
-
type$Default
public XrPassthroughColorMapMonoToRgbaFB.Buffer type$Default()
Sets theTYPE_PASSTHROUGH_COLOR_MAP_MONO_TO_RGBA_FBvalue to thetypefield.
-
next
public XrPassthroughColorMapMonoToRgbaFB.Buffer next(long value)
Sets the specified value to thenextfield.
-
textureColorMap
public XrPassthroughColorMapMonoToRgbaFB.Buffer textureColorMap(XrColor4f.Buffer value)
Copies the specifiedXrColor4f.Bufferto thetextureColorMapfield.
-
textureColorMap
public XrPassthroughColorMapMonoToRgbaFB.Buffer textureColorMap(int index, XrColor4f value)
Copies the specifiedXrColor4fat the specified index of thetextureColorMapfield.
-
textureColorMap
public XrPassthroughColorMapMonoToRgbaFB.Buffer textureColorMap(java.util.function.Consumer<XrColor4f.Buffer> consumer)
Passes thetextureColorMapfield to the specifiedConsumer.
-
textureColorMap
public XrPassthroughColorMapMonoToRgbaFB.Buffer textureColorMap(int index, java.util.function.Consumer<XrColor4f> consumer)
Passes the element atindexof thetextureColorMapfield to the specifiedConsumer.
-
-