Top Description Inners Fields Constructors Methods
org.lwjgl.ovr

public Class OVRLayerQuad

extends Struct<OVRLayerQuad>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable
Annotations
@NativeType:struct ovrLayerQuad
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*

Describes a layer of Quad type, which is a single quad in world or viewer space. It is used for both LayerType_Quad. This type of layer represents a single object placed in the world and not a stereo view of the world itself.

A typical use of LayerType_Quad is to draw a television screen in a room that for some reason is more convenient to draw as a layer than as part of the main view in layer 0. For example, it could implement a 3D popup GUI that is drawn at a higher resolution than layer 0 to improve fidelity of the GUI.

Quad layers are visible from both sides; they are not back-face culled.

Layout


struct ovrLayerQuad {
    ovrLayerHeader Header;
    ovrTextureSwapChain ColorTexture;
    ovrRecti Viewport;
    ovrPosef QuadPoseCenter;
    ovrVector2f QuadSize;
}

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
OVRLayerQuad.Buffer

An array of OVRLayerQuad structs.

Field Summary

Modifier and TypeField and Description
public static final int
ALIGNOF

The struct alignment in bytes.

public static final int
COLORTEXTURE

The struct member offsets.

public static final int
HEADER

The struct member offsets.

public static final int
QUADPOSECENTER

The struct member offsets.

public static final int
QUADSIZE

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

public static final int
VIEWPORT

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
OVRLayerQuad(long address, ByteBuffer container)

public
OVRLayerQuad(ByteBuffer container)

Creates a OVRLayerQuad instance at the current position of the specified ByteBuffer container.

Method Summary

Modifier and TypeMethod and Description
public static OVRLayerQuad
calloc()

Returns a new OVRLayerQuad instance allocated with memCalloc.

public static OVRLayerQuad.Buffer
calloc(int
the buffer capacity
capacity
)

Returns a new OVRLayerQuad.Buffer instance allocated with memCalloc.

public static OVRLayerQuad
calloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new OVRLayerQuad instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static OVRLayerQuad.Buffer
calloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new OVRLayerQuad.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static OVRLayerQuad
callocStack()

