Package org.lwjgl.ovr
Class OVRTextureSwapChainDesc.Buffer
- java.lang.Object
-
- org.lwjgl.system.StructBuffer<OVRTextureSwapChainDesc,OVRTextureSwapChainDesc.Buffer>
-
- org.lwjgl.ovr.OVRTextureSwapChainDesc.Buffer
-
- All Implemented Interfaces:
- java.lang.AutoCloseable, NativeResource, Pointer
- Enclosing class:
- OVRTextureSwapChainDesc
public static final class OVRTextureSwapChainDesc.Buffer extends StructBuffer<OVRTextureSwapChainDesc,OVRTextureSwapChainDesc.Buffer>
An array ofOVRTextureSwapChainDescstructs.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
-
Field Summary
-
Fields inherited from interface org.lwjgl.system.Pointer
POINTER_SHIFT, POINTER_SIZE
-
-
Constructor Summary
Constructors Constructor and Description Buffer(java.nio.ByteBuffer container)Creates a newOVRTextureSwapChainDesc.Bufferinstance backed by the specified container.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description intArraySize()Returns the value of theArraySizefield.OVRTextureSwapChainDesc.BufferArraySize(int value)Sets the specified value to theArraySizefield.intBindFlags()Returns the value of theBindFlagsfield.OVRTextureSwapChainDesc.BufferBindFlags(int value)Sets the specified value to theBindFlagsfield.intFormat()Returns the value of theFormatfield.OVRTextureSwapChainDesc.BufferFormat(int value)Sets the specified value to theFormatfield.intHeight()Returns the value of theHeightfield.OVRTextureSwapChainDesc.BufferHeight(int value)Sets the specified value to theHeightfield.intMipLevels()Returns the value of theMipLevelsfield.OVRTextureSwapChainDesc.BufferMipLevels(int value)Sets the specified value to theMipLevelsfield.intMiscFlags()Returns the value of theMiscFlagsfield.OVRTextureSwapChainDesc.BufferMiscFlags(int value)Sets the specified value to theMiscFlagsfield.intSampleCount()Returns the value of theSampleCountfield.OVRTextureSwapChainDesc.BufferSampleCount(int value)Sets the specified value to theSampleCountfield.booleanStaticImage()Returns the value of theStaticImagefield.OVRTextureSwapChainDesc.BufferStaticImage(boolean value)Sets the specified value to theStaticImagefield.intType()Returns the value of theTypefield.OVRTextureSwapChainDesc.BufferType(int value)Sets the specified value to theTypefield.intWidth()Returns the value of theWidthfield.OVRTextureSwapChainDesc.BufferWidth(int value)Sets the specified value to theWidthfield.-
Methods inherited from class org.lwjgl.system.StructBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, get, get, get, get, hasRemaining, limit, limit, mark, position, position, put, put, put, remaining, reset, rewind, slice, slice, toString
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.lwjgl.system.NativeResource
close
-
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newOVRTextureSwapChainDesc.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 byOVRTextureSwapChainDesc.SIZEOF, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
-
Method Detail
-
Type
public int Type()
Returns the value of theTypefield.
-
Format
public int Format()
Returns the value of theFormatfield.
-
ArraySize
public int ArraySize()
Returns the value of theArraySizefield.
-
Width
public int Width()
Returns the value of theWidthfield.
-
Height
public int Height()
Returns the value of theHeightfield.
-
MipLevels
public int MipLevels()
Returns the value of theMipLevelsfield.
-
SampleCount
public int SampleCount()
Returns the value of theSampleCountfield.
-
StaticImage
public boolean StaticImage()
Returns the value of theStaticImagefield.
-
MiscFlags
public int MiscFlags()
Returns the value of theMiscFlagsfield.
-
BindFlags
public int BindFlags()
Returns the value of theBindFlagsfield.
-
Type
public OVRTextureSwapChainDesc.Buffer Type(int value)
Sets the specified value to theTypefield.
-
Format
public OVRTextureSwapChainDesc.Buffer Format(int value)
Sets the specified value to theFormatfield.
-
ArraySize
public OVRTextureSwapChainDesc.Buffer ArraySize(int value)
Sets the specified value to theArraySizefield.
-
Width
public OVRTextureSwapChainDesc.Buffer Width(int value)
Sets the specified value to theWidthfield.
-
Height
public OVRTextureSwapChainDesc.Buffer Height(int value)
Sets the specified value to theHeightfield.
-
MipLevels
public OVRTextureSwapChainDesc.Buffer MipLevels(int value)
Sets the specified value to theMipLevelsfield.
-
SampleCount
public OVRTextureSwapChainDesc.Buffer SampleCount(int value)
Sets the specified value to theSampleCountfield.
-
StaticImage
public OVRTextureSwapChainDesc.Buffer StaticImage(boolean value)
Sets the specified value to theStaticImagefield.
-
MiscFlags
public OVRTextureSwapChainDesc.Buffer MiscFlags(int value)
Sets the specified value to theMiscFlagsfield.
-
BindFlags
public OVRTextureSwapChainDesc.Buffer BindFlags(int value)
Sets the specified value to theBindFlagsfield.
-
-