Package org.lwjgl.ovr
Class OVRTextureSwapChainDesc.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<OVRTextureSwapChainDesc,OVRTextureSwapChainDesc.Buffer>
-
- org.lwjgl.ovr.OVRTextureSwapChainDesc.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<OVRTextureSwapChainDesc>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- OVRTextureSwapChainDesc
public static class OVRTextureSwapChainDesc.Buffer extends org.lwjgl.system.StructBuffer<OVRTextureSwapChainDesc,OVRTextureSwapChainDesc.Buffer> implements org.lwjgl.system.NativeResource
An array ofOVRTextureSwapChainDescstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intArraySize()OVRTextureSwapChainDesc.BufferArraySize(int value)Sets the specified value to theOVRTextureSwapChainDesc.ArraySize()field.intBindFlags()OVRTextureSwapChainDesc.BufferBindFlags(int value)Sets the specified value to theOVRTextureSwapChainDesc.BindFlags()field.intFormat()OVRTextureSwapChainDesc.BufferFormat(int value)Sets the specified value to theOVRTextureSwapChainDesc.Format()field.intHeight()OVRTextureSwapChainDesc.BufferHeight(int value)Sets the specified value to theHeightfield.intMipLevels()OVRTextureSwapChainDesc.BufferMipLevels(int value)Sets the specified value to theMipLevelsfield.intMiscFlags()OVRTextureSwapChainDesc.BufferMiscFlags(int value)Sets the specified value to theOVRTextureSwapChainDesc.MiscFlags()field.intSampleCount()OVRTextureSwapChainDesc.BufferSampleCount(int value)Sets the specified value to theSampleCountfield.booleanStaticImage()OVRTextureSwapChainDesc.BufferStaticImage(boolean value)Sets the specified value to theOVRTextureSwapChainDesc.StaticImage()field.intType()OVRTextureSwapChainDesc.BufferType(int value)Sets the specified value to theOVRTextureSwapChainDesc.Type()field.intWidth()OVRTextureSwapChainDesc.BufferWidth(int value)Sets the specified value to theWidthfield.
-
-
-
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.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Detail
-
Type
public int Type()
- Returns:
- the value of the
OVRTextureSwapChainDesc.Type()field.
-
Format
public int Format()
- Returns:
- the value of the
OVRTextureSwapChainDesc.Format()field.
-
ArraySize
public int ArraySize()
- Returns:
- the value of the
OVRTextureSwapChainDesc.ArraySize()field.
-
Width
public int Width()
- Returns:
- the value of the
Widthfield.
-
Height
public int Height()
- Returns:
- the value of the
Heightfield.
-
MipLevels
public int MipLevels()
- Returns:
- the value of the
MipLevelsfield.
-
SampleCount
public int SampleCount()
- Returns:
- the value of the
SampleCountfield.
-
StaticImage
public boolean StaticImage()
- Returns:
- the value of the
OVRTextureSwapChainDesc.StaticImage()field.
-
MiscFlags
public int MiscFlags()
- Returns:
- the value of the
OVRTextureSwapChainDesc.MiscFlags()field.
-
BindFlags
public int BindFlags()
- Returns:
- the value of the
OVRTextureSwapChainDesc.BindFlags()field.
-
Type
public OVRTextureSwapChainDesc.Buffer Type(int value)
Sets the specified value to theOVRTextureSwapChainDesc.Type()field.
-
Format
public OVRTextureSwapChainDesc.Buffer Format(int value)
Sets the specified value to theOVRTextureSwapChainDesc.Format()field.
-
ArraySize
public OVRTextureSwapChainDesc.Buffer ArraySize(int value)
Sets the specified value to theOVRTextureSwapChainDesc.ArraySize()field.
-
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 theOVRTextureSwapChainDesc.StaticImage()field.
-
MiscFlags
public OVRTextureSwapChainDesc.Buffer MiscFlags(int value)
Sets the specified value to theOVRTextureSwapChainDesc.MiscFlags()field.
-
BindFlags
public OVRTextureSwapChainDesc.Buffer BindFlags(int value)
Sets the specified value to theOVRTextureSwapChainDesc.BindFlags()field.
-
-