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.NativeResource
-
-
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 Deprecated 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 OVRBoundaryLookAndFeel.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newOVRBoundaryLookAndFeel.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static OVRBoundaryLookAndFeelcalloc(org.lwjgl.system.MemoryStack stack)Returns a newOVRBoundaryLookAndFeelinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static OVRBoundaryLookAndFeelcallocStack()Deprecated.static OVRBoundaryLookAndFeel.BuffercallocStack(int capacity)Deprecated.static OVRBoundaryLookAndFeel.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static OVRBoundaryLookAndFeelcallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.OVRColorfColor()Boundary color (alpha channel is ignored)OVRBoundaryLookAndFeelColor(java.util.function.Consumer<OVRColorf> consumer)Passes theColor()field to the specifiedConsumer.OVRBoundaryLookAndFeelColor(OVRColorf value)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 OVRBoundaryLookAndFeel.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newOVRBoundaryLookAndFeel.Bufferinstance allocated on the specifiedMemoryStack.static OVRBoundaryLookAndFeelmalloc(org.lwjgl.system.MemoryStack stack)Returns a newOVRBoundaryLookAndFeelinstance allocated on the specifiedMemoryStack.static OVRBoundaryLookAndFeelmallocStack()Deprecated.static OVRBoundaryLookAndFeel.BuffermallocStack(int capacity)Deprecated.static OVRBoundaryLookAndFeel.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static OVRBoundaryLookAndFeelmallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.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 OVRColorf Color()
Boundary color (alpha channel is ignored)
-
Color
public OVRBoundaryLookAndFeel Color(OVRColorf value)
-
Color
public OVRBoundaryLookAndFeel Color(java.util.function.Consumer<OVRColorf> consumer)
Passes theColor()field 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
@Deprecated public static OVRBoundaryLookAndFeel mallocStack()
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static OVRBoundaryLookAndFeel callocStack()
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static OVRBoundaryLookAndFeel mallocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static OVRBoundaryLookAndFeel callocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static OVRBoundaryLookAndFeel.Buffer mallocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static OVRBoundaryLookAndFeel.Buffer callocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
mallocStack
@Deprecated public static OVRBoundaryLookAndFeel.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static OVRBoundaryLookAndFeel.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
malloc
public static OVRBoundaryLookAndFeel malloc(org.lwjgl.system.MemoryStack stack)
Returns a newOVRBoundaryLookAndFeelinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static OVRBoundaryLookAndFeel calloc(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
-
malloc
public static OVRBoundaryLookAndFeel.Buffer malloc(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
-
calloc
public static OVRBoundaryLookAndFeel.Buffer calloc(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
-
-