Deprecated
Deprecated for removal in 3.4.0.
public static OVRLayerQuad
callocStack(MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static OVRLayerQuad.Buffer
callocStack(int capacity)

Deprecated
Deprecated for removal in 3.4.0.
public static OVRLayerQuad.Buffer
callocStack(int capacity, MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public long
ColorTexture()

contains a single image, never with any stereo view

public OVRLayerQuad
ColorTexture(long value)

Sets the specified value to the ColorTexture field.

protected OVRLayerQuad
create(long
the struct memory address
address
,
ByteBuffer
an optional container buffer, to be referenced strongly by the struct instance.
container
)

Implements abstract org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.
public static OVRLayerQuad
create()

Returns a new OVRLayerQuad instance allocated with BufferUtils.

public static OVRLayerQuad
create(long address)

Returns a new OVRLayerQuad instance for the specified memory address.

public static OVRLayerQuad.Buffer
create(int
the buffer capacity
capacity
)

Returns a new OVRLayerQuad.Buffer instance allocated with BufferUtils.

public static OVRLayerQuad.Buffer
create(long
the memory address
address
,
int
the buffer capacity
capacity
)

Create a OVRLayerQuad.Buffer instance at the specified memory.

public static OVRLayerQuad
createSafe(long address)

Like create, but returns null if address is NULL.

public static OVRLayerQuad.Buffer
createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

public OVRLayerHeader
Header()

Header.Type must be LayerType_Quad

public OVRLayerQuad
Header(OVRLayerHeader value)

Copies the specified OVRLayerHeader to the Header field.

public OVRLayerQuad
Header(Consumer<OVRLayerHeader> consumer)

Passes the Header field to the specified Consumer.

public static OVRLayerQuad
malloc()

Returns a new OVRLayerQuad instance allocated with memAlloc.

public static OVRLayerQuad.Buffer
malloc(int
the buffer capacity
capacity
)

Returns a new OVRLayerQuad.Buffer instance allocated with memAlloc.

public static OVRLayerQuad
malloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new OVRLayerQuad instance allocated on the specified MemoryStack.

public static OVRLayerQuad.Buffer
malloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new OVRLayerQuad.Buffer instance allocated on the specified MemoryStack.

public static OVRLayerQuad
mallocStack()

Deprecated
Deprecated for removal in 3.4.0.
public static OVRLayerQuad
mallocStack(MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static OVRLayerQuad.Buffer
mallocStack(int capacity)

Deprecated
Deprecated for removal in 3.4.0.
public static OVRLayerQuad.Buffer
mallocStack(int capacity, MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static long
nColorTexture(long struct)

Unsafe version of ColorTexture.

public static void
nColorTexture(long struct, long value)

Unsafe version of ColorTexture.

public static OVRLayerHeader
nHeader(long struct)

Unsafe version of Header.

public static void
nHeader(long struct, OVRLayerHeader value)

Unsafe version of Header.

public static OVRPosef
nQuadPoseCenter(long struct)

Unsafe version of QuadPoseCenter.

public static void
nQuadPoseCenter(long struct, OVRPosef value)

Unsafe version of QuadPoseCenter.

public static OVRVector2f
nQuadSize(long struct)

Unsafe version of QuadSize.

public static void
nQuadSize(long struct, OVRVector2f value)

Unsafe version of QuadSize.

public static OVRRecti
nViewport(long struct)

Unsafe version of Viewport.

public static void
nViewport(long struct, OVRRecti value)

Unsafe version of Viewport.

public OVRPosef
QuadPoseCenter()

specifies the orientation and position of the center point of a Quad layer type.

public OVRLayerQuad
QuadPoseCenter(OVRPosef value)

Copies the specified OVRPosef to the QuadPoseCenter field.

public OVRLayerQuad
QuadPoseCenter(Consumer<OVRPosef> consumer)

Passes the QuadPoseCenter field to the specified Consumer.

public OVRVector2f
QuadSize()

width and height (respectively) of the quad in meters

public OVRLayerQuad
QuadSize(OVRVector2f value)

Copies the specified OVRVector2f to the QuadSize field.

public OVRLayerQuad
QuadSize(Consumer<OVRVector2f> consumer)

Passes the QuadSize field to the specified Consumer.

public OVRLayerQuad
set(OVRLayerHeader Header, long ColorTexture, OVRRecti Viewport, OVRPosef QuadPoseCenter, OVRVector2f QuadSize)

Initializes this struct with the specified values.

public OVRLayerQuad

Returns:

this struct
set
(OVRLayerQuad
the source struct
src
)

Copies the specified struct data to this struct.

public int
sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).
public static void
validate(long
the struct to validate
struct
)

Validates pointer members that should not be NULL.

public OVRRecti
Viewport()

specifies the ColorTexture sub-rect UV coordinates

public OVRLayerQuad
Viewport(OVRRecti value)

Copies the specified OVRRecti to the Viewport field.

public OVRLayerQuad
Viewport(Consumer<OVRRecti> consumer)

Passes the Viewport field to the specified Consumer.

Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate

Field Detail

ALIGNOFback to summary
public static final int ALIGNOF

The struct alignment in bytes.

COLORTEXTUREback to summary
public static final int COLORTEXTURE

The struct member offsets.

QUADPOSECENTERback to summary
public static final int QUADPOSECENTER

The struct member offsets.

QUADSIZEback to summary
public static final int QUADSIZE

The struct member offsets.

SIZEOFback to summary
public static final int SIZEOF

The struct size in bytes.

VIEWPORTback to summary
public static final int VIEWPORT

The struct member offsets.

Constructor Detail

OVRLayerQuadback to summary
protected OVRLayerQuad(long address, ByteBuffer container)
OVRLayerQuadback to summary
public OVRLayerQuad(ByteBuffer container)

Creates a OVRLayerQuad instance at the current position of the specified ByteBuffer container. 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

callocback to summary
public static OVRLayerQuad calloc()

Returns a new OVRLayerQuad instance allocated with memCalloc. The instance must be explicitly freed.

callocback to summary
public static OVRLayerQuad.Buffer calloc(int capacity)

Returns a new OVRLayerQuad.Buffer instance allocated with memCalloc. The instance must be explicitly freed.

Parameters
capacity:int

the buffer capacity

callocback to summary
public static OVRLayerQuad calloc(MemoryStack stack)

Returns a new OVRLayerQuad instance allocated on the specified MemoryStack and initializes all its bits to zero.

Parameters
stack:MemoryStack

the stack from which to allocate

callocback to summary
public static OVRLayerQuad.Buffer calloc(int capacity, MemoryStack stack)

Returns a new OVRLayerQuad.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

Parameters
capacity:int

the buffer capacity

stack:MemoryStack

the stack from which to allocate

callocStackback to summary
public static OVRLayerQuad callocStack()

Deprecated

Deprecated for removal in 3.4.0. Use calloc(MemoryStack) instead.

Annotations
@Deprecated
callocStackback to summary
public static OVRLayerQuad callocStack(MemoryStack stack)

Deprecated

Deprecated for removal in 3.4.0. Use calloc(MemoryStack) instead.

Annotations
@Deprecated
callocStackback to summary
public static OVRLayerQuad.Buffer callocStack(int capacity)

Deprecated

Deprecated for removal in 3.4.0. Use calloc(int, MemoryStack) instead.

Annotations
@Deprecated
callocStackback to summary
public static OVRLayerQuad.Buffer callocStack(int capacity, MemoryStack stack)

Deprecated

Deprecated for removal in 3.4.0. Use calloc(int, MemoryStack) instead.

Annotations
@Deprecated
ColorTextureback to summary
public long ColorTexture()

contains a single image, never with any stereo view

Annotations
@NativeType:ovrTextureSwapChain
ColorTextureback to summary
public OVRLayerQuad ColorTexture(long value)

Sets the specified value to the ColorTexture field.

createback to summary
protected OVRLayerQuad create(long address, ByteBuffer container)

Implements abstract org.lwjgl.system.Struct.create.

Doc from org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.

Effectively, every Struct instance is a factory for more instances of the same type. This is used by StructBuffer.

Parameters
address:long

the struct memory address

container:ByteBuffer

an optional container buffer, to be referenced strongly by the struct instance.

Annotations
@Override
createback to summary
public static OVRLayerQuad create()

Returns a new OVRLayerQuad instance allocated with BufferUtils.

createback to summary
public static OVRLayerQuad create(long address)

Returns a new OVRLayerQuad instance for the specified memory address.

createback to summary
public static OVRLayerQuad.Buffer create(int capacity)

Returns a new OVRLayerQuad.Buffer instance allocated with BufferUtils.

Parameters
capacity:int

the buffer capacity

createback to summary
public static OVRLayerQuad.Buffer create(long address, int capacity)

Create a OVRLayerQuad.Buffer instance at the specified memory.

Parameters
address:long

the memory address

capacity:int

the buffer capacity

createSafeback to summary
public static OVRLayerQuad createSafe(long address)

Like create, but returns null if address is NULL.

Annotations
@Nullable
createSafeback to summary
public static OVRLayerQuad.Buffer createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

Annotations
@Nullable
Headerback to summary
public OVRLayerHeader Header()

Header.Type must be LayerType_Quad

Annotations
@NativeType:ovrLayerHeader
Headerback to summary
public OVRLayerQuad Header(OVRLayerHeader value)

Copies the specified OVRLayerHeader to the Header field.

Headerback to summary
public OVRLayerQuad Header(Consumer<OVRLayerHeader> consumer)

Passes the Header field to the specified Consumer.

mallocback to summary
public static OVRLayerQuad malloc()

Returns a new OVRLayerQuad instance allocated with memAlloc. The instance must be explicitly freed.

mallocback to summary
public static OVRLayerQuad.Buffer malloc(int capacity)

Returns a new OVRLayerQuad.Buffer instance allocated with memAlloc. The instance must be explicitly freed.

Parameters
capacity:int

the buffer capacity

mallocback to summary
public static OVRLayerQuad malloc(MemoryStack stack)

Returns a new OVRLayerQuad instance allocated on the specified MemoryStack.

Parameters
stack:MemoryStack

the stack from which to allocate

mallocback to summary
public static OVRLayerQuad.Buffer malloc(int capacity, MemoryStack stack)

Returns a new OVRLayerQuad.Buffer instance allocated on the specified MemoryStack.

Parameters
capacity:int

the buffer capacity

stack:MemoryStack

the stack from which to allocate

mallocStackback to summary
public static OVRLayerQuad mallocStack()

Deprecated

Deprecated for removal in 3.4.0. Use malloc(MemoryStack) instead.

Annotations
@Deprecated
mallocStackback to summary
public static OVRLayerQuad mallocStack(MemoryStack stack)

Deprecated

Deprecated for removal in 3.4.0. Use malloc(MemoryStack) instead.

Annotations
@Deprecated
mallocStackback to summary
public static OVRLayerQuad.Buffer mallocStack(int capacity)

Deprecated

Deprecated for removal in 3.4.0. Use malloc(int, MemoryStack) instead.

Annotations
@Deprecated
mallocStackback to summary
public static OVRLayerQuad.Buffer mallocStack(int capacity, MemoryStack stack)

Deprecated

Deprecated for removal in 3.4.0. Use malloc(int, MemoryStack) instead.

Annotations
@Deprecated
nColorTextureback to summary
public static long nColorTexture(long struct)

Unsafe version of ColorTexture.

nColorTextureback to summary
public static void nColorTexture(long struct, long value)

Unsafe version of ColorTexture.

nHeaderback to summary
public static OVRLayerHeader nHeader(long struct)

Unsafe version of Header.

nHeaderback to summary
public static void nHeader(long struct, OVRLayerHeader value)

Unsafe version of Header.

nQuadPoseCenterback to summary
public static OVRPosef nQuadPoseCenter(long struct)

Unsafe version of QuadPoseCenter.

nQuadPoseCenterback to summary
public static void nQuadPoseCenter(long struct, OVRPosef value)

Unsafe version of QuadPoseCenter.

nQuadSizeback to summary
public static OVRVector2f nQuadSize(long struct)

Unsafe version of QuadSize.

nQuadSizeback to summary
public static void nQuadSize(long struct, OVRVector2f value)

Unsafe version of QuadSize.

nViewportback to summary
public static OVRRecti nViewport(long struct)

Unsafe version of Viewport.

nViewportback to summary
public static void nViewport(long struct, OVRRecti value)

Unsafe version of Viewport.

QuadPoseCenterback to summary
public OVRPosef QuadPoseCenter()

specifies the orientation and position of the center point of a Quad layer type.

The supplied direction is the vector perpendicular to the quad. The position is in real-world meters (not the application's virtual world, the physical world the user is in) and is relative to the "zero" position set by RecenterTrackingOrigin unless the LayerFlag_HeadLocked flag is used.

Annotations
@NativeType:ovrPosef
QuadPoseCenterback to summary
public OVRLayerQuad QuadPoseCenter(OVRPosef value)

Copies the specified OVRPosef to the QuadPoseCenter field.

QuadPoseCenterback to summary
public OVRLayerQuad QuadPoseCenter(Consumer<OVRPosef> consumer)

Passes the QuadPoseCenter field to the specified Consumer.

QuadSizeback to summary
public OVRVector2f QuadSize()

width and height (respectively) of the quad in meters

Annotations
@NativeType:ovrVector2f
QuadSizeback to summary
public OVRLayerQuad QuadSize(OVRVector2f value)

Copies the specified OVRVector2f to the QuadSize field.

QuadSizeback to summary
public OVRLayerQuad QuadSize(Consumer<OVRVector2f> consumer)

Passes the QuadSize field to the specified Consumer.

setback to summary
public OVRLayerQuad set(OVRLayerHeader Header, long ColorTexture, OVRRecti Viewport, OVRPosef QuadPoseCenter, OVRVector2f QuadSize)

Initializes this struct with the specified values.

setback to summary
public OVRLayerQuad set(OVRLayerQuad src)

Copies the specified struct data to this struct.

Parameters
src:OVRLayerQuad

the source struct

Returns:OVRLayerQuad

this struct

sizeofback to summary
public int sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Doc from org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).

Annotations
@Override
validateback to summary
public static void validate(long struct)

Validates pointer members that should not be NULL.

Parameters
struct:long

the struct to validate

Viewportback to summary
public OVRRecti Viewport()

specifies the ColorTexture sub-rect UV coordinates

Annotations
@NativeType:ovrRecti
Viewportback to summary
public OVRLayerQuad Viewport(OVRRecti value)

Copies the specified OVRRecti to the Viewport field.

Viewportback to summary
public OVRLayerQuad Viewport(Consumer<OVRRecti> consumer)

Passes the Viewport field to the specified Consumer.

org.lwjgl.ovr back to summary

public Class OVRLayerQuad.Buffer

extends StructBuffer<OVRLayerQuad, OVRLayerQuad.Buffer>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable

An array of OVRLayerQuad structs.

Field Summary

Modifier and TypeField and Description
private static final OVRLayerQuad

Constructor Summary

AccessConstructor and Description
public
Buffer(ByteBuffer container)

Creates a new OVRLayerQuad.Buffer instance backed by the specified container.

public
Buffer(long address, int cap)

pack-priv
Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Summary

Modifier and TypeMethod and Description
public long

Returns:

the value of the OVRLayerQuad#ColorTexture field.
ColorTexture
()

public OVRLayerQuad.Buffer
ColorTexture(long value)

Sets the specified value to the OVRLayerQuad#ColorTexture field.

protected OVRLayerQuad
public OVRLayerHeader

Returns:

a OVRLayerHeader view of the OVRLayerQuad#Header field.
Header
()

public OVRLayerQuad.Buffer
Header(OVRLayerHeader value)

Copies the specified OVRLayerHeader to the OVRLayerQuad#Header field.

public OVRLayerQuad.Buffer
Header(Consumer<OVRLayerHeader> consumer)

Passes the OVRLayerQuad#Header field to the specified Consumer.

public OVRPosef

Returns:

a OVRPosef view of the OVRLayerQuad#QuadPoseCenter field.
QuadPoseCenter
()

public OVRLayerQuad.Buffer
QuadPoseCenter(OVRPosef value)

Copies the specified OVRPosef to the OVRLayerQuad#QuadPoseCenter field.

public OVRLayerQuad.Buffer
QuadPoseCenter(Consumer<OVRPosef> consumer)

Passes the OVRLayerQuad#QuadPoseCenter field to the specified Consumer.

public OVRVector2f

Returns:

a OVRVector2f view of the OVRLayerQuad#QuadSize field.
QuadSize
()

public OVRLayerQuad.Buffer
QuadSize(OVRVector2f value)

Copies the specified OVRVector2f to the OVRLayerQuad#QuadSize field.

public OVRLayerQuad.Buffer
QuadSize(Consumer<OVRVector2f> consumer)

Passes the OVRLayerQuad#QuadSize field to the specified Consumer.

protected OVRLayerQuad.Buffer
public OVRRecti

Returns:

a OVRRecti view of the OVRLayerQuad#Viewport field.
Viewport
()

public OVRLayerQuad.Buffer
Viewport(OVRRecti value)

Copies the specified OVRRecti to the OVRLayerQuad#Viewport field.

public OVRLayerQuad.Buffer
Viewport(Consumer<OVRRecti> consumer)

Passes the OVRLayerQuad#Viewport field to the specified Consumer.

Inherited from org.lwjgl.system.StructBuffer:
applyapplyforEachgetgetgetgetiteratorparallelStreamputputsizeofspliteratorstream

Field Detail

ELEMENT_FACTORYback to summary
private static final OVRLayerQuad ELEMENT_FACTORY

Constructor Detail

Bufferback to summary
public Buffer(ByteBuffer container)

Creates a new OVRLayerQuad.Buffer instance 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 by OVRLayerQuad#SIZEOF, and its mark will be undefined.

The created buffer instance holds a strong reference to the container object.

Bufferback to summary
public Buffer(long address, int cap)
Bufferback to summary
pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Detail

ColorTextureback to summary
public long ColorTexture()
Returns:long

the value of the OVRLayerQuad#ColorTexture field.

Annotations
@NativeType:ovrTextureSwapChain
ColorTextureback to summary
public OVRLayerQuad.Buffer ColorTexture(long value)

Sets the specified value to the OVRLayerQuad#ColorTexture field.

getElementFactoryback to summary
protected OVRLayerQuad getElementFactory()

Implements abstract org.lwjgl.system.StructBuffer.getElementFactory.

Annotations
@Override
Headerback to summary
public OVRLayerHeader Header()
Returns:OVRLayerHeader

a OVRLayerHeader view of the OVRLayerQuad#Header field.

Annotations
@NativeType:ovrLayerHeader
Headerback to summary
public OVRLayerQuad.Buffer Header(OVRLayerHeader value)

Copies the specified OVRLayerHeader to the OVRLayerQuad#Header field.

Headerback to summary
public OVRLayerQuad.Buffer Header(Consumer<OVRLayerHeader> consumer)

Passes the OVRLayerQuad#Header field to the specified Consumer.

QuadPoseCenterback to summary
public OVRPosef QuadPoseCenter()
Returns:OVRPosef

a OVRPosef view of the OVRLayerQuad#QuadPoseCenter field.

Annotations
@NativeType:ovrPosef
QuadPoseCenterback to summary
public OVRLayerQuad.Buffer QuadPoseCenter(OVRPosef value)

Copies the specified OVRPosef to the OVRLayerQuad#QuadPoseCenter field.

QuadPoseCenterback to summary
public OVRLayerQuad.Buffer QuadPoseCenter(Consumer<OVRPosef> consumer)

Passes the OVRLayerQuad#QuadPoseCenter field to the specified Consumer.

QuadSizeback to summary
public OVRVector2f QuadSize()
Returns:OVRVector2f

a OVRVector2f view of the OVRLayerQuad#QuadSize field.

Annotations
@NativeType:ovrVector2f
QuadSizeback to summary
public OVRLayerQuad.Buffer QuadSize(OVRVector2f value)

Copies the specified OVRVector2f to the OVRLayerQuad#QuadSize field.

QuadSizeback to summary
public OVRLayerQuad.Buffer QuadSize(Consumer<OVRVector2f> consumer)

Passes the OVRLayerQuad#QuadSize field to the specified Consumer.

selfback to summary
protected OVRLayerQuad.Buffer self()

Implements abstract org.lwjgl.system.CustomBuffer.self.

Annotations
@Override
Viewportback to summary
public OVRRecti Viewport()
Returns:OVRRecti

a OVRRecti view of the OVRLayerQuad#Viewport field.

Annotations
@NativeType:ovrRecti
Viewportback to summary
public OVRLayerQuad.Buffer Viewport(OVRRecti value)

Copies the specified OVRRecti to the OVRLayerQuad#Viewport field.

Viewportback to summary
public OVRLayerQuad.Buffer Viewport(Consumer<OVRRecti> consumer)

Passes the OVRLayerQuad#Viewport field to the specified Consumer.