Package org.lwjgl.openvr
Class CompositorOverlaySettings.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<CompositorOverlaySettings,CompositorOverlaySettings.Buffer>
-
- org.lwjgl.openvr.CompositorOverlaySettings.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<CompositorOverlaySettings>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- CompositorOverlaySettings
public static class CompositorOverlaySettings.Buffer extends org.lwjgl.system.StructBuffer<CompositorOverlaySettings,CompositorOverlaySettings.Buffer> implements org.lwjgl.system.NativeResource
An array ofCompositorOverlaySettingsstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description floatalpha()Returns the value of thealphafield.CompositorOverlaySettings.Bufferalpha(float value)Sets the specified value to thealphafield.booleanantialias()Returns the value of theantialiasfield.CompositorOverlaySettings.Bufferantialias(boolean value)Sets the specified value to theantialiasfield.booleancurved()Returns the value of thecurvedfield.CompositorOverlaySettings.Buffercurved(boolean value)Sets the specified value to thecurvedfield.floatdistance()Returns the value of thedistancefield.CompositorOverlaySettings.Bufferdistance(float value)Sets the specified value to thedistancefield.floatgridDivs()Returns the value of thegridDivsfield.CompositorOverlaySettings.BuffergridDivs(float value)Sets the specified value to thegridDivsfield.floatgridScale()Returns the value of thegridScalefield.CompositorOverlaySettings.BuffergridScale(float value)Sets the specified value to thegridScalefield.floatgridWidth()Returns the value of thegridWidthfield.CompositorOverlaySettings.BuffergridWidth(float value)Sets the specified value to thegridWidthfield.floatscale()Returns the value of thescalefield.CompositorOverlaySettings.Bufferscale(float value)Sets the specified value to thescalefield.intsize()Returns the value of thesizefield.CompositorOverlaySettings.Buffersize(int value)Sets the specified value to thesizefield.HmdMatrix44transform()Returns aHmdMatrix44view of thetransformfield.CompositorOverlaySettings.Buffertransform(java.util.function.Consumer<HmdMatrix44> consumer)Passes thetransformfield to the specifiedConsumer.CompositorOverlaySettings.Buffertransform(HmdMatrix44 value)Copies the specifiedHmdMatrix44to thetransformfield.floatuOffset()Returns the value of theuOffsetfield.CompositorOverlaySettings.BufferuOffset(float value)Sets the specified value to theuOffsetfield.floatuScale()Returns the value of theuScalefield.CompositorOverlaySettings.BufferuScale(float value)Sets the specified value to theuScalefield.floatvOffset()Returns the value of thevOffsetfield.CompositorOverlaySettings.BuffervOffset(float value)Sets the specified value to thevOffsetfield.floatvScale()Returns the value of thevScalefield.CompositorOverlaySettings.BuffervScale(float value)Sets the specified value to thevScalefield.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newCompositorOverlaySettings.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 byCompositorOverlaySettings.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
-
size
public int size()
Returns the value of thesizefield.
-
curved
public boolean curved()
Returns the value of thecurvedfield.
-
antialias
public boolean antialias()
Returns the value of theantialiasfield.
-
scale
public float scale()
Returns the value of thescalefield.
-
distance
public float distance()
Returns the value of thedistancefield.
-
alpha
public float alpha()
Returns the value of thealphafield.
-
uOffset
public float uOffset()
Returns the value of theuOffsetfield.
-
vOffset
public float vOffset()
Returns the value of thevOffsetfield.
-
uScale
public float uScale()
Returns the value of theuScalefield.
-
vScale
public float vScale()
Returns the value of thevScalefield.
-
gridDivs
public float gridDivs()
Returns the value of thegridDivsfield.
-
gridWidth
public float gridWidth()
Returns the value of thegridWidthfield.
-
gridScale
public float gridScale()
Returns the value of thegridScalefield.
-
transform
public HmdMatrix44 transform()
Returns aHmdMatrix44view of thetransformfield.
-
size
public CompositorOverlaySettings.Buffer size(int value)
Sets the specified value to thesizefield.
-
curved
public CompositorOverlaySettings.Buffer curved(boolean value)
Sets the specified value to thecurvedfield.
-
antialias
public CompositorOverlaySettings.Buffer antialias(boolean value)
Sets the specified value to theantialiasfield.
-
scale
public CompositorOverlaySettings.Buffer scale(float value)
Sets the specified value to thescalefield.
-
distance
public CompositorOverlaySettings.Buffer distance(float value)
Sets the specified value to thedistancefield.
-
alpha
public CompositorOverlaySettings.Buffer alpha(float value)
Sets the specified value to thealphafield.
-
uOffset
public CompositorOverlaySettings.Buffer uOffset(float value)
Sets the specified value to theuOffsetfield.
-
vOffset
public CompositorOverlaySettings.Buffer vOffset(float value)
Sets the specified value to thevOffsetfield.
-
uScale
public CompositorOverlaySettings.Buffer uScale(float value)
Sets the specified value to theuScalefield.
-
vScale
public CompositorOverlaySettings.Buffer vScale(float value)
Sets the specified value to thevScalefield.
-
gridDivs
public CompositorOverlaySettings.Buffer gridDivs(float value)
Sets the specified value to thegridDivsfield.
-
gridWidth
public CompositorOverlaySettings.Buffer gridWidth(float value)
Sets the specified value to thegridWidthfield.
-
gridScale
public CompositorOverlaySettings.Buffer gridScale(float value)
Sets the specified value to thegridScalefield.
-
transform
public CompositorOverlaySettings.Buffer transform(HmdMatrix44 value)
Copies the specifiedHmdMatrix44to thetransformfield.
-
transform
public CompositorOverlaySettings.Buffer transform(java.util.function.Consumer<HmdMatrix44> consumer)
Passes thetransformfield to the specifiedConsumer.
-
-