Package org.lwjgl.ovr
Class OVRBoundaryLookAndFeel
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.ovr.OVRBoundaryLookAndFeel
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class OVRBoundaryLookAndFeel extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceBoundary system look and feel.Member documentation
Color– Boundary color (alpha channel is ignored)
Layout
struct ovrBoundaryLookAndFeel {ovrColorfColor; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOVRBoundaryLookAndFeel.BufferAn array ofOVRBoundaryLookAndFeelstructs.
-
Constructor Summary
Constructors Constructor Description OVRBoundaryLookAndFeel(java.nio.ByteBuffer container)Creates aOVRBoundaryLookAndFeelinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OVRBoundaryLookAndFeelcalloc()Returns a newOVRBoundaryLookAndFeelinstance allocated withmemCalloc.static OVRBoundaryLookAndFeel.Buffercalloc(int capacity)Returns a newOVRBoundaryLookAndFeel.Bufferinstance allocated withmemCalloc.static OVRBoundaryLookAndFeelcallocStack()Returns a newOVRBoundaryLookAndFeelinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static OVRBoundaryLookAndFeel.BuffercallocStack(int capacity)Returns a newOVRBoundaryLookAndFeel.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static OVRBoundaryLookAndFeel.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newOVRBoundaryLookAndFeel.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static OVRBoundaryLookAndFeelcallocStack(org.lwjgl.system.MemoryStack stack)Returns a newOVRBoundaryLookAndFeelinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.OVRColorfColor()Returns aOVRColorfview of theColorfield.OVRBoundaryLookAndFeelColor(java.util.function.Consumer<OVRColorf> consumer)Passes theColorfield to the specifiedConsumer.OVRBoundaryLookAndFeelColor(OVRColorf value)Copies the specifiedOVRColorfto theColorfield.static OVRBoundaryLookAndFeelcreate()Returns a newOVRBoundaryLookAndFeelinstance allocated withBufferUtils.static OVRBoundaryLookAndFeel.Buffercreate(int capacity)Returns a newOVRBoundaryLookAndFeel.Bufferinstance allocated withBufferUtils.static OVRBoundaryLookAndFeelcreate(long address)Returns a newOVRBoundaryLookAndFeelinstance for the specified memory address.static OVRBoundaryLookAndFeel.Buffercreate(long address, int capacity)Create aOVRBoundaryLookAndFeel.Bufferinstance at the specified memory.static OVRBoundaryLookAndFeelcreateSafe(long address)static OVRBoundaryLookAndFeel.BuffercreateSafe(long address, int capacity)static OVRBoundaryLookAndFeelmalloc()Returns a newOVRBoundaryLookAndFeelinstance allocated withmemAlloc.static OVRBoundaryLookAndFeel.Buffermalloc(int capacity)Returns a newOVRBoundaryLookAndFeel.Bufferinstance allocated withmemAlloc.static OVRBoundaryLookAndFeelmallocStack()Returns a newOVRBoundaryLookAndFeelinstance allocated on the thread-localMemoryStack.static OVRBoundaryLookAndFeel.BuffermallocStack(int capacity)Returns a newOVRBoundaryLookAndFeel.Bufferinstance allocated on the thread-localMemoryStack.static OVRBoundaryLookAndFeel.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newOVRBoundaryLookAndFeel.Bufferinstance allocated on the specifiedMemoryStack.static OVRBoundaryLookAndFeelmallocStack(org.lwjgl.system.MemoryStack stack)Returns a newOVRBoundaryLookAndFeelinstance allocated on the specifiedMemoryStack.static OVRColorfnColor(long struct)Unsafe version ofColor().static voidnColor(long struct, OVRColorf value)Unsafe version ofColor.OVRBoundaryLookAndFeelset(OVRBoundaryLookAndFeel src)Copies the specified struct data to this struct.intsizeof()
-
-
-
Constructor Detail
-
OVRBoundaryLookAndFeel
public OVRBoundaryLookAndFeel(java.nio.ByteBuffer container)
Creates aOVRBoundaryLookAndFeelinstance at the current position of the specifiedByteBuffercontainer. Changes to the buffer's content will be visible to the struct instance and vice versa.The created instance holds a strong reference to the container object.
-
-
Method Detail
-
sizeof
public int sizeof()
- Specified by:
sizeofin classorg.lwjgl.system.Struct
-
Color
public OVRBoundaryLookAndFeel Color(OVRColorf value)
Copies the specifiedOVRColorfto theColorfield.
-
Color
public OVRBoundaryLookAndFeel Color(java.util.function.Consumer<OVRColorf> consumer)
Passes theColorfield to the specifiedConsumer.
-
set
public OVRBoundaryLookAndFeel set(OVRBoundaryLookAndFeel src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static OVRBoundaryLookAndFeel malloc()
Returns a newOVRBoundaryLookAndFeelinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static OVRBoundaryLookAndFeel calloc()
Returns a newOVRBoundaryLookAndFeelinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static OVRBoundaryLookAndFeel create()
Returns a newOVRBoundaryLookAndFeelinstance allocated withBufferUtils.
-
create
public static OVRBoundaryLookAndFeel create(long address)
Returns a newOVRBoundaryLookAndFeelinstance for the specified memory address.
-
createSafe
@Nullable public static OVRBoundaryLookAndFeel createSafe(long address)
-
malloc
public static OVRBoundaryLookAndFeel.Buffer malloc(int capacity)
Returns a newOVRBoundaryLookAndFeel.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static OVRBoundaryLookAndFeel.Buffer calloc(int capacity)
Returns a newOVRBoundaryLookAndFeel.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static OVRBoundaryLookAndFeel.Buffer create(int capacity)
Returns a newOVRBoundaryLookAndFeel.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static OVRBoundaryLookAndFeel.Buffer create(long address, int capacity)
Create aOVRBoundaryLookAndFeel.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static OVRBoundaryLookAndFeel.Buffer createSafe(long address, int capacity)
-
mallocStack
public static OVRBoundaryLookAndFeel mallocStack()
Returns a newOVRBoundaryLookAndFeelinstance allocated on the thread-localMemoryStack.
-
callocStack
public static OVRBoundaryLookAndFeel callocStack()
Returns a newOVRBoundaryLookAndFeelinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.
-
mallocStack
public static OVRBoundaryLookAndFeel mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newOVRBoundaryLookAndFeelinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
callocStack
public static OVRBoundaryLookAndFeel callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newOVRBoundaryLookAndFeelinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
mallocStack
public static OVRBoundaryLookAndFeel.Buffer mallocStack(int capacity)
Returns a newOVRBoundaryLookAndFeel.Bufferinstance allocated on the thread-localMemoryStack.- Parameters:
capacity- the buffer capacity
-
callocStack
public static OVRBoundaryLookAndFeel.Buffer callocStack(int capacity)
Returns a newOVRBoundaryLookAndFeel.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacity
-
mallocStack
public static OVRBoundaryLookAndFeel.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newOVRBoundaryLookAndFeel.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
callocStack
public static OVRBoundaryLookAndFeel.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newOVRBoundaryLookAndFeel.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